Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.63.4 #39607

Closed
wants to merge 74 commits into from
Closed

0.63.4 #39607

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
696fb55
Update default Podfile to not depend on a path (#28572)
grabbou Apr 9, 2020
b191809
chore: update CLI
grabbou Apr 14, 2020
5f7b44c
fix: do not throw on missing `cliPath`, use the default value (#28625)
grabbou Apr 15, 2020
7acd667
chore: remove Kotlin version from the default template
grabbou Apr 16, 2020
787a772
(eslint-config) update community eslint plugin in eslint config (#28642)
Naturalclar Apr 16, 2020
e2dd18d
[0.63.0-rc.0] Bump version numbers
grabbou Apr 16, 2020
ff1558d
Upgrade Hermes dependency to 0.5.0
willholen Apr 14, 2020
87f5b8b
Remove the post install step (#28651)
priteshrnandgaonkar Apr 16, 2020
18f1c69
Allow iOS PlatformColor strings to be ObjC or Swift UIColor selectors…
tom-un Apr 21, 2020
b645f23
Fix folly::dynamic crash when attaching a debugger to Hermes
willholen Apr 23, 2020
5e51e54
Update react.gradle (#28776)
grabbou Apr 28, 2020
574447a
Revert D21064653: Remove the post install step
elicwhite Apr 16, 2020
208bd05
Bump @react-native-community/eslint-config in new app template
elicwhite May 1, 2020
48413a4
[0.63.0-rc.1] Bump version numbers
grabbou May 4, 2020
27ccc60
Upgrade Flipper to 0.37.0 (#28545)
sunnylqm Apr 22, 2020
29639e7
Enable with CocoaPods `:configuration` (#28796)
alloy May 7, 2020
262a3f6
Pressable: Rename pressRectOffset to pressRetentionOffset to be consi…
elicwhite May 13, 2020
fb429a5
iOS: Fix Animated image crash when CADisplayLink target in RCTWeakPro…
p-sun May 13, 2020
0b6fad6
Pressable: Add Support for Inspector Overlay
yungsters May 18, 2020
0225f18
Changed iOS LaunchScreen from xib to storyboard (#28239)
jeswinsimon Apr 16, 2020
6ed1b39
Fix debugging on android for 0.63 (#29204)
devon94 Jul 7, 2020
4f89733
[0.63.0] Bump version numbers
grabbou Jul 8, 2020
484a5ea
Add ProGuard rule for hermes (#28571)
radko93 Apr 9, 2020
99fc293
Fix rounded border drawing when border-radius is smaller than border-…
IjzerenHein Apr 20, 2020
cab16e4
Fix border-stroke drawing after resetting border-radius (#28356)
IjzerenHein Apr 20, 2020
8c1718c
Fixes TextInput shaking when typing Chinese (#28805)
zhongwuzw May 4, 2020
5394c90
Set black as default text color for <TextInput/> on iOS (#28708)
JonnyBurger Apr 23, 2020
7d10965
Enable array buffers in JSCRuntime.cpp (#28961)
ryantrem Jun 9, 2020
5136fca
Fix font variant crash on Android < 4.4 (#29176)
Almouro Jul 2, 2020
bb91f4a
Fix LogBox.ignoreAllLogs used with no argument (#29310)
rickhanlonii Jul 9, 2020
49b2a6e
Pressable: Minimum Press Duration
yungsters May 19, 2020
ab211fa
chore: bring back script to org shape
grabbou Jul 14, 2020
ce0fd0a
[0.63.1] Bump version numbers
grabbou Jul 14, 2020
a642c3f
Exclude okhttp from flipper dependency (#29260)
Shywim Jul 14, 2020
42658cf
Send key when onKeyPress event is fired from TextInput
sammy-SC Apr 27, 2020
1f7b0b3
Calling Paper TextInput setTextAndSelection view command now dirties …
sammy-SC Apr 27, 2020
b5fd5d0
Remove setMostRecentEventCount from TextInput view commands
sammy-SC Apr 14, 2020
30b4d15
Restore Previous Behavior for StyleSheet Validation of Null/Undefined…
NickGerleman Jun 25, 2020
d4b6e02
Set windowTranslucentNavigation to false (#29399)
Ashoat Jul 20, 2020
b6ded72
Fix image cannot show in iOS 14 (#29420)
Jul 20, 2020
3c9e5f1
[0.63.2] Bump version numbers
grabbou Jul 22, 2020
98309fa
Touchable: Revert `minPressDuration` on Legacy Components
yungsters May 21, 2020
0042d96
keyboardDidHide wrong screenY coordinates with windowTranslucentStatu…
fabOnReact Jul 15, 2020
2903a29
Prefetch images using a lower download priority
p-sun Jun 6, 2020
2c5d4cb
Remove requestToken being nil check from [RCTNetworkTask validateRequ…
sammy-SC Jul 28, 2020
73747e6
Fix iOS Image.getSizeWithHeaders (#29338)
PaitoAnderson Jul 28, 2020
c72ecdb
Make flipper pods configurations configurable (#29074)
nicoburns Jul 29, 2020
e62b57e
Fix Xiaomi TextInput crash in native
luluwu2032 Aug 28, 2020
29e1775
Pressability: Remove Default Press Delay
yungsters Sep 11, 2020
66c8cd3
Update Flipper (#29787)
mweststrate Sep 18, 2020
ad6005f
Fix Xcode bundler in staging and release (#29477)
Sep 22, 2020
e4ec71a
Make React-Core compatible with Swift modules (#29995)
alloy Sep 23, 2020
0979597
Do not override decoders to RCTImageLoader (#29711)
sjchmiela Sep 24, 2020
8d8b61a
Fix security issues with rnc cli by bumping version (#29072)
alexbrazier Jun 7, 2020
7100756
[0.63.3] Bump version numbers
kelset Sep 29, 2020
ccd4efa
[LOCAL] bump detox to xcode 12 compatible version
kelset Nov 27, 2020
4846f1b
Support `contentOffset` property in Android's ScrollView and Horizont…
JoshuaGross Apr 23, 2020
2923273
ScrollView, HorizontalScrollView: support `null` contentOffset
JoshuaGross Apr 25, 2020
d8cf799
Allow passing partial contentOffset to ScrollView on Android (#28817)
janicduplessis May 5, 2020
7c5aed7
Fix skewX on Android and in the JS decomposition (#28862)
wcandillon May 11, 2020
f2d709c
Fix skewX/skewY/perspective/matrix on iOS (#28863)
wcandillon May 11, 2020
4222609
ScrollView, HorizontalScrollView: do not ignore `null` `contentOffset…
vonovak Jun 30, 2020
c2404b4
iOS: Update RCTAlertManager to use new RCTAlertController (#29295)
devon94 Aug 6, 2020
1875116
okhttp version 3.12.12 (#29741)
halaei Aug 28, 2020
864c76b
bump SoLoader to 0.9.0 (#29821)
dulmandakh Sep 2, 2020
b31a95c
fix ReadableNativeMap.getNullableValue to match signature (#30121)
dulmandakh Oct 7, 2020
afbd17a
fix: crash when insert nil value into a dictionary (#30066)
marksinkovics Oct 12, 2020
f0b6eb7
Fix App Bundle/Release build missing index.android.bundle with gradle…
tomoima525 Oct 26, 2020
29972f9
Set color filter so that the arrow matches the text color
Oct 27, 2020
ec5090a
`Android`: font-family is not apply when secureTextEntry is true (#30…
hank121314 Nov 6, 2020
00a942c
Update the cached dimensions when orientation changes (#30324)
ajpaulingalls Nov 11, 2020
2765172
[0.63.4] Bump version numbers
kelset Nov 30, 2020
2fbe1e7
POST_NOTIFICATIONS
alihandogrul Sep 22, 2023
072bafd
POST_NOTIFICATIONS
alihandogrul Sep 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Libraries/Components/Pressable/Pressable.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import type {
AccessibilityState,
AccessibilityValue,
} from '../View/ViewAccessibility';
import {PressabilityDebugView} from '../../Pressability/PressabilityDebug';
import usePressability from '../../Pressability/usePressability';
import {normalizeRect, type RectOrSize} from '../../StyleSheet/Rect';
import type {ColorValue} from '../../StyleSheet/StyleSheetTypes';
Expand Down Expand Up @@ -78,7 +79,7 @@ type Props = $ReadOnly<{|
* Additional distance outside of this view in which a touch is considered a
* press before `onPressOut` is triggered.
*/
pressRectOffset?: ?RectOrSize,
pressRetentionOffset?: ?RectOrSize,

/**
* Called when this view's layout changes.
Expand Down Expand Up @@ -149,7 +150,7 @@ function Pressable(props: Props, forwardedRef): React.Node {
onPress,
onPressIn,
onPressOut,
pressRectOffset,
pressRetentionOffset,
style,
testOnly_pressed,
...restProps
Expand All @@ -168,7 +169,7 @@ function Pressable(props: Props, forwardedRef): React.Node {
() => ({
disabled,
hitSlop,
pressRectOffset,
pressRectOffset: pressRetentionOffset,
android_disableSound,
delayLongPress,
onLongPress,
Expand Down Expand Up @@ -203,7 +204,7 @@ function Pressable(props: Props, forwardedRef): React.Node {
onPress,
onPressIn,
onPressOut,
pressRectOffset,
pressRetentionOffset,
setPressed,
],
);
Expand All @@ -220,6 +221,7 @@ function Pressable(props: Props, forwardedRef): React.Node {
ref={viewRef}
style={typeof style === 'function' ? style({pressed}) : style}>
{typeof children === 'function' ? children({pressed}) : children}
{__DEV__ ? <PressabilityDebugView color="red" hitSlop={hitSlop} /> : null}
</View>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ const AndroidHorizontalScrollViewViewConfig = {
snapToInterval: true,
snapToStart: true,
snapToOffsets: true,
contentOffset: true,
},
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -544,12 +544,7 @@ type NativeType = HostComponent<NativeProps>;
type NativeCommands = TextInputNativeCommands<NativeType>;

export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
supportedCommands: [
'focus',
'blur',
'setMostRecentEventCount',
'setTextAndSelection',
],
supportedCommands: ['focus', 'blur', 'setTextAndSelection'],
});

let AndroidTextInputNativeComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ type NativeType = HostComponent<mixed>;
type NativeCommands = TextInputNativeCommands<NativeType>;

export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
supportedCommands: [
'focus',
'blur',
'setMostRecentEventCount',
'setTextAndSelection',
],
supportedCommands: ['focus', 'blur', 'setTextAndSelection'],
});

const SinglelineTextInputNativeComponent: HostComponent<mixed> = requireNativeComponent<mixed>(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,7 @@ type NativeType = HostComponent<mixed>;
type NativeCommands = TextInputNativeCommands<NativeType>;

export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
supportedCommands: [
'focus',
'blur',
'setMostRecentEventCount',
'setTextAndSelection',
],
supportedCommands: ['focus', 'blur', 'setTextAndSelection'],
});

let SinglelineTextInputNativeComponent;
Expand Down
3 changes: 3 additions & 0 deletions Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,9 @@ export type Props = $ReadOnly<{|
* The following values work on Android only:
*
* - `visible-password`
*
* On Android devices manufactured by Xiaomi with Android Q, 'email-address'
* type will be replaced in native by 'default' to prevent a system related crash.
*/
keyboardType?: ?KeyboardType,

Expand Down
11 changes: 1 addition & 10 deletions Libraries/Components/TextInput/TextInputNativeCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ import type {Int32} from '../../Types/CodegenTypes';
export interface TextInputNativeCommands<T> {
+focus: (viewRef: React.ElementRef<T>) => void;
+blur: (viewRef: React.ElementRef<T>) => void;
+setMostRecentEventCount: (
viewRef: React.ElementRef<T>,
eventCount: Int32,
) => void;
+setTextAndSelection: (
viewRef: React.ElementRef<T>,
mostRecentEventCount: Int32,
Expand All @@ -30,11 +26,6 @@ export interface TextInputNativeCommands<T> {
) => void;
}

const supportedCommands = [
'focus',
'blur',
'setMostRecentEventCount',
'setTextAndSelection',
];
const supportedCommands = ['focus', 'blur', 'setTextAndSelection'];

export default supportedCommands;
1 change: 1 addition & 0 deletions Libraries/Components/Touchable/TouchableBounce.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class TouchableBounce extends React.Component<Props, State> {
delayLongPress: this.props.delayLongPress,
delayPressIn: this.props.delayPressIn,
delayPressOut: this.props.delayPressOut,
minPressDuration: 0,
pressRectOffset: this.props.pressRetentionOffset,
android_disableSound: this.props.touchSoundDisabled,
onBlur: event => {
Expand Down
1 change: 1 addition & 0 deletions Libraries/Components/Touchable/TouchableHighlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ class TouchableHighlight extends React.Component<Props, State> {
delayLongPress: this.props.delayLongPress,
delayPressIn: this.props.delayPressIn,
delayPressOut: this.props.delayPressOut,
minPressDuration: 0,
pressRectOffset: this.props.pressRetentionOffset,
android_disableSound: this.props.touchSoundDisabled,
onBlur: event => {
Expand Down
1 change: 1 addition & 0 deletions Libraries/Components/Touchable/TouchableNativeFeedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ class TouchableNativeFeedback extends React.Component<Props, State> {
delayLongPress: this.props.delayLongPress,
delayPressIn: this.props.delayPressIn,
delayPressOut: this.props.delayPressOut,
minPressDuration: 0,
pressRectOffset: this.props.pressRetentionOffset,
android_disableSound: this.props.touchSoundDisabled,
onLongPress: this.props.onLongPress,
Expand Down
1 change: 1 addition & 0 deletions Libraries/Components/Touchable/TouchableOpacity.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ class TouchableOpacity extends React.Component<Props, State> {
delayLongPress: this.props.delayLongPress,
delayPressIn: this.props.delayPressIn,
delayPressOut: this.props.delayPressOut,
minPressDuration: 0,
pressRectOffset: this.props.pressRetentionOffset,
onBlur: event => {
if (Platform.isTV) {
Expand Down
1 change: 1 addition & 0 deletions Libraries/Components/Touchable/TouchableWithoutFeedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ function createPressabilityConfig(props: Props): PressabilityConfig {
delayLongPress: props.delayLongPress,
delayPressIn: props.delayPressIn,
delayPressOut: props.delayPressOut,
minPressDuration: 0,
pressRectOffset: props.pressRetentionOffset,
android_disableSound: props.touchSoundDisabled,
onBlur: props.onBlur,
Expand Down
8 changes: 4 additions & 4 deletions Libraries/Core/ReactNativeVersion.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/**
* @generated by scripts/bump-oss-version.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @format
* @generated by scripts/bump-oss-version.js
* @flow
*/

exports.version = {
major: 0,
minor: 0,
patch: 0,
minor: 63,
patch: 4,
prerelease: null,
};
22 changes: 22 additions & 0 deletions Libraries/Image/RCTDisplayWeakRefreshable.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import <Foundation/Foundation.h>

@protocol RCTDisplayRefreshable

- (void)displayDidRefresh:(CADisplayLink *)displayLink;

@end

@interface RCTDisplayWeakRefreshable : NSObject

@property (nonatomic, weak) id<RCTDisplayRefreshable> refreshable;

+ (CADisplayLink *)displayLinkWithWeakRefreshable:(id<RCTDisplayRefreshable>)refreshable;

@end
29 changes: 29 additions & 0 deletions Libraries/Image/RCTDisplayWeakRefreshable.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

#import "RCTDisplayWeakRefreshable.h"

@implementation RCTDisplayWeakRefreshable

+ (CADisplayLink *)displayLinkWithWeakRefreshable:(id<RCTDisplayRefreshable>)refreshable {
RCTDisplayWeakRefreshable *target = [[RCTDisplayWeakRefreshable alloc] initWithRefreshable:refreshable];
return [CADisplayLink displayLinkWithTarget:target selector:@selector(displayDidRefresh:)];
}

- (instancetype)initWithRefreshable:(id<RCTDisplayRefreshable>)refreshable
{
if (self = [super init]) {
_refreshable = refreshable;
}
return self;
}

- (void)displayDidRefresh:(CADisplayLink *)displayLink {
[_refreshable displayDidRefresh:displayLink];
}

@end
Loading
Loading