React Native v0.63.x released
v0.63.x on GitHub (npm)
Release blog post
Changelog
v0.63.0
Breaking
- The
targetfield of events is now a native component, not a react tag (3b813cade1 by @TheSavior) - Modal: Remove support for
animatedprop (deprecated in 0.26) (1e9db7bd6d by @TheSavior) - Alert: Remove deprecated support for passing callback as fourth argument to
Alert.prompt(deprecated in 0.59) (a26d622d04 by @TheSavior) - Switch: Remove support for
thumbTintColor,tintColor,onTintColorprops (deprecated in 0.57) (26912bd979 by @TheSavior) - Multiple deprecations and breaking changes to
TextInputState. Use native component refs instead of react tags (6286270e4c by @TheSavior) - Bump supported Node engines to >= 10 (f0c7178a3a by @safaiyeh)
Deprecated
- Add deprecation warnings for
Clipboard,SegmentedControlIOS,ProgressViewIOS,ProgressBarAndroid. These modules have been moved to react-native-community libraries. (f295d7f608 by @Naturalclar) - Deprecated
console.disableYellowBoxin favor ofLogBox.ignoreAllLogs. (87f1e22434 by @rickhanlonii)
Android specific
- We are deprecating the method
UIManagerModule.resolveRootTagFromReactTag, this will not be supported in the next version of RN (acbf9e18ea by @mdvacca) - Add warning message for trying to use
ToolbarAndroidwhich has been removed from the core since 0.61. (6249d14a61 by @Naturalclar)
iOS specific
- Deprecate iOS 9.x support (58a6a40eac, 829a2237d2, 674b591809 by @fkgozali, d1265077d6 by @sunnylqm)
Added
- Implement
nativePerformanceNowandperformance.now()(232517a574 by @emilisb) - Support
PerformanceLoggerstopTimespan updates (08c338eebf by @sahrens) - Added
PlatformColorimplementations for iOS and Android (f4de45800f by @tom-un) - Stamp React Native Version Into C++ Code (427ba359e0 by @NickGerleman)
- New
<Pressable>Component to make it easier to create touchable elements (3212f7dfe8 by @TheSavior, bd3868643d by @vonovak) - Export
LogBoxmodule (799bf56f6f by @rickhanlonii) - Export
LayoutAnimationConfigflow type (f0dafd34fe by @sahrens) - Added
react-native-community/eslint-pluginas a dependency forreact-native-community/eslint-config(2c2e35c634 by @Naturalclar) DEBUG_NETWORK_SEND_DELAYcan be used to simulate slow network. (4aac019176 by @sahrens)- Support for
accessibilityLabelprop to thePickercomponent (0a525b6d9d by @KevinGVargas) - Allow
zIndextouseNativeDriver(6a4e06faa8 by @mackenziemance)
Android specific
- Support item background color in Dialog
Picker(22eb711c84) - Add OverrideColorScheme interface and setOverrideColorScheme method to AppearanceModule(45d7df6cf7)
- Allow setting custom ripple radius on
TouchableNativeFeedback(7f2a79f40b by @vonovak) - Add
resizeModeprop support onTextInlineView(6871416328 by @mdvacca) - Added an API for checking if there are busy timers to
TimingModule(22764e6cdc by @ejanzer) - Make packager location customizable in dev mode (3714f3648a)
iOS specific
UIScenesupport forRCTImageView(f332fac163 by @tido64)- Status bar style is now correctly changed in multi-window iPadOS 13 apps if you use
RCTRootViewControllerand setUIViewControllerBasedStatusBarAppearance=YES(80e6d672f3 by @radex) - Added
userInterfaceStyleforActionSheetIOSandShareto override user interface style on IOS 13 (0a9cc34dd8 by @Arjan-Zuidema) - Add localized accessibility strings to
ReactCorepod (aebf54aee4 by @xuelgong) - Resolve and reject promise for
PushNotificationIOS.requestPermissions(edfdafc7a1 by @p-sun) - Use autolink script in template on iOS (a35efb9400 by @janicduplessis)
- Added
Flipperto template app (52cd9cd6fe by @safaiyeh) - Add
textColorandbackgroundColorprops toSegmentedControlfor iOS >=13 (e8f577e541 by @Naturalclar) - Adds
RCTOverrideAppearancePreferenceto the iOSAppearancemodule (fa65b156d4) - Changed iOS LaunchScreen from
xibtostoryboard(33b3a1a145 by @jeswinsimon)
Changed
- Update
react-native-community/eslint-configto 1.1.0, adding the new color rule (780f06cd47 by @TheSavior) - Update community eslint plugin in the eslint config (b2d10bc602 by @Naturalclar)
- Upgrade
eslint-configandmetro-presetin project template (ad86a18305 by @Naturalclar) - Add ES Lint rules for
DynamicColorIOS()andColorAndroid()(602070f44b by @tom-un) - Make
ScrollViewuseforwardRef(d2f314af75 by @kacieb) - Upgrade embedded React DevTools backend from v4.0.6 to v4.6.0 (93ee5b2cc8 by @bvaughn)
- Updated the React Hooks ESLint Plugin (6ce3f0a4f7 by @gaearon)
- Update to React 16.13.1 (9637d6214a by @gaearon)
- Relax
RefreshControl'sonRefreshflow typing (884c86ae02 by @vonovak) - Improved flowtype support for
Animated(bdafc55f50 by @javache) - Upgrade
eslint-plugin-relayto 1.6.0 (0483404d82 by @kassens) - Upgrade to latest dependencies in package.json template (82e8239337 by @codler)
- Make JSStringToSTLString 23x faster (733532e5e9 by @radex)
- Changed property
disableIntervalMomentumto work with both horizontal and vertical ScrollViews (6237cfb325 by @Shaninnik) - Upgraded to Flow v0.114.0 (aa78457343 by @mroch)
- Updated CLI to the latest version (ddc33007ad by @grabbou)
- Upgrade Prettier from 1.17 to 2.0.2. (cf44650b3f by @bolinfest)
- Only set dimensions if the window attributes change (35c6bb9ac0 by @cpojer)
- Upgrade internal packages to support ESLint >= 6 (89d04b5e4a by @Barbiero)
- Make
JSCRuntime::createValuefaster (24e0bad8be by @radex) - Add perf markers in
XMLHttpRequest(71b8ececf9 by @sahrens) - Update SoLoader to 0.8.2 (0a6f058b6b by @passy)
console.errorcalls, and uncaught exceptions are now displayed in the Metro logs as well (ffb82cb2f0 by @mweststrate)- Upgrade Flipper to 0.37.0 (17f025bc26 by @sunnylqm)
Android specific
- Upgraded to Hermes 0.5.0 (4305a291a9 by @willholen)
- Internal storage now will be preferred for caching images from
ImageEditor. (79efa43428 by @kitttn) - Update Gradle Wrapper to 6.2 (d4d8887b50 by @friederbluemle)
- Upgrade Folly to v2020.01.13.00 (6e2131b8fa by @Kudo)
- Only update dimensions in
ReactRootViewif they've changed (cc3e27d484 by @ejanzer) ReactEditTextextendsAppCompatEditText(aaa2765a92 by @dulmandakh)- Make
ReactApplicationContextnullable as the constructor argument ofReactContextBaseJavaModule(f8d5c5bfd7 by @RSNara) - Update Android Gradle plugin to 3.5.3 (e1e081b00e by @SaeedZhiany)
- Don't emit dimensions update event on initial load (383934a06e by @ejanzer)
- Bump Android build-tools to 29.0.2, compileSdk to 29 (edcbfb9821 by @mdvacca)
iOS specific
- Disambiguate autolinking-ios.rb script from CLI’s “autolinking” feature and bring RNTester & template in line. (4118d79826 by @alloy)
- Updated Flipper iOS integration to be included by default in the
Debugconfiguration (619d5d60df by @alloy) - Use Apple unified logging API (os_log) (f501ed682a by @LeoNatan)
- Upgrade Folly to v2020.01.13.00 (a27e31c059 by @Kudo)
- Remove the
xcshareddatafrom .gitignore (7980615d37 by @pvinis) - Add
complete_nullability = Trueto compatible libraries (796a4ea7e3) - Remove the Flipper pod post install step (44beb2a685 by @priteshrnandgaonkar)
- Enable Flipper with CocoaPods
:configuration(7bb1c4e1b8 by @alloy)
Removed
- Remove unused
ImageProp(fbd09b1797 by @Naturalclar) - Remove leftover
Incrementalcomponent (e99800267b by @venits) - Remove "Debug with Nuclide" option (011eb4cea5 by @rickhanlonii)
Android specific
- Remove unused Feature Flag:
lazilyLoadViewManagers(3963f34980 by @JoshuaGross) PickFirstoptions for RNTester and template (4bb0b4f205 by @passy)- Remove Kotlin version from the default template (ced959bb3d by @grabbou)
iOS specific
- Remove core
RCTConvertCoreLocation Libraries (bcf2a716fb by @maschad) - Remove copyright notices from iOS application template (9c3fa57337 by @alloy)
- Remove three properties:
textColor,fontandtextAlignmentfromRCTBackedTextInputViewProtocol, unifying the usage intodefaultTextAttributes. (aff6bad27c by @jimmy623)
Fixed
- Add support to render
<View>with no fixed size nested within a<Text>(dbb7eacb42 by @mdvacca) - Fixes bug where
<Text><View><Image>would crash. (66601e755f by @TheSavior) - Use new
setTextCursorDrawableAPI for Android 10 (e7a14b803f by @sturmen) - Fix
Animated.Valueinitialized with undefined inScrollView(cf02bd9b76 by @janicduplessis) - Do not explicitly include
.jsin Library imports (161b910494 by @NickGerleman) - Fixed
Pressabilityto properly fireonLongPress. (5ca1d8f260 by @yungsters) - Fixed typo from
inlytoonlyinsideModal.jslibrary code. (686d8a57f8 by @Darking360) - Fix viewability calculations for nested
VirtualizedListsinside of a parent list'sFooterComponent(074a2fab74 by @logandaniels) - Fix android
TextInputtransitions (0a17a4fe56) - Remove JS autoFocus implementation (0569d4c431 by @janicduplessis)
- Check null values in
shouldAnimate(3498b3b96b by @axe-fb) - Fix
AccessibilityInfo.isScreenReaderEnabledmock in Jest setup (ec3327b61a by @rubennorte) - Fix crash when passing invalid UTF-16 data from JSC into native code (011cf3f884 by @motiz88)
- Make
YGValue.hcompile with Clang on Windows (014bc95135 by @christophpurrer) - Fix documentation comments for HermesJS's
Function::callWithThismethod to accurately reflect howthisis handled. (399bda5284 by @Kronopath) - Fix resolving assets outside of the project root (7deeec7396 by @janicduplessis)
- Transform empty responses into empty
Blobs (9a8c06b502 by @RSNara) - Fix validation of event mappings for
AnimatedEvent(19362f6116 by @javache) - Fix
NativeJSCHeapCapture(7e3a43c23d by @RSNara) - Add
AnimationInterpolationas possible type for toValue (26e8870fbf by @nabati) - Fix return type of
StyleSheet.create(4e71a30969 by @jbrown215) - Adjust HelloWorld-tvOSTests/Info.plist
CFBundleIdentifierto usePRODUCT_BUNDLE_IDENTIFIER(98ebc1ea25 by @MoOx) - Fix bug where if
Errorglobal is not callable when building an error, jsi will throw a JS exception back to JS code. #158 (a195447539 by @mhorowitz) - Fix stylesheet validation for functions with custom prototype methods. (f464dad5d4)
- Fix sporadic issue with
onEndReachedcalled on load when not needed (8ddf231306 by @sahrens) - Correct argument types of
NativeJSDevSupport.onSuccess(b42371da5a by @RSNara) - Add
URLSearchParamsandHeadersto eslint globals (7a13a1a88f by @sonnyp) - Export exception classes with default visibility (84adc85523 by @appden)
- Add
URLto eslint globals. (ff9def41ff by @sonnyp) - Plumb through memory allocation profiler feature to Chrome Inspector (ed3054927c by @jbower-fb)
- Better monorepo support when building release apk (a8e85026cf by @grabbou)
LogBox- Fix dependency cycle (6ba2aeefa8 by @rickhanlonii)- Always update background color and bar style on Android status bar (9457efa84c)
- Disable accessibility state changes of the focused view for Android API < 21 (f2d58483c2 by @mdvacca)
Android specific
- Gradle release config (0d1fb458ab by @vdmtrv)
- Change how
TextInputresponds torequestFocusto fix a11y focus issue (d4a498aba2 by @ejanzer) - Fixed style in
TextInputTestCase(8c493804f3 by @ejanzer) - Fix template instacrash from missing androidx dependency (a1b14deb3e by @alloy)
- Implement native
TextInputautoFocuson Android (055a41b081 by @janicduplessis) - Support for case insensitive
Originheaders forWebsockets(aeaf286c77 by @brunobar79) - RNTester Buck Build (a3cb377645 by @passy)
- Fix bug in updating dimensions in JS (bef845ffd5 by @ejanzer)
- Applied missing changes from bumping Gradle wrapper to 6.0.1 (aa0ef15335 by @SaeedZhiany)
- Unregister
JSDevSupportfromDebugCorePackage(c20963e11c by @RSNara) - Make sure
ServerHostis optional inNativePlatformConstants.js(048f88a33a by @RSNara) - Removed code that would cause accessibility header role to be spoken twice (7428271995 by @KevinGVargas)
- Fail silently in
AppStateModule.sendEventifCatalystInstanceis not available (c4806fada6 by @JoshuaGross) - RN
Picker- fix types inAndroidDialogPickerManagerInterface(56b0f5cb6b) - Fix Hermes debugger being disabled by default (b8621f5d30 by @willholen)
iOS specific
- Fixed connection of metro reload command to iOS device (f9df93385e by @reyalpsirc)
- Remove
RCTDevLoadingViewjank (faff19a7c6 by @RSNara) - Fix crash when passing null value in object parameter of bridged method (15434c7c43)
- Get ready for Clang 10 (8721ee0a6b by @maxovtsin)
- Fix
RCTBlobManagercleanup crash (91c5ff4a12 by @RSNara) - Make Lambda function called in
NativeModulemutable (5290047d09 by @maschad) - Fix crash in
RCTCxxBridge.executeApplicationScript(0c2db3256f by @ahimberg) - Fix
RCTDevLoadingViewRedBoxon reload (fe5ac2c3f9 by @RSNara) - Fix
Imagecomponent crashing whenuriisnull(06b8b15b0a by @mlazari) - Fix
RCTDevLoadingViewnot showing up withUIScene(74b667dbc2 by @tido64) - Prevent interactive dismissal for non-fullscreen modals (1e7ed81d16)
- Resolve localization warnings in template (0e4bcaa296 by @safaiyeh)
- Implement
requiresMainQueueSetupinRCTDevSettings.mm(adf87dd7ed by @logandaniels) - Resolve
React-RCTTextXcode warning (04fed6508b by @safaiyeh) - Resolve Xcode warnings from
React-cxxreact. (dc6c57ce0d by @safaiyeh) RCTReconnectingWebSocketis reconnecting infinitely when stopped before getting connected (0d4b0e9417)- Fix prop name of
passwordRulesinTextInput(3f5c42f357 by @Naturalclar) - Remove need for Swift file in the user’s project in order to use Flipper (8f93dedc6a by @alloy)
- Clear all held
jsi::Functionswhenjsi::Runtimeis deleted (9ae95582e7 by @RSNara) - Make framework builds work again by making
RCTImageLoaderC++ requirement opt-in (25571ec452 by @alloy) - Enable dev keyboard shortcuts on Mac Catalyst (56dfc86d64 by @charpeni)
- Fix
RCTTextViewlayout issue that happens on some font withleadingattribute not equal to zero, which causes wrong base-alignment layout (5d08aab526) - Fix LAN instead of Wi-Fi device bundle configuration (d1e6f8d3c4 by @Oleg-E-Bakharev)
- Add autorelease pool for each run loop for JS Thread (948cbfdacc by @zhongwuzw)
- Fixed bug in implementation of
<TextInput>'sselectOnFocusprop (e020576b34 by @shergin) RCTRedBoxdoesn't appear in apps implementingUISceneDelegate(d0a32c2011 by @tido64)- Fixes the
InputAccessoryView.backgroundColorprop’s typing to useColorValue. (a43fd60e18 by @alloy) - Fix
Animatedimage crash whenCADisplayLinktarget inRCTWeakProxyisnil(e5a6655e71 by @p-sun)
v0.63.1
Added
- Added
minPressDurationtoPressable. (4aaf629982 by @yungsters) - Support for array buffers in the JavaScriptCore implementation of JSI (9c32140068 by @ryantrem)
Android specific
- ProGuard rule for hermes (449dc37720 by @radko93)
Fixed
- LogBox.ignoreAllLogs() should ignore logs (f28c7505fa by @rickhanlonii)
Android specific
- Fix font variant crash on Android < 4.4 (f23feced42 by @Almouro)
- Fix border-drawing when changing border-radius back to 0` (7757ad0576 by @IjzerenHein)
- Fix rounded border-drawing when border-radius is smaller than border-width` (28dce3665d by @IjzerenHein)
iOS specific
- TextInput color has the same default (#000) on iOS whether in light or dark mode (a2f8b9c36e by @JonnyBurger)
- Fixes TextInput shaking when typing Chinese (9cdc19a936 by @zhongwuzw)
v0.63.2
Fixed
- Restore Previous Behavior for StyleSheet Validation of Null/Undefined Styles (e75557b48f by @NickGerleman)
Android specific
- Set LogBox windowTranslucentNavigation to false (23036b38bc by @Ashoat)
- Fix unable to run in debug mode on Android API < 21 (7694b32a88 by @Shywim)
iOS specific
- Fix image cannot show in iOS 14 (123423c2a9)