This file contains all changelogs for releases in the 0.60-0.69 range. Please check out the other CHANGELOG-*.md
files for newer and older versions.
- Make 0.69 compatible with Xcode 15 (thanks to @AlexanderEggers for the commit in main) (37e8df1cdc)
- Minimize EditText Spans 8/N: CustomStyleSpan (b384bb613b by @NickGerleman)
- Minimize EditText Spans 6/N: letterSpacing (5791cf1f7b by @NickGerleman)
- Minimize Spans 5/N: Strikethrough and Underline (0869ea29db by @NickGerleman)
- Minimize Spans 4/N: ReactForegroundColorSpan (8c9c8ba5ad by @NickGerleman)
- Minimize Spans 3/N: ReactBackgroundColorSpan (cc0ba57ea4 by @NickGerleman)
- Minimize Spans 1/N: Fix precedence (1743dd7ab4 by @NickGerleman)
- Fix measurement of uncontrolled TextInput after edit (8a0fe30591 by @NickGerleman)
- Relax Ruby requirements (4e015c69d6 by @cipolleschi)
- Fix React Codegen podspec to build on Xcode 14.3 (74ba411b55 by @cipolleschi)
- Blob data is no longer prematurely deallocated when using blob.slice (36cc71ab36 by @awinograd)
- Mitigation for Samsung TextInput Hangs (be69c8b5a7 by @NickGerleman)
- Mitigation for Samsung TextInput Hangs (be69c8b5a7 by @NickGerleman)
- Force dependencies resolution to minor series for 0.69 (c4da74c463 by @Titozzz)
- Bump version of
promise
from 8.0.3 to 8.2.0, enablingPromise.allSettled
(951538c080 by @retyui)
- Fix hermes profiler (81564c1a3d by @janicduplessis)
- Correctly resolve classes with FindClass(..) (361b310bcc by @evancharlton)
- Fix the way the orientation events are published, to avoid false publish on orientation change when app changes state to inactive (7d42106d4c by @lbaldy)
- Fix React module build error with swift integration on new architecture mode (3afef3c167 by @Kudo)
- Bump react-native-codegen to 0.69.2 (df3d52bfbf by @dmytrorykun)
- Replaced reactnativeutilsjni with reactnativejni in the build process to reduce size (54a4fcbfdc by @SparshaSaha)
- Codegen should ignore
.d.ts
files (0f0d52067c by @tido64)
- Upgrade RN CLI to v8.0.4 (66c68c37ce by @thymikee)
- Modified getDefaultJSExecutorFactory method (87cfd386cb by @KunalFarmah98)
- Fix React-bridging header not found for third party modules (fa2acc32d1 by @Kudo)
- Set react-shallow-renderer v16.15.0 for react v18 compat (a39a7c453d by @mikehardy)
- Upgrade RN CLI to v8.0.3 (28cbd21d21 by @thymikee)
- Hermes pod: change logic to use the hermes tag to set the pod source correctly (46a9edc854 by @kelset)
- Fix the race condition when calling readAsDataURL after new Blob(blobs) (bd12e41188 by @wood1986)
- Make sure that Flipper pods are not installed when creating a release build (23accbf58d by @cipolleschi)
- Make all Yoga headers public and add #ifdef __cplusplus (43f831b23c by @janicduplessis)
- Use monotonic clock for performance.now() (114d31feee)
- Fix build for React-RCTText (4ea38e16bf by @ph4r05)
- Fix RCT-Folly build error when use_frameworks! and hermes are both enabled (79baca678a by @Kudo)
- Fix use_frameworks! for 0.69 (f97c6a5b49 by @Kudo)
- Support for
console.disableYellowBox
has been dropped - Already deprecated prop types have been removed (cdfddb4dad, 3e229f27bc, 10199b1581)
removeListener
, deprecated since RN0.65, was removed from Appearance- If you were using
SegmentedComponentIOS
, you will now need to move to the segmented-control library (235f168574)
- Add Hermes scripts to package (004b8609d9 by @hramos)
- Expose scheduler through FabricUIManager (1730949e94 by @cortinico)
- Add event listeners to Scheduler (e51e19ecc1 by @cortinico)
- C++ TurboModule methods can return functions (c7380ba113 by @appden)
- Add support for devtools' profiler (fefa7b6ac8 by @jpporto)
- Add getAll function to FormData class for getting all parts containing that key. This is also available in web API. (d05a5d1551 by @matinzd)
- Automatic type conversions for C++ TurboModules (31f0796237 by @appden)
- New bridging API for JSI <-> C++ (30cb78e709 by @appden)
- Add asBool() method to JSI (603620b739 by @appden)
- CustomEvent and Event polyfills for React Native (6abbef1200 by @JoshuaGross)
- Implement Runtime.getHeapUsage for hermes chrome inspector (cff9590864 by @janicduplessis)
- Introduce ReactNativeFeatureFlags file to control FeatureFlags in React Native (33aba77456 by @mdvacca)
- Added fail-safe check to catch MissingWebViewPackage Exception (8c573d9336 by @Kunal-Airtel2022)
- Add ability to access properties with symbol keys through JSI (9010bfe457 by @neildhar)
- Allow color styles to be animated using native driver (201f355479 by @genkikondo)
- Make react-native depend on react-native-gradle-plugin (3346efb7d4 by @cortinico)
- Add RawEventTelemetryEventEmitter interface to ReactNativePrivateInterface (1f15a64028 by @JoshuaGross)
- Implement Runtime.getHeapUsage for hermes chrome inspector (3568a72987 by @janicduplessis)
- Add support for C++17 in OSS (c2e4ae39b8 by @sammy-SC)
- Generate
Nullable
for optional objects and arrays in module codegen. (ffaa5d69bc) - Expose an API to enable Concurrent Root on Android (d7b64b8d4b by @cortinico)
- Add scrollEventThrottle prop support in Android (cf55fd587e by @ryancat)
- Accessibility announcement for list and grid in FlatList (dd6325bafe by @fabriziobertoglio1987)
- Introduce ModuleDataCleaner.cleanDataFromModules(ReactContext) (184dfb8f8b by @RSNara)
- Introduce ReactContext.getNativeModules() (b978308519 by @RSNara)
- MapBuffer implementation for JVM -> C++ communication (cf6f3b680b)
- Make links independently focusable by Talkback (7b5b114d57 by @fabriziobertoglio1987)
- Support animating text color with native driver (87cdb607e4 by @genkikondo)
- Added an experimental prop serialization path based on MapBuffer (cbcdaae2b5)
- Allow to setup a Gradle Enterprise instance via an external script (f11dcfaea1 by @cortinico)
- Support platform color with AnimatedColor (cb42049e0a by @genkikondo)
- Support running animations with AnimatedColor with native driver (3f49e6763e by @genkikondo)
- Add public API to ReactRootView to control if JS touch events are dispatched (0a517ae438 by @ryancat)
- Prepare a method in the AppDelegate to control the concurrentRoot. (8ac8439e0d by @cipolleschi)
hotkeysEnabled
property is added toRCTDevMenu
which allows enabling/disabling hotkeys that triggers developer menu popup (1a1a304ed2)- Allow modifying iOS image cache limits (61b013e7ad by @danilobuerger)
- Add dismissActionSheet method to ActionSheetIOS (64ebe5bbdd by @gabrieldonadel)
- Integrated the
accessibilityLanguage
prop to all the available components. The prop is available for any platform but it will work only on iOS. (7b05b091fd by @dgopsq) - Support running animations with AnimatedColor with native driver (49f3f47b1e by @genkikondo)
- Update direct Metro dependencies to 0.70.1 (b74e964e70, (c92b64b16a by @arushikesarwani94), (f89a0b765c by @robhogan)
- Upgrade RN CLI to v8.0.0 (0605880c9e, 1e0226f933, 24bb7f7380, 7dceb9b63c by @thymikee)
- Replace use-subscripton with use-sync-external-store (93b50be8c2 by @rickhanlonii)
- Expose UIManager from Scheduler (54db5f2012 by @cortinico)
- Optimized VirtualizedList context when used with nested lists (ceb0a54608 by @javache)
- Remove usage of std::string in EarlyJsErrorHandler. (30051b2c41 by @sshic)
eslint-config
: add support for ESLint 8 (864a8c11b2 by @wcandillon)eslint-config
: add support for TypeScript 4.5+ (199ac680c7 by @rnike)- Upgraded react-devtools-core dependency to 4.24.0 (a7a781ff4a)
- Avoid flattening nodes with event props (980c52de41)
- Type the argument of Animated.interpolate as read-only (6584304c10 by @motiz88)
- Update gradle-download-task to 5.0.1 to support concurrent downloads (a86cae7aac by @michel-kraemer)
- Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (1ca2c24930 by @Kunal-Airtel2022)
- Upgrade to React 18 (41cbccd98d by @rickhanlonii)
- Gradle: extend the algoritm to find hermesc paths (aeac6ab677 by @cortinico)
- Bump boost for Android to 1.76 to align with iOS (5cd6367f0b by @kelset)
- Adopt
MapBuffer
interface forReadableMapBuffer
(81e4249315) - Mark intent as nullable (5ffa0b0aa6 by @sshic)
- Use CMake to build ReactAndroid module (e3830ddffd)
- Update template/android and RN Tester to use
hermes-engine
from thereact-native
NPM package. (4d91f40fbd by @cortinico) - Build Hermes from Source (a3d9892ed9 by @cortinico)
- Rename field with default values for ReactConfig to DEFAULT_CONFIG (964e816752)
- Moved
com/react/facebook/uimanager/interfaces
files intocom/react/facebook/uimanager
to enable Kotlin build (b1a779392d) - Bump AGP to 7.1.0 and fix bundle inclusion in release mode (200488e87c by @gabrieldonadel)
- Release react-native-gradle-plugin 0.0.5 (42272211e4 by @cortinico)
- ViewPagerAndroid recommendation link. (7e8cce3d2d by @maaxg)
- Bump android Appcompat to 1.4.1 (6b61995647 by @gabrieldonadel)
- Remove
react-native-gradle-plugin
as a dependency from template's package.json (cd79317672 by @cortinico) - Use 2g as a default heap size for gradle builds (09e418ef8e)
- Use new StatusBar API on Android 11 (API 30)+ (50c8e973f0 by @ieatfood)
- Change static string to public (ab45138394 by @sshic)
- Use pre-built HermesC if available in current React Native release (644fe430fd by @hramos)
- When building Hermes from source, the filesystem will now be prepared using the new hermes-utils.js scripts, outside of CocoaPods (aaa01f7710 by @hramos)
- Expose scheduler through RCTSurfacePresenter (614aa86916 by @cortinico)
- Adopt UIGraphicsImageRenderer API (d70d7fd0b3 by @matrush)
- Build Hermes from source when Hermes is used (bb01b75637 by @hramos)
- Update CodeGen scripts to accept custom node executable (323db75c36 by @cipolleschi)
- Fixed the fallback behavior when the
.xcode.env
file is missing, actually using the oldfind-node-for-xcode.sh
script (705c6f57d6 by @cipolleschi) - Adding a link in a message for the users. (2c52131f5e by @cipolleschi)
- Bump ruby to 2.7.5 (2c87b7466e by @danilobuerger)
- This PR removes the
find-node.sh
scripts and replaces it with an.xcode.env
file that is sourced by the script phases that needs it. The.xcode.env
file is versioned: to customize a local environment, an unversioned.xcode.local.env
can be used. (0480f56c5b by @cipolleschi) - Update
PushNotificationIOS.checkPermissions
to include iOS 10+ notification settings. (17ecd2fb5b) - Enable SonarKit in React-Core when the configuration is
'Debug'
(b5343a6b0d by @cipolleschi) - When Hermes is enabled, the Hermes Engine will be built from source instead of using the pre-built
hermes-engine
CocoaPod. (12ad1fffe8 by @hramos) - Replaced folly::Optional with std::optional from C++17 in Objc module generator. (45e2941367 by @philIip)
- Removed methodName parameter that was used only for a warning message and moved the warning parameter to be calculated inline. (cfb11ca2f6)
- Fix the crash caused by nil partialLoadHandler (46bc521513)
- Synchronously render cached images (189c2c8958)
- Updated Flipper-Glog to 0.5.0.4 (cd60ffdb62)
- Add function to report early js errors (1804951595 by @sshic)
- Deprecate the use of
react-native/jest/preprocessor.js
by external projects (c1e9aa9a27 by @motiz88) - Deprecate the Promise.prototype.done method and log a warning when it's called in development. (35800962c1 by @motiz88)
- Deprecating support for iOS/tvOS SDK 11.0, 12.4+ is now required (5f2835b14d, (c71e6efbcd, (982ca30de0 by @philIip)
- Removed lint restricting
DynamicColorIOS
to only two properties (13b0b06522)
- Remove unactionable warning about
codegenNativeComponent
when on 'Paper' (494b73cb33 by @tido64) - Fix typo in Value's constructor with a Symbol (a7a0f86a73 by @jpporto)
- Avoid full copy of large folly::dynamic objects by switching to std::move semantics (3f98c8e4c2 by @NikoAri)
- Fix performance issue on Animated.interpolate with big input range (f503b21203 by @Almouro)
- Update function spacing linting rules (8650220cf9 by @joeframbach)
- Add supportsFromJs and supportsToJs template variables (087624ccaf by @appden)
- The Array appended to FormData is transmitted as a string (d2e8e7d58e by @bang9)
- AppState.removeEventListener correctly removes listener for blur and focus events (9aab25ec53 by @AntoineDoubovetzky)
focus()
on TextInput to respect itseditable
state (8a5460ce80 by @vonovak)- Restore Windows build with RawPropsParser.cpp (2d64d1d693 by @TatianaKapos)
- Fix babel-plugin-codegen crash when export init is null (ae756647c9 by @janicduplessis)
- Fixed compilation warning due to
using namespace
being used as part of header (009d80bf5a by @arhelmus) - Allow including TurboModule.h in mixed rtti/no-rtti environment, even if TurboModule.h/cpp is compiled without RTTI. (1f87729697 by @nlutsenko)
- Remove prettier from dependencies in eslint-config (2db1bca952 by @Kerumen)
- Switch Component doesn't disable click functionality when disabled (b2e625a517 by @fabriziobertoglio1987)
- Support numeric color values in StyleSheet's Flow types (83b1975b90 by @motiz88)
- Fix build break on Windows with ReactCommon (42b391775f by @chiaramooney)
- Fixed opacity value in TouchableOpacity (3eddc9abb7 by @hetanthakkar1)
- Remove illegal private property access in VirtualizedSectionList.scrollToLocation (b2f871a6fa by @motiz88)
- JS animated node value updates properly when listener is attached (1f778014a7 by @genkikondo)
- Working around Long paths limitation on Windows (7b76abc0d3 by @mganandraj)
- Fix VirtualizedList with initialScrollIndex not rendering all elements when data is updated (c5c17985da by @AntoineDoubovetzky)
- Add back hermes inspector support (6b6adcc111 by @Kudo)
- Fixed issue where any node with an AccessibilityDelegate set (which was any node with any accessibility propoerty), was using ExploreByTouchHelper's built in AccessibilityNodeProvider, and not properly populating their AccessibilityNodeInfo's, leading to focus issues and issues with automated test services like UIAutomator. (70fcab76a4 by @blavalla)
- Fix Extras usage in Android implementation of Linking.sendIntent() (86f8d0bb52)
- Fix typo in gradle plugin deprecation message (41cfd2f976 by @mikehardy)
- Fixed
TimingModule
related functions for headless JS tasks, eg.setTimeout
(dac56ce077 by @marcesengel) - Improve support for Android users on M1 machine (c5babd993a by @cortinico)
- Do not use
rootProject
directly in Gradle scripts (b2bc5aa5c9 by @cortinico) - Adding null check for context in redbox surface delegate (9527ab1584 by @ryancat)
- Fix crash on empty snapToOffsets array (145fd041c7 by @ryancat)
- Fix StatusBar not updating to use translucent values when set to the same value across different activities (d34a75e9e5)
- Fix underlineColorAndroid transparent not working on API 21 (52aee50a70 by @fabriziobertoglio1987)
- Fixed regression on content in scroll view not responding to touch when fling got interrupted (bb8ff9260f by @ryancat)
- Fixes android build error when compiling as library (c34ef5841c by @nickfujita)
- Cancel post touch process when new touch is received (0368081858 by @ryancat)
- Improve rendering of images when resampled and corner radius applied (f743bed657 by @javache)
- Fix transform when calculate overflowInset (0975e96d53 by @ryancat)
- Fix ReactHorizontalScrollView contentOffset (9f6f97151c by @genkikondo)
- Text Component does not announce disabled and disables click functionality when disabled (7b2d8178b1 by @fabriziobertoglio1987)
- Fix StatusBar on Android API 30 (9ed2df628d by @ieatfood)
- Use root locale when converting string case. (5341ad8962 by @halaei)
- Fix DarkMode on Calendar DateTimePicker (97064ae1fb by @mdvacca)
- Fix ScrollView contentOffset (be260b9f47 by @genkikondo)
- Do not bundle libhermes.so or libjsc.so inside the React Native Android AAR (fa85417179 by @cortinico)
- Enable hitSlop to be set using a single number. (d682753244 by @javache)
- Fix crash caused by Image.queryCache parsing null (ae3d4f7008 by @skychx)
- Fix NullPointerException when disaptching events (fbeb51ef51 by @mdvacca)
- ScrollView's contentInsetAdjustmentBehavior is reset to Never at every reuse to avoid layout artifacts. (28a65f4387)
- Prevent Nullptr segfault in TurboModule init path (7f3cc256b5 by @RSNara)
- Expose the extraData dict attached to JavaScript errors to the native ExceptionManager on iOS, similar to Android (a65ae8eff6 by @GijsWeterings)
RCTLocalizationProvider
Fall back to input when no localization is available (18196512db by @robhogan)- Update iOS LogBox to render its UIWindow with the key window's UIWindowScene (d31d83f410 by @vincentriemer)
- Remove Gemfile.lock from template (1907bd31f0 by @danilobuerger)
- Fix
pod install
whenRCT-Folly
version has been updated. (b2517c3bdc by @fortmarek) - Fix usage of cocoapods with --project-directory flag and new arch (2f813f873a by @danilobuerger)
- Ensure LogBoxView is sized relative to the key window instead of the full screen (84f8c9ad55 by @vincentriemer)
- Improved template fastlane gitignore (f43f05d292 by @danilobuerger)
- Set RCTView borderColor to UIColor (267d36d0af by @danilobuerger)
- Fix action sheet callback invoked more than once on iPad (8935d6e697 by @janicduplessis)
- Resolve border platform color based on current trait collection (9a35818797 by @danilobuerger)
- Enable custom sound for local push notifications. (eb19499484)
- Invoke registerForRemoteNotifications on main UI thread. (3633a05299)
- Bump flipper pods to get arm64 catalyst slice (f811da7cc2 by @fortmarek)
- Fix
pod install --project-directory=ios
failing when Hermes is enabled (1b22e8a039, (eb7cc85a91 by @tido64) - Fix compilation warning in yoga (52d8a797e7 by @cuva)
- Prevent deadlock when dispatching events from observers on the same thread. (68fd1e5508 by @Pickleboyonline)
- In RCTSurfaceHostingComponent, access ckComponent from main queue to pass assertion (1874c81003 by @p-sun)
- Fix modal redbox for onDismiss (46f68aceb2 by @HeyImChris)
- Attempt to fix crash during app termination (9cd43340a7 by @sammy-SC)
- Encode URL params in URLSearchParams.toString() (1042a8012f by @sshic)
- Minimize EditText Spans 8/N: CustomStyleSpan (b384bb613b by @NickGerleman)
- Minimize EditText Spans 6/N: letterSpacing (5791cf1f7b by @NickGerleman)
- Minimize Spans 5/N: Strikethrough and Underline (0869ea29db by @NickGerleman)
- Minimize Spans 4/N: ReactForegroundColorSpan (8c9c8ba5ad by @NickGerleman)
- Minimize Spans 3/N: ReactBackgroundColorSpan (cc0ba57ea4 by @NickGerleman)
- Minimize Spans 1/N: Fix precedence (1743dd7ab4 by @NickGerleman)
- Fix measurement of uncontrolled TextInput after edit (8a0fe30591 by @NickGerleman)
- Mitigation for Samsung TextInput Hangs (be69c8b5a7 by @NickGerleman)
- Mitigation for Samsung TextInput Hangs (be69c8b5a7 by @NickGerleman)
- Force dependencies resolution to minor series for 0.68 (edcb3ca996 by @Titozzz)
- Bump version of
promise
from 8.0.3 to 8.2.0, enablingPromise.allSettled
(951538c080 by @retyui) - Bump react-native-codegen to 0.0.18 (40a3ae3613 by @dmytrorykun)
- Correctly resolve classes with FindClass(..) (361b310bcc by @evancharlton)
- Codegen should ignore
.d.ts
files (0f0d52067c by @tido64)
- Fix the way the orientation events are published (7d42106d4c by lbaldy)
- Let's not build reactnativeutilsjni shared library (af9225ec5f by @SparshaSaha)
- Modified getDefaultJSExecutorFactory method (87cfd386cb by @KunalFarmah98)
- Use monotonic clock for performance.now() (114d31feee)
- Logging a soft error when ReactRootView has an id other than -1 instead of crashing the app in hybrid apps (1ca2c24930 by @Kunal-Airtel2022)
- Bump used version of react-native-codegen to 0.0.17 (dfda480a98 by @cortinico)
- Bump react-native-codegen to 0.0.17 (a5ddc2e165 by @cortinico)
- Working around Long paths limitation on Windows (62ef6f5fa1 by @mganandraj)
- Bump React Native Gradle plugin to 0.0.6 (9573d7b84d by @cortinico)
- Don't require yarn for codegen tasks (d5da70e17e by @danilobuerger)
- Fix dynamic_cast (RTTI) by adding key function to ShadowNodeWrapper and related classes (58a2eb7f37 by @kmagiera)
- Pin use-subscription to < 1.6.0 (5534634892 by @danilobuerger)
- Use NDK 23 only for Windows users. (e48a580080 by @cortinico)
- Improve support for Android users on M1 machine (4befd2a29c by @cortinico)
- Template: Specify abiFilters if enableSeparateBuildPerCPUArchitecture is not set. (5dff920177 by @cortinico)
- Fix for building new architecture sources on Windows (5a8033df98 by @mganandraj)
- CI moved to Node 16. (f1488db109 by @kelset). This change enforces Node >= 14 for React Native builds.
- Bump Android Gradle Plugin to 7.0.1. (272cfe5d13 by @dulmandakh) This version of Android Gradle plugin enforces JDK 11 for Android builds. Do not upgrade to AGP 7.1 as it is not supported by this version of react-native.
- Removed
fallbackResource
fromRCTBundleURLProvider
API (0912ee179c) by @philIip
If you are interested in enabling the new architecture, please refer to the dedicated documentation.
- Do not include Facebook license on users codegen'd code (450967938a by @cortinico)
- Setup a
newArchEnabled
property to Opt-in the New Architecture in the template (8d652fba4c by @cortinico)
- Add fabric option to the default app template. (2e9a376c84 by @sota000)
- Add turbo module support in the default app template. (8ec0e6919c by @sota000)
- Rename the new architecture flag to RCT_NEW_ARCH_ENABLED. (c0c5439959e by @sota000)
- Create @fb-tools-support/yarn package (7db294d6d5 by @motiz88)
- Support string color values in Animated.Color (d3a0c4129d)
- New Animated.Color node (ea90a76efe)
- Added linter warning config for unstable nested components (988fefc44d by @javache)
- Option to supply
platformConfig
to NativeAnimated (4a227ce2ab by @rozele) - Animated.event can be used to extract values with numeric keys from native events (b2105711a0 by @javache)
- Adds a setSelection imperative method to TextInput (771ca921b5 by @lyahdav)
- Native-only prop to optimize text hit testing on some RN platforms (f3bf2e4f51 by @rozele)
- Added DoNotStripAny proguard rules (48318b1542 by @ShikaSD)
- Add new API in ScrollView and HorizontalScrollView to process pointerEvents prop. (48f6967ae8 by @ryancat)
- Add
accessibilityLabelledBy
props (36037fa81b by @grgr-dkrk) - Added missing constructor to WritableNativeArray (c68c47d2ba by @piaskowyk)
- Add new API for custom fling animator to provide predicted travel distance for its fling animation. (fe6277a30d by @ryancat)
- Adding new API
onChildEndedNativeGesture
to the RootView interface to let its implementations notify the JS side that a child gesture is ended. (9b33c31ee0 by @ryancat) - Make the
reactNativeArchitectures
property more discoverable (0f39a1076d by @cortinico) - Added
isAccessibilityServiceEnabled
to get if accessibility services are enabled (c8b83d4e0b by @grgr-dkrk) - Add bundleForVariant option (d2c10da5d5 by @grit96)
- Add ACCEPT_HANDOVER, ACTIVITY_RECOGNITION, ANSWER_PHONE_CALLS, READ_PHONE_NUMBERS & UWB_RANGING to PermissionsAndroid (4b25a0aaa0 by @iBotPeaches)
- Add new argument to announceForAccessibility to allow queueing on iOS (4d1357918a by @peterc1731)
- Add volta support to find-node.sh (765844055b by @liamjones)
- Support fnm when detecting node binary (c9e4d34885 by @MoOx)
- Find-node.sh now respects .nvmrc (35bcf934b1 by @igrayson)
- Add macros to be able to stub C functions in tests (749a9207b6 by @philIip)
- Bump RN CLI to v7.0.3, and Metro to 67 (848ba6fb1d by @kelset) and (df2e934a69 by @kelset)
- Upgraded react-devtools-core dependency to 4.23.0 (1cc217d5ef by @bvaughn)
- Bump Flipper to 0.125.0 (50057158ca by @cortinico)
- Export Flow type for deceleration rate for use in other files to keep deceleration rate prop values consistently typed (9b0ed920ef)
- Upgrade deprecated-react-native-prop-types dependency (badd30885f by @chiaramooney)
- Improved error message in react.gradle (7366a866b3 by @vonovak)
- Upgraded packages to the latest versions for ESLint v7. (cf763cdf81 by @yungsters)
- Updated the links for the discussions and changelog (daf37a1fce by @MikeyAlmighty)
- XMLHttpRequest.getAllResponseHeaders() now returns headers with names lowercased and sorted in ascending order, as per specification (b2415c4866 by @ascherkus)
- Bump react-native-codegen to 0.0.9 (e3a71b019f by @cortinico)
- Accessing
Image.propTypes
,Text.propTypes
,TextInput.propTypes
,ColorPropType
,EdgeInsetsPropType
,PointPropType
, orViewPropTypes
now emits a deprecation warning. (3f629049ba by @yungsters) - Bump
core-workflow-apply-version-label
version (e973b3afc2 by @lucasbento) - Add
vendor/bundle
into .gitignore template (2f67f5d68b by @MoOx)
- Add allowsEdgeAntialiasing on views with rotations or skew transforms (e6a3410afe)
- Bump Kotlin version to 1.6.10 (d0f0234656 by @AKB48)
- Bump Soloader to 0.10.3 (f45889ef95 by @osartun)
- Bump Gradle to 7.3 (c180627ac7 by @dulmandakh)
- Bump Android compile and target SDK to 31 (00ac034353 by @ShikaSD)
- Use side-by-side NDK for Android (bd7caa64f5 by @cortinico)
- Leverage Gradle implicit dependency substitution for Gradle Plugin (0fccbd53af by @cortinico)
- Remove unused import of JMessageQueueThread.h (705236e363 by @sshic)
- Made
MessageQueueThread#runOnQueue
return a boolean. MadeMessageQueueThreadImpl#runOnQueue
return false when the runnable is not submitted. (89faf0c9a8) - Assume *.ktx assets are packaged as Android drawables (cb610ddca7 by @motiz88)
- Add ViewConfigs to support onEnter/onExit/onMove events (44143b50fd by @mdvacca)
- Let react_native_assert really abort the app (2ae06df58f by @cortinico)
- Bugfix for multiple shadow threads rendered at the same time, small probability crash. (9d71b166a6 by @chenmo187)
- RootView's onChildStartedNativeGesture now takes the child view as its first argument (03e513de41 by @javache)
- Add ReactInstanceEventListenerV2 for migration (ce74aa4ed3 by @sshic)
- Improved logic of findTargetPathAndCoordinatesForTouch (dfe42d6b75 by @javache)
- Set a resolution strategy for com.facebook.react:react-native when on New Architecture (e695bc0bb5 by @cortinico)
- Make hermes-executor-common a static lib (b2cf24f41c by @janicduplessis)
- Static link for hermes-inspector (20b0eba581 by @janicduplessis)
- Don't capitalize the first letter of a word that is starting by a number (8b5a5d4645 by @MaeIg)
- updated
jsBundleURLForBundleRoot:fallbackResource
tojsBundleURLForBundleRoot:
(aef843bfe6 by @philIip) - Remove iOS 11 availability check (9b059b6709 by @ken0nek)
- Refactor: Assign string label to each case in RCTPLTag enum for startup performance logging (60e60a9b3d by @p-sun)
- IOS Ruby Updates (1e6add1a43 by @barbieri)
- Update Flipper pods to support re-enable macCatalyst (2a5265dff7 by @mikehardy)
- Apple Silicon builds of glog & Flipper-Glog (274c617f5b by @rayzr522)
- Fix error "mockModal is not a function" (507b05f4c0 by @AntoineDoubovetzky)
- Fixes execution of animation when a toValue of AnimatedValue is used. (8858c21124)
- Fix RN version syntax to match new nightly build structure. (3d1d4ee457 by @chiaramooney)
- Fix typo in _updateBottomIfNecessary function on KeyboardAvoidingView component (0cc80b4d0c by @gabrieldonadel)
- Fix: Removes interface only check from third party components GenerateThirdPartyFabricComponentsProvider (3e6902244a by @Ubax)
- Set CxxModules' Instance before retrieving their Method vector. (1d45b20b6c by @JunielKatarn)
- AnimatedValue.__detach should store getValue result with offset deducted (fe53cae954 by @rozele)
- AnimatedValue.stopAnimation callback with correct value for NativeAnimated (8ba771c3dd by @rozele)
- ESLint no-undef rule clashing with TypeScript compiler for TS files (ae67c5ac45 by @fiznool)
- ESLint
no-shadow
rule returning false positive for TypeScript enums (722a0ff6f8 by @fiznool) - Fix support for custom port (b399c2e3d1 by @enniel)
onLayout
prop is handled correctly in<KeyboardAvoidingView>
(9c5e177a79)- Modal accepts a testID but didn't forward it to RCTModalHostView, therefore not making it show up for e2e tests depending on viewhierarchy. (5050e7eaa1 by @GijsWeterings)
- Remove unused and incorrect type declarations in WebSocketInterceptor (91728e2266 by @mischnic)
- Complete missing Flow declarations in URL (98abf1b02f by @mischnic)
- Pressable not passing hover props and event handlers to PressabilityConfig (1b30dd074b by @Saadnajmi)
- Composite animations will now be ran immediately when the app is in testing mode (b03e824c52 by @javache)
- Remove duplicate class members (c0e489b729 by @bradzacher)
- Fix: Use same implementation for
performance.now()
on iOS and Android (1721efb54f by @mrousavy)
- Enable cliPath to have an absolute path value (5d560ca99f by @Krisztiaan)
- Make sure configureNdkBuild* tasks are depending on preBuild (2fdbf6a10f by @cortinico)
- Added a null check to native.value in Switch to fix facebook#32594 (8d50bf1133 by @jonathanmos)
- Fix overflowInset calculation by using transform values (8aa87814f6 by @ryancat)
- Add missing sources jar into published android artifacts (384e1a0c7b by @Kudo)
- Fix math for detecting if children views are in parent's overflowInset area. (45244ebce2 by @ryancat)
- Fixed empty screen after retrying a BundleDownloader failure in dev mode (c8d823b9bd by @samkline)
- Fix crash from ScrollView that occurs while reporting an error from JS (2151d11527 by @JoshuaGross)
- Enable hitSlop to be set using a single number. (589b129581 by @javache)
- Fix fling and snap with recycler viewgroup where fling to the end of scrollable distance when it goes over current rendered children views. (ead7b97944 by @ryancat)
- Fixed edge case for quick small scrolls causing unexpected scrolling behaviors. (f70018b375 by @ryancat)
- Fix crash on ReactEditText with AppCompat 1.4.0 (e21f8ec349 by @cortinico)
- Do not .lowerCase the library name when codegenerating TurboModule Specs (28aeb7b865 by @cortinico)
- Enable hitSlop to be set using a single number. (a96bdb7154 by @javache)
- Updated TextInput prop types to accomodate for new autoComplete values (9eb0881c8f by @TheWirv)
- Don't reconstruct app components facebook#25040 (fc962c9b6c by @Somena1)
- Do NOT skip the first child view in the scroll view group when measuring the lower and upper bounds for snapping. (61e1b6f86c by @ryancat)
- Fix crash when a Switch is initialised with both backgroundColor and thumbColor. (456cf3db14 by @smarki)
- Fix devDisabledIn not working with multiple productFlavors (055ea9c7b7 by @grit96)
- Revert
ReactScrollView
to useContext
instead ofReactContext
in the constructor to be less restrictive. (7b77cc637e by @ryancat) - Fix onPress event for nested Text in RN Android (e494e4beb6 by @mdvacca)
- Fix enableVmCleanup not working for apps with product flavors (a2b5e4cd82 by @cortinico)
- Prevent NPE on ThemedReactContext (f1b5fe1d3e by @sshic)
- fix: jvm 11 error message from ReactPlugin.kt and react.gradle (4e947ecb2d by @nomi9995)
- ScrollView: Respect
contentInset
when animating new items withautoscrollToTopThreshold
, makeautomaticallyAdjustKeyboardInsets
work withautoscrollToTopThreshold
(includes vertical, vertical-inverted, horizontal and horizontal-inverted ScrollViews) (49a1460a37 by @mrousavy) - Prevent RCTConvert error for allowed null blob types (e1b698c5f2 by @habovh)
- Migrate ScreenshotManager from NativeModule to TurboModule (b13e41d98e by @p-sun)
- Fix usage of cocoapods with --project-directory flag and new arch (9e7d91f2fc by @danilobuerger)
- Post RCTContentDidAppearNotification with new arch (75105e692c by @danilobuerger)
- Remove absolute paths from pods project (42b01a32a1 by @danilobuerger)
- Respect RCTSetDefaultFontHandler chosen font (89efa1a0c1 by @danilobuerger)
- Fixed duplicated UUIDs problem during pod install phase. (f595a4e681)
- Fix
Time.h
patch not being applied when runningpod install --project-directory=ios
(60cef850bd by @tido64) - Fix WebSocket control frames having payloads longer than 125 bytes (86db62b7a8 by @asmeikal)
- Stop RedBox from appearing for LogBox handled errors (9d2df5b8ae by @liamjones)
- Enable hitSlop to be set using a single number. (3addafa525 by @javache)
- Fix
__apply_Xcode_12_5_M1_post_install_workaround
failing when one of the Pods has no IPHONEOS_DEPLOYMENT_TARGET set (9cd4092336 by @Yonom) - This is a quick speculative fix since we know
CFRunLoopPerformBlock
does not push/pop an autorelease pool. (3fff164dfa by @christophpurrer) - Fixed RCTImageLoaderTests (1542f83527 by @philIip)
- Fix Rosetta2 CocoaPods warning on Apple Silicon (e918362be3 by @oblador)
- Fix
pod install --project-directory=ios
failing due to wrong path toReact-Codegen
(ebb26cf2e4 by @tido64)
- Gradle: Deprecate
reactRoot
in favor ofroot
andreactNativeDir
(8bc324fd34 by @cortinico)
- DeprecatedPropTypes (deep-link) modules removed from React Native. (23717c6381 by @yungsters)
accessibilityStates
no longer passed through to RCTView. (1121ed94ab by @luism3861)
- Remove RCTUIManagerObserver from RCTNativeAnimatedTurboModule (e9ed115bab by @p-sun)
🚨 IMPORTANT: This is an exceptional release on an unsupported version. We recommend you upgrade to one of the supported versions, listed here.
- Force dependencies resolution to minor series for 0.67 (9f2acda1b8 by @cortinico)
- Added a null check to native.value in Switch to fix facebook#32594 (8d50bf1133 by @jonathanmos)
- Text with adjustsFontSizeToFit changes the text layout infinitely (c1db41f060)
- Fix a broken input for the Korean alphabet in TextInput (1a83dc36ce by @bernard-kms)
- Fix error "mockModal is not a function" (507b05f4c0 by @AntoineDoubovetzky)
- Fix potential crash if ReactRootView does not have insets attached. (6239e2f5ce by @enahum)
- Upgrading OkHttp from 4.9.1 to 4.9.2 to fix CVE-2021-0341. (e896d21 by @owjsub)
- Fix
Time.h
patch not being applied when runningpod install --project-directory=ios
(60cef850bd by @tido64) - Find-node.sh now respects .nvmrc (35bcf934b1 by @igrayson)
- Do not remove libjscexecutor.so from release builds (574a773f8f by @cortinico)
- Remove alert's window when call to
hide
. (a46a99e120 by @asafkorem)
- Add
ACCESS_MEDIA_LOCATION
permission to PermisionsAndroid library. (79db483568 by @Skrilltrax) - Implement
SnapToAlignment
inReactScrollView
(e774c037bc),ReactScrollViewManager
(c6e5640e87),ReactHorizontalScrollView
(b12256394e),ReactHorizontalScrollViewManager
(deec1db9fd) and updateScrollView.js
(a54cfb9e57) and reach parity with iOS (04184ef851) by @mdvacca - Show Redbox for C++ errors. (d6c879edba by @sota000)
- Added an experimental touch dispatch path (a2feaeb5f1 by @ShikaSD)
- Added
cancelButtonTintColor
prop forActionSheetIOS
to change only the text color of the cancel button (01856633a1 by @nomi9995) - Added
LSApplicationQueriesSchemes
in info.plist with entries tel, telprompt, http, fb, geo (b26f277262 by @utkarsh-dixit) - Add
UIAccessibilityTraitUpdatesFrequently
to progressBar role (1a42bd6e97 by @jimmy623) - Add
asdf-vm
support infind-node.sh
(3e7c310b1d by @pastleo)
ImageBackground
now respectsimageStyle
width and height (dbd5c3d8e5 by @Naturalclar)- Rename deprecated
Keyboard.removeEventListener
toKeyboard.removeListener
. (8880c09076 by @yungsters) - Update
Modal
's mock to not render its children when it is not visible (ec614c16b3 by @AntoineDoubovetzky) - Upgraded
react-devtools-core
dependency to 4.19.1 (356236471a by @jstejada) - React-native/normalize-color now supports Node.js (65e58f26e1 by @yungsters)
- Updated to Contributor Covenant v2.1 (19f8d2f7da)
- Hermes initialization will no longer need an explicit configuration. (a40f973f58 by @Ashoat)
- Setting
overflow: scroll
in View component style will clip the children in the View container (93beb83abe by @ryancat) - Native views backing
Animated.View
(w/ JavaScript-driven animations) will no longer be flattened; this should be a transparent change. (4fdbc44ab5 by @yungsters) - Use new Locale API on Android 11 (API 30)+ (b7c023a8c1)
- Changed
react.gradle
detectCliPath
function logic forcliPath
case (ce51b62494 by @vitalyiegorov) - Remove
"high"
and"balanced"
as values forandroid_hyphenationFrequency
onText
(a0d30b848a) - Bump Gradle version to 7.2, Bump Kotlin version to 1.5.31 (9ae3367431 by @svbutko)
- Move mavenCentral repo below local paths (046b02628d by @friederbluemle)
- Optimized font handling for iOS (4ac42d88ef by @Adlai-Holler)
- Remove iOS 11 version check as minimum deployment is iOS 11 (398595e074 by @ken0nek)
- Don't hang app for 60s if packager can't be reached, changed to 10s (c0e04460f5 by @radex)
- Removed unnecessary global variable
GLOBAL
. (a101fc768c by @rubennorte) - Removed unused files:
StaticContainer.react.js
,ensurePositiveDelayProps.js
,InteractionMixin.js
,queryLayoutByID.js
(64aa1e5ffe by @ecreeth)
- Remove
DatePickerAndroid
from react-native. (7a770526c6 by @andresantonioriveros)
- Update metro config language to
blockList
(7923804c28 by @rh389) - Ignores global npm prefix (6334ac35ac by @redreceipt)
- Support
Animated.ValueXY
when validatingAnimated.event
. (27dd2ecb70 by @javache) - Add a function
getIgnorePatterns
inLogBoxData.js
for tests or other usecases. (a950634424)
- TextInput Drawable to avoid Null Pointer Exception RuntimeError facebook#17530 (254493e1fb by @fabriziobertoglio1987)
- Nested Text Android
onPress
does not work with last character (132d1d00f8 by @fabriziobertoglio1987) - Fix non selectable Text in FlatList (c360b1d92b by @fabriziobertoglio1987)
- Set
textBreakStrategy
default to be'highQuality'
(3b2d541989) - Fix error handling when loading JSC or Hermes (d839b24b06 by @iqqmuT)
- Fix encoding for gradlew.bat files (ab2bdee735 by @yungsters)
- Fix
hermesFlags
not working with multiple variants (91adb761cf by @grit96) ScrollTo
API in ScrollView will check the actual scroll position before setting the scroll state (1a9e2d5d55 by @ryancat)- Compute Android Notch in
keyboardDidShow
height calculation API 28+ (8bef3b1f11 by @fabriziobertoglio1987) - Fix
currentActivity
being null when launching Redbox (f4fdf4b55e) - When sending OS intents, always set
"FLAG_ACTIVITY_NEW_TASK"
flag (required by OS). (04fe3ed80d by @Krizzu) - Fix missing WebView provider crash in ForwardingCookieHandler (d40cb0e1b0 by @RodolfoGS)
- Fix
keyboardDismissMode="on-drag"
on Android (7edf9274cf by @janicduplessis) - Fixed
alignItems: baseline
for elements on Android (1acf334614) OnKeyPress
event not fired with numeric keys (ee3e71f536 by @fabriziobertoglio1987)- Exclude unused .so files for reduce android .apk and .aab (6f126740fa by @enniel)
- Fixed an edge case when scroll to item/index is called without animation, the offset position is not updated. This caused the measurement of the position to be wrong. (55392f65a6 by @ryancat)
- Fixed the issue when moving cursor in multi-line TextInput. (22801870f0 by @xiankuncheng)
- Fix NSInvalidArgumentException for invalid font family names. (5683932862 by @yungsters)
- Fix Image
defaultSource
not showing on iOS (900210cacc by @cristianoccazinsp) - Warn if Rosetta2 is being used (x86_64 on arm64) (51bf557948 by @barbieri)
- Source map path for schemes containing whitespaces (f3fe7a0fb5 by @andersonvom)
- Fix build error after running
pod install
with--project-directory=ios
(ef5ff3e055 by @sonicdoe) - Fixed inability to build apps when gflags is installed (ab8dbdf663 by @KDederichs)
- Avoiding logging root view params outside of dev / debug mode builds (e612d3a116 by @sterlingwes)
🚨 IMPORTANT: This is an exceptional release on an unsupported version. We recommend you upgrade to one of the supported versions, listed here.
- Force dependencies resolution to minor series for 0.66 (201824c89e by @cortinico)
- Revert "Fix Deadlock in RCTi18nUtil (iOS)" (70ddf46 by @Saadnajmi)
apply_Xcode_12_5_M1_post_install_workaround
causing pods targetting iOS 12 and above to fail (a4a3e67554 by @Yonom)
- Rename deprecated
Keyboard.removeEventListener
toKeyboard.removeListener
. (8880c09076 by @yungsters)
- Revert changes in Jest preprocessor to fix tests in external projects (142090a5f3fa7 by @rubennorte)
- Add a function
getIgnorePatterns
inLogBoxData.js
for tests or other usecases. (a950634424) - Reintroduce generated codegen files (7382f556d3 by @kelset)
- Hide the logbox window explicitly. New behavior in iOS SDK appears to retain UIWindow while visible. (72ea0e111f by @paddlefish)
- For Android, general fixes to Appearance API and also fixes AppCompatDelegate.setDefaultNightMode(). For iOS, now works correctly when setting window.overrideUserInterfaceStyle (25a2c608f7 by @mrbrentkelly)
- Fix Android border positioning regression (d1a33cd139 by @oblador)
- Fix for unable to find
find-node.sh
inreact-native-xcode.sh
script (cc59a7cbde by @garethknowles)
- Hermes 0.9.0
- This Hermes release is primarily about closing gap between Hermes cut and this React Native release. Among ~400 commits, contains memory and size wins, bugfixes and other progress behind the scenes. See issue for more details.
- Allow taps on views outside the bounds of a parent with
overflow: visible
(e35a963bfb by @hsource) - Fixes for building on Apple Silicon and Xcode 13 (ac4ddec542 thanks to @mikehardy)
- New bluetooth permissions for Android (2bcc6fac38, eeb8e58 by @iBotPeaches)
- Remove Picker and PickerIOS components cddb97ad18, 77366cd869, ad0ccac0d6
- Remove StatusBarIOS component (7ce0f40f5c by @ecreeth)
- Updated
autoCompleteType
prop ofTextInput
toautoComplete
(27fec9569e by @jeswinsimon)
- Add
global.queueMicrotask
(be189cd819 by @Huxpro) - Added data field to
markerPoint
to allow callers to add additional arbitrary string data to logged points (aa98978302) - Adds accessibility actions to Button (44717152ca by @dennisurtubia)
- Add accessibilityState prop to Slider component (35dd86180b by @sladyn98)
- Add support for "togglebutton"
accessibilityRole
(da899c0cc4 by @kacieb)
- Add INFO, and MENU key event support (bb33c1050b by @havlasme)
- Added all autofill types to TextEdit (d9e0ea77f0 by @safaiyeh)
- Add support to URI keyboard type in Android (1465c8f387)
- Add
MEDIA_STOP
,MEDIA_NEXT
, andMEDIA_PREVIOUS
event support to Android TV (3e2bb331fc by @havlasme) - Allow configuring ndk build architectures (d6ed1ff58b by @janicduplessis)
- Added support for accessibility role of "list" for flatlist and sectioned list (25a16123a6 by @anaskhraza)
- Support for foreground ripple in Pressable (0823f299e5 by @intergalacticspacehighway)
- Support for ScrollAway native nav bars added to
ReactScrollView
(0ef5beee85 by @JoshuaGross)
- Added new prop "selection" to
TextInputProps
(8434177722) - Support for onRequestClose for iOS Modal component. (c29ec46b0e by @intergalacticspacehighway)
- Allow
PlatformColor
to return user-defined named asset color (36c0a7dec1 by @oblador) - Add support for the
UIAccessibilityTraitsTabBar
(11f8d9c7cd by @jimmy623) - Added "altitudeAngle" property to touch events from Apple Pencil/Stylus devices. (f1b1ba8963 by @swittk)
- Introduce
RCTInitializing
to allow NativeModules to initialize themselves (9b45df1fce by @RSNara) - Introduce
RCTCallableJSModules
API for NativeModules (ece373d244 by @RSNara) - Attach
RCTBundleManager
to NativeModules (329f58ee46 by @RSNara) - Introduce RCTBundleManager for bundleURL access (4a1bafe591 by @RSNara)
- Initialized LogBox earlier and centralized access in LogBox module (8abe737068 by @rubennorte)
- ExceptionsManager will no longer report exceptions with
type === 'warn'
. (883e0d5752 by @yungsters) - Disable TouchableOpacity when
accessibilityState.disabled
is set (ea609defe8 by @chakrihacker) - Upgrade Babel from 7.12.3 to 7.14.1 (58a0f9b4e2 by @MichaReiser)
- Upgrade
react-devtools-core
from ~4.6.0 to ^4.13.0 (9e020ef476 by @bvaughn) - Update Flipper to 0.99.0 (41f45a77ad by @swrobel)
- Bump CLI to ^6.0.0 (c677e196a9 by @thymikee)
- Upgrade ESLint TS parser and plugin (3b751d396b by @wcandillon)
- Upgrade folly to 2021.06.28.00 and boost to 1.76.0 (b77948e33b by @Kudo)
- Add BLUETOOTH_ADVERTISE to
PermissionsAndroid
(2bcc6fac38 by @iBotPeaches) - Native ScrollView listeners list maintains weak references to listeners to avoid memory leaks (b673e352fb by @dalves)
- Rename the "Toggle Inspector" DevMenu item to "Hide/Show Element Inspector" (e91fb05db7 by @RSNara)
- Localize "search", "button", and "togglebutton" accessibility roles by using the platform roles (399285f91c by @kacieb)
- Refactor
AndroidTextInput.AndroidTextInput.color
prop to use SharedColor instead of int (bc57056cc3 by @mdvacca) - Upgraded
infer-annotation
to 0.18.0. (b5c94e316c by @yungsters) - Bumped AGP to 4.2.2 (ae494e7ce1 by @cortinico)
- Upgrade folly to 2021.06.28.00 (ebe939b18a by @Kudo)
- Bump NDK to 21.4.7075529 (aa43aab77c by @dulmandakh)
- ScrollView scrollIndicatorInsets to not automatically add safe area on iOS13+ (bc1e602e0c by @justinwh)
StyleSheet.create
will no longer do DEV-time validation. (2e8c0bd7ea by @yungsters)
- Fix
window
not existing in jest setup (bc1c533833 by @timomeh) - Clamp negative values for
numberOfLines
in component (3bc883c6c6 by @ShikaSD) - Add missing
jest/create-cache-key-function
dep root package.json (9a43eac7a3 by @janicduplessis) - Fix Switch ref forwarding (1538fa4455 by @janicduplessis)
- Report fatal errors even if its
type
is "warn". (e4a4c4d6d7 by @yungsters) - Parse
accessibilityAction
props into object instead of string (faaeb778df by @ShikaSD) - Avoid downgrading
console.error
when passed warning-like objects. (0dba0aff18 by @yungsters) - Fix natively driven animations not getting reset properly (129180c77b by @tienphaw)
- Fix compilation errors on Windows. (6d04a46f74)
- Fixed bug parsing hermes call stacks when the file name is empty (e539e7d0be by @MartinSherburn)
- Upgrade dependencies / version of eslint package (463ec22bb9 by @mikehardy)
- Allow taps on views outside the bounds of a parent with
overflow: visible
(e35a963bfb by @hsource) - Fixed to use correct Android theme color for dark theme (b3a715f6ea by @sidverma32)
- Fixed dynamic behavior of
<Text adjustsFontSizeToFit={true}>
on Android (59021521e7) - Fix Dimensions not updating (c18a492858 by @jonnyandrew)
- Fix dashed/dotted border-drawing when
borderRadius
is 0 (3e5998e651 by @IjzerenHein) - Fix selectionColor doesn't style Android TextInput selection handles (5819538a08 by @fabriziobertoglio1987)
- Fix Modal being dismissed incorrectly when pressing escape on a hardware keyboard (f51773ecde by @levibuzolic)
- Avoid calling setHint with a null parameter causing cursor to jump to the right (3560753559 by @fabriziobertoglio1987)
- Create slider accessibility delegate in createViewInstance (91cac20289 by @janicduplessis)
- Quickfix individual border style dotted or dashed rendering as solid (cb0e1d603a by @fabriziobertoglio1987)
- Make
mHybridData
thread safe (7929551623) - Exit early from layout in textview if text layout is null (8dfc3bcda1 by @ShikaSD)
- Fix
NullPointerException
caused by race condition inReactInstanceManager.getViewManagerNames
method (fb386fccdd by @mdvacca) - Pressable ripple subsequent press coordinates. (961b00d8c0 by @intergalacticspacehighway)
- TouchableNativeFeedback ripple starts on previous touch location. (d85d72d0d9 by @intergalacticspacehighway)
- Fix Crash in
ViewProps.isLayoutOnly
(e6b9508f12 by @javache) - Fixed a crash when updating
snapToOffsets
to a null value (ba387b91d3 by @maxoumime) - Adding
setAccessible
toReactImageManager
to allow screenreader announce Image accessibilityState of "disabled" (333b46c4b0 by @fabriziobertoglio1987) - Fixed Android library builds with react.gradle file (88f0676ae4 by @Legion2)
- Fix deadlock on
RCTi18nUtil
(fcead14b0e by @Saadnajmi) - Avoid re-encoding images when uploading local files (f78526ce3d by @arthuralee)
- content is reset when emoji is entered at the max length (f3b8d4976f)
- Use
actionName
in accessibility event callback (fed6ad5bad by @ShikaSD)
🚨 IMPORTANT: This is an exceptional release on an unsupported version. We recommend you upgrade to one of the supported versions, listed here.
- Force dependencies resolution to minor series for 0.65 (9548eaea74 by @kelset)
- For Android, general fixes to Appearance API and also fixes AppCompatDelegate.setDefaultNightMode(). For iOS, now works correctly when setting window.overrideUserInterfaceStyle (25a2c608f7 by @mrbrentkelly)
- Set
react-test-renderer
to17.0.2
in the template (d272880 by @@rickhanlonii)
- Resolve
NODE_BINARY
after finding the right path to node (d75683 by @santiagofm)
ColorProps
with value null should be defaultColor instead of transparent (842bcb902e by @hank121314)- Android Gradle Plugin 7 compatibility (06e31c748f by @dulmandakh)
- Hermes 0.8.1. Please see the highlighted changes from its 0.8.0 and 0.8.1 release notes.
react-native-codegen
version0.0.7
is now needed as adevDependency
in thepackage.json
.
- Replace
flipper_post_install
withreact_native_post_install
hook. Will automatically detect if Flipper is enabled. (42dde12aac by @grabbou)
- Add
onPressIn
&onPressOut
props to Text (1d924549ca by @adrienharnay) - Stabilize
RootTagContext
. And temporarily export bothunstable_RootTagContext
andRootTagContext
(9d489354ae by @nadiia) - Implement
sendAccessibilityEvent
in the React(Fabric/non-Fabric) renderer (99b7052248 by @JoshuaGross) - Re-added
localeIdentifier
toI18nManager
constants (6b91ae73cd by @acoates-ms) - Add PressabilityPerformanceEventEmitter (c4c0065b00 by @JoshuaGross)
- Added
displayName
to some RN contexts to make them more easy to differentiate when debugging. (68a476103a by @bvaughn) - Add
displayName
toTouchableHighlight
andTouchableOpacity
(c4e40b81c0 by @brunohkbx) - Added context to URL's error messages when the feature is not implemented (452240bafa by @Crash--)
- Add a
stickyHeaderHiddenOnScroll
option to keep the sticky header hidden during scrolling down, and only slide in when scrolling up (ffba25c648) - Added
debugName
parameter torenderApplication
to use as the display name for the React root tree (eeb36f4709 by @rubennorte) - Adding support for
cancelOnBackground
for UserFlow (0d4985900b by @dmitry-voronkevich) - Introducing RuntimeScheduler module (eb13baf2a6 by @sammy-SC)
- Roll out TurboModule Promise Async Dispatch (5c4f145e33 by @RSNara)
- Add
getRecommendedTimeoutMillis
to AccessibilityInfo (d29a7e7a89 by @grgr-dkrk) - TalkBack now announces "unselected" when changing
accessibilityState.selected
to false. (73bc96ecf9 by @yungsters) - Fbjni version bump to 0.0.3 (24f9f75bf6 by @IvanKobzarev)
- Add
onFocus
andonBlur
for Pressable on Android. (cab4da7288) - Introduce API to allow applications to register
TurboModuleManagerDelegates
withReactInstanceManager
(eb7e89e286 by @RSNara) - Added convenience methods to simplify native Event classes and ease migrations (72d0ddc16f by @JoshuaGross)
- High contrast dynamic color options for dark and light mode. (4b9d9dda27 by @birkir)
- Adds an ability to retrieve the notifications authorization status from JavaScript side. (b86e52a9ec)
- Added reset method to
RCTFabricSurface
to help with reloads (53858ceaa3 by @PeteTheHeat) - Allow
RCTRootView
to be initialized with a frame (00bc09c8f7 by @appden) - Allow for configuring the
NSURLSessionConfiguration
(58444c74f5 by @hakonk) - Use react-native-codegen in iOS app template (e99b8bbb40 by @hramos)
- Bump Flipper + Bump hermes (#31872 by @Titozzz)
- Show warning when native module without
addListener
orremoveListeners
is passed toNativeEventEmitter
(114be1d217 by @rubennorte) - Disable
accessibilityState
when theTouchableWithoutFeedback
isdisabled
. (697164077c by @carloscuesta) - Upgraded
react-devtools-core dependency
to 4.12.0 (5a2693d78f by @bvaughn) - Set disabled
accessibilityState
whenTouchableHighlight
is disabled (f69e096bb4 by @Naturalclar) - Add checks and logs to for better error handling (ea1f9531f0)
- CreateAnimatedComponent: removed deprecated lifecycles usage (ba61267015 by @nadiia)
- Hide caret in the
TextInput
during test runs. (397bfa6ad7 by @nadiia) - Use
usePressability
hook in TextInput (c4aa411ee3 by @nadiia) Keyboard
no longer inherits fromNativeEventEmitter
, so it no longer implementsremoveAllListeners
, andremoveSubscription
. (1049835b50 by @yungsters)AppState
no longer inherits fromNativeEventEmitter
, so it no longer implementsaddListener
,removeAllListeners
, andremoveSubscription
. (6f22989e92 by @yungsters)DevSettings
no longer inherits fromNativeEventEmitter
(70cd569e7e by @yungsters)- LogBox will not initially collapse stack frames if every frame would be collapsed. (88a41f180c by @yungsters)
- Update package name warning of deprecated modules (34e1b0ef98 by @Naturalclar)
- Update react-native-codegen to 0.0.7 (cd6c9f3273 by @Naturalclar)
- Update template devDependencies (652e3953f4 by @Bardiamist)
- Don't minify JS bundle by default when using hermes (1a67dda668 by @janicduplessis)
- Migrate warnings in index.js to point to new lean core repos (4421a64ac1 by @Naturalclar)
- Update Flipper to 0.93.0 (06c33e9abe by @mweststrate)
- Update Flipper to 0.91.1, fixed iOS build support for i386,
use_flipper!()
will no longer need custom overrides to build with XCode 12.5 (4246c75d0d by @mweststrate) - Find node on m1 via homebrew node managers (4d40b53c12 by @danilobuerger)
- Clean up EventObjectPropertyType (0e46080847 by @RSNara)
Appearance.addChangeListener
now returns anEventSubscription
. (305b4253c2 by @yungsters)Dimensions.addEventListener
now returns anEventSubscription
. (c47a03563d by @yungsters)- Updated react-native-community/cli to v6 (hence updating metro to 0.66) (0d32aef3aa by @Titozzz)
- Reflect Hermes release version from HermesBadge (c54aeccf1a by @Huxpro)
- Modified
NativeEventEmitter
to also use the passed native module to report subscriptions on Android (f5502fbda9 by @rubennorte) - RefreshControl.size prop changed its type to string, the valid values are: 'default' and 'large' (dd60414578, 65975dd28d by @mdvacca)
- TouchableNativeFeedback: sync disabled prop with accessibilityState (88f2356eed by @kyamashiro)
- Rename
hasActiveCatalystInstance
tohasActiveReactInstance
(dfa8eb0558) - Record latest error type in dev support (423453e105)
- Passing accessibility state in button so it can announce disabled in talkback (5889cbebe3 by @huzaifaaak)
- Fixed issue that causes HorizontalScrollView to shift to the right when a TextInput is selected and keyboard pops up (b9b23e1ab1 by @JoshuaGross)
- Fixed jumpy RTL horizontal ScrollViews. If you have Android-specific JS hacks for handling RTL in ScrollViews, you probably can/probably want to remove them, because they should be reliable now and require fewer hacks. (fc032cd8d8 by @JoshuaGross)
- Add a new check to avoid calling this method (2b708560fc)
- Clipping subviews has been temporarily disabled in HorizontalScrollView in RTL mode. Minor/negligible perf impact. (da8ed6b625 by @JoshuaGross)
- Change StatusBar style handling strategy (7324b92dc4)
- Clean listeners during destroy of
ReactContext
(d79212120b by @mdvacca) - Bump buildToolsVersion to 30.0.2, (5d01110b53 by @dulmandakh)
- Initial replacement of jcenter with mavenCentral. (704dd2812f by @ShikaSD)
- Remove developer tool guard for android (c7d28bca30)
- Bump Android compileSdkVersion and targetSdkVersion from 29 to 30 (55c8833817, c7efd5b369 by @mdvacca)
- Upgrade jsc-android to 250230.2.1 (341f061ce3 by @Kudo)
- Bump Gradle to 6.9, Android Gradle Plugin to 4.2.1 (547b4c92e4 by @dulmandakh)
- Bump gradle wrapper to 6.8.3 (7258afeea3 by @dulmandakh)
- Bumping OkHttp from 4.9.0 to 4.9.1. (6caec9d91f by @gedeagas)
- Bumping OkHttp from v3 to v4. (8207e97f91 by @arazabishov)
- Update Okhttp to version 3.14.19 (6bfd89d277 by @LukasFPV)
- Bump Fresco to 2.5.0 (8fa8934011 by @dulmandakh)
- Bump Fresco to 2.3.0 (280f524b49 by @dulmandakh)
- Give RCTNetworking handler provider block RCTModuleRegistry (4c5182c1cc by @RSNara)
- Give RCTImageURLLoader's loader/decoder provider blocks RCTModuleRegistry (af6bcfa3ab by @RSNara)
- Make RCTTurboModule
getTurboModule
: required (e0b8f5080f by @RSNara) - Update React.podspec to require cocoapods >= 1.10.1 (b50b7e3a19 by @sunnylqm)
- Fix glog pod install with Xcode 12 (8a5fd8ea95 by @dulmandakh)
- Only show Dev Menu on shake if RN view is visible (7186c4de4f by @PeteTheHeat)
progressViewOffset
prop ofRefreshControl
andVirtualizedList
now works on iOS (310a6bcf4b by @davidbiedenbach)- Roll out TurboModule block copy (5275895af5 by @RSNara)
- Add instructions to template/ios/Podfile for enabling hermes (a326a30e32 by @SConaway)
EventEmitter#removeSubscription
is now deprecated. (cb6cbd12f8 by @yungsters)- It is now deprecated to pass a constructor argument to
EventEmitter(...)
. (14f7a2b707 by @yungsters) - Deprecate
AccessibilityInfo.removeEventListener
. (003d63d6e5 by @yungsters) - Deprecate
Linking.removeEventListener
. Instead, callremove()
on the subscription returned byLinking.addEventListener
. (6d1aca806c, 035718ba97 by @yungsters) - Old Native method to create ScrollEvent has been deprecated and will be removed at some point in the (distant) future (62f0dee235 by @JoshuaGross)
- Deprecate
NativeModule.onCatalystInstanceDestroy()
forNativeModule.invalidate()
(18c8417290 by @RSNara) - Mark
hasActiveCatalystInstance()
as Deprecated (1b50722a7e)
- Stabilize
RootTagContext
(9b98edcd01 by @nadiia) - Removed
getNode()
from animated component refs. (b914153286 by @yungsters) - Remove legacy context API usage in AppContainer (17be3a0032 by @nadiia)
- Removed
AccessibilityInfo.fetch
, useisScreenReaderEnabled
instead. (d831134d51 by @yungsters) - Remove unused VR-only props (95f7c791c5 by @Simek)
- Removed
RCTDeviceEventEmitter.sharedSubscribers
. (3af0c84aa5 by @yungsters) - Moved
ScrollResponder.Mixin
methods into ScrollView to Remove ScrollResponder.js (099f67cf8a by @kacieb) NativeEventEmitter
no longer inherits fromEventEmitter
, so it no longer implementsremoveListener
andremoveSubscription
. Instead, use theremove()
method on the subscription object returned byaddListener
. (d39643b9de by @yungsters)RCTDeviceEventEmitter
no longer throws forStatusBar
,Keyboard
, andAppState
events. However, you are still recommended to use the more appropriate modules for listening to these events. (c8c975f0d7 by @yungsters)- Removed second optional argument of
NativeEventEmitter
constructor (f5f47879b8 by @yungsters) - Removed warning on Android for
setTimeout
with delays greater than 1 minute. (480dabd665 by @yungsters) - Removed
Touchable.TOUCH_TARGET_DEBUG
property. (ef765d423c by @yungsters)
- Remove okhttp3 proguard rules (b4c9f13fe7 by @doniwinata0309)
- Remove filter pills (5cf4ab8dd2 by @suminkimm)
- Remove
ReactFragmentActivity
class. (2798e7172b by @dulmandakh) - Remove jcenter (70da640946 by @dulmandakh)
- Removed event methods except
addListener
fromNetworking
(a81b7d18fa by @yungsters) - Delete deprecated "live reloading" setting (b512beb0c4 by @PeteTheHeat)
- Remove iOS10/tvOS10 support (f2c6279ca4, a1d626739d by @PeteTheHeat)
- Remove iOS10/tvOS10 support from remaining podfiles (f0faa7843c by @PeteTheHeat)
- Delete RCTTurboModuleManagerDelegate
getTurboModule:initParams
(c4c34a1237 by @RSNara)
- Don't disconnect DevTools WebSocket connection on Cmd+D (60a18c138c by @bvaughn)
- For native components that accept color arrays, invalid elements will now fallback to transparent with a console error. (bb6cd56fae by @yungsters)
- Fixes usage of std::thread in runtime executor (75d9ba733f by @asklar)
- Fix sticky header not sticking on first render in ScrollView (921c9ff165 by @kacieb)
- Fix ScrollView
getInnerViewNode
andgetInnerViewRef
ref methods (6e36d046a3 by @vshab) - Fix stalling UI due to a bug in KeyboardAvoidingView (67309277fe by @sammy-SC)
- Avoid eating clicks/taps into ScrollView when using physical keyboard (6d2a527984 by @NickGerleman)
- Fix nested FlatList not firing
onScrollDragEnd
andonMomentum
methods (46be292f67 by @kacieb) - Fix race condition in Debug Inspector shutdown (d021000b9e by @MartinSherburn)
- Fixes layout of nodes with
YGDisplayNone
andYGPositionTypeAbsolute
(b15f8a30e7 by @rozele) - Fix changes of View visibilities (4076293aa1 by @mdvacca)
- Fix: save connection url as class variable (8facc865ab by @sirpy)
- Fix Hermes build on folly version 2021.04.26.00 (8eceee744e by @PeteTheHeat)
- Fix disabled handling for Text (33ff4445dc by @lunaleaps)
- Fix disabled prop not disabling onPress for voice assistant (1c7d9c8046 by @kacieb)
- Fix unsafe cast and detect overflow in MapBuffer. (e69f1c9f50)
- Fix(deps): bump metro to 0.66.2 + dedup (e40f58272d by @Titozzz)
- Fixed crash when using style
borderRadius: any
withbackgroundColor: null
(42b6e6682c) - Fix font weight numeric values (3827ca6171 by @fabriziobertoglio1987)
- Fix wrong ripple color on Switch component (1b0683533a by @rnike)
- Fix Selected State does not announce when TextInput Component selected on Android (7ee2acc6c8 by @fabriziobertoglio1987)
- Fix layout bug in ReactTextView. (dec1b6ba15)
- Fix source build on Windows machines vol. 2 (c37d49492b)
- Make NativeModules immediately initializable (2bf866e401 by @RSNara)
- Restore
android_hyphenationFrequency
onText
. (1433ed6333 by @yungsters) - Display the
testID
as theresource-id
for black-box testing frameworks (381fb395ad by @jdeff) - Fix support for blobs larger than 64 KB (f00e348ca7 by @tomekzaw)
- Fix building React Android on Windows. (5dc15222b2)
- Fix race-condition on the initialization of ReactRootViews (74a756846f by @mdvacca)
- Animated images without loop no longer animate twice (17aa1e320e by @comvenger-brandon)
- Allow PlatformColor to work with border colors (c974cbff04 by @danilobuerger)
- RCTSurfaceHostingView default background color is now consistent with RCTRootView (f31497354b by @fkgozali)
- Invalidate TurboModules with infra-generated method queues on their method queues (497eb578ab by @RSNara)
- Fix RefreshControl layout when removed from window (e67811e7a6 by @janicduplessis)
- Tab Accessibility Role had incorrect localization string (80a10953f9 by @adkenyon)
- Incorrect ScrollView offset on update (a4526bcc3f by @rnike)
- Modal's
onDismiss
prop will now be called successfully. (d85d5d2e19 by @kkoudev) - Fix DatePicker sizing issue (84d55868e8 by @sammy-SC)
- First press not working after pull to refresh (c4950610e4 by @rnike)
- Fix Codegen silently failing when Yarn is not installed, or when Yarn v2 is active. (07e4953514 by @ivanmoskalev)
- Make codegen more reliable on iOS (12fccdeea3 by @janicduplessis)
- Fix crash in RCTCoreModulesClassProvider during quit (2f62c2892d by @appden)
- Fix an issue calling stopSurface in bridgeless mode before surface is started (81096901a8)
- Move hermes to a separate podspec (0959ff36d1 by @janicduplessis)
- Fix cli bundle platform for Mac Catalyst in
react-native-xcode.sh
(b496a531e0 by @robertying) - Fix
prefetchImageWithMetadata
redbox(f27e305056 by @p-sun) - Roll out RCTNetworking extraneous NativeModule call removal (0e0d2e84f5 by @RSNara)
- Fix Hermes + no Flipper build on Xcode 12.5 (b9243e00e3 by @PeteTheHeat)
- Fix(hermes): fixed hermes build on iOS (59abb5f378 by @Titozzz)
- Fix builds on Xcode 12.5 (36b58a824e by @PeteTheHeat)
- Fix running React Native project with Xcode 12 in Release on iPhone Simulator (fdcacd7f76 by @grabbou)
🚨 IMPORTANT: This is an exceptional release on an unsupported version. We recommend you upgrade to one of the supported versions, listed here.
- Add an afterEvaluate to solve AGP 4.1.x configuration resolution (667f1bd21a by @cortinico)
- Force dependencies resolution to minor series for 0.64 (a6a183ad81 by @kelset)
- For Android, general fixes to Appearance API and also fixes AppCompatDelegate.setDefaultNightMode(). For iOS, now works correctly when setting window.overrideUserInterfaceStyle (25a2c608f7 by @mrbrentkelly)
- Find-node.sh supports Homebrew on M1 (502b819049 by @dulmandakh)
- Refactor UIManagerHelper.getUIManager to return null when there's no UIManager registered (b0e8c1eac0 by @mdvacca)
- Fix ScrollViewStickyHeader to push up header above it (d754bdefc6 by @kacieb)
- Font family is not apply when secureTextEntry is true (cda77c77dd83cba07e6c2e56e938c3e4f7faf8fc by @hank121314)
- Dimension update events are now properly sent following orientation change (a6a4d3365f17332e367c34357a07a73f97d6ec83 by @ajpaulingalls)
- Fixes to ensure Xcode 12.5 builds (cf8a364767, 1c4ac48a55 and 76f45d35e7 by @kelset)
- Update validateBaseUrl to use latest regex (33ef82ce6d by @FBNeal)
- Enable
inlineRequires
by default in new projects'metro.config.js
. Gives a performance benefit but slightly different JS execution order (959365a902 by @GantMan) - Minimum supported Node version changed to 12 (4b92e2e53d by @safaiyeh)
- Remove deprecated
CameraRoll
API (deprecated in 0.61) (824d3a9770 by @seanyusa) - Remove deprecated
CheckBox
component (deprecated in 0.60) (dff17effe5 by @poteto) - Removed
DEPRECATED_sendUpdatedChildFrames
prop fromScrollView
component (deprecated in 0.47) (345d0c1abb by @ZHUANGPP) - On
Image
,onLoad
event objects'source.url
is now renamed tosource.uri
. (74ab8f6e5a by @yungsters)
- Remove support of Android API levels 16 through 20. The new minSDK version will be 21+ moving forward. (973198667d, 25a40cbc61, f829722b54, b133427778, 9b34aa261c, and 79d0a7d711 by @mdvacca; 49f10fd2e5 and a17ff44adc by @JoshuaGross; dd4298a377 by @safaiyeh)
- Fix ReadableArray null annotations. Possibly breaking change for Kotlin apps. (d76556543f by @dulmandakh)
- On
Image
,onLoad
andonError
event objects will no longer have an extrauri
property. (74ab8f6e5a by @yungsters) - Deletes the method PlayTouchSound method from UIManagerModule, this method was moved to the SoundManagerModule class. (d0c4c5eaf9 by @mdvacca)
- Remove
calculateChildFrames
fromRCTScrollView
(62aa84a325 by @PeteTheHeat)
- Deprecated method
UIManagerModule.getUIImplementation
. This method will not be part of the new architecture of React Native. (fe79abb32c by @mdvacca)
- Adds the Hermes runtime bytecode version number to the JS bundle requestURL. This allows Metro with Bytecode to work with prebuilt binaries. (34c405462f)
- TextInput now supports
onPressIn
andonPressOut
. (b7b0e23202 by @yungsters) - Allow setting a custom performance logger in XMLHttpRequest (57b10f759e by @rubennorte)
- Add mock for
DevSettings
to jest preset (a50f736bb6 by @MarcoScabbiolo) - Added Inspector overlay support for Pressable (8ac467c51b by @yungsters)
- Introduce NativeModulePerfLogger (0486640571 by @RSNara)
- Add default
titlePlaceholder
in template configuration. (8ffa180d80 by @Esemesek) - Modified
renderApplication
to forwardinitialProps
toWrapperComponent
(4f5a092bf6 by @rubennorte) - Add warning to
VirtualizedList
when incorrectly using nested Lists or custom scroll components (7f2515ece8 by @kacieb) - Add native module for loading split JS bundles in development (fca3a39da5 by @makovkastar)
- Added
listenerCount()
toDeviceEventEmitter
andNativeEventEmitter
. (b11d6ecbb8 by @yungsters)
- Upgrade Hermes to version 0.7 and turn on ES6 Proxy support (776a415d98 and bb003816a3 by @Huxpro, a28dd38909 by @janicduplessis)
- Add support for
shadowColor
on API level >= 28 (cfa4260598 by @IjzerenHein) - Add
android_hyphenationFrequency
prop to Text component (0fda91ffff and 7d8aeb4955 by @fabriziobertoglio1987) - Add
accessibilityHint
to TouchableNativeFeedback (72285d808d by @CMDadabo) - Adds support for the
onProgress
event onImage
(fa0e6f8051 by @yungsters) - ScrollView now supports
contentOffset
(ed29ba13f9 by @JoshuaGross) - Add an explicit NDK version to Android template (18ffe12203 by @safaiyeh)
- Exposed
getFlex
method as part of ReactShadowNode API (6570f7887b by @mdvacca) - Add
\*.hprof
files to gitignore (69ce9c21d4 by @enesozturk) - Move
DevSettingsActivity
from main to debug (d8e6c45782 by @invalid-email-address)
PlatformColor
: add missingclearColor
(b7167c23fc by @Simek)- Update template to Xcode 12 (6685aba462 by @janicduplessis)
- Add
importantForAccessibility
toAccessibilityProps
(fd660fd0c5 by @ZHUANGPP) - Allow hotkeys to be used without command key (f2b9ec7981 by @rickhanlonii)
- Add
disableButtonsIndices
option toActionSheetIOS
component (a7c1c5aff2 by @lukewalczak) - Add
showSoftInputOnFocus
toTextInput
(d54113d8c4 by @gurs1kh) - Added hostname to loading banner. (96999339b6 by @rickhanlonii)
- Allow iOS
PlatformColor
strings to be ObjC or Swift UIColor selectors (25793eab56 by @tom-un) - Add Dark Mode support to loading banner (94c45af136 by @rickhanlonii)
- Allow image loaders to enable/disable image telemetry (e37708dfb6 by @p-sun)
- Add
RCTDevSplitBundleLoader
native module (ad879e50bc by @cpojer)
- Update flipper to 0.75.1 (3399896ae7 by @janicduplessis)
- Refined Flow type for
Text
component. (a911efaecd by @yungsters) - Changed type definition of IPerformanceLogger from object to interface (b90f4d978f by @rubennorte)
- Removed
fbjs
dependency fromreact-native
. (54e19a6b7f by @yungsters) - Refined
ImageSource
Flow type for array-variant and headers. (a0dc252dc8 by @yungsters) - Some warnings changed to use
console.warn
without the "Warning:" prefix. (982272932c by @yungsters) - Core/Differ: detect and optimize reparenting (1e4d8d902d by @JoshuaGross)
- Improve "not a registered callable module" error message (e27d656ef3 by @vonovak)
- Use
VirtualizedList
'sonEndReachedThreshold
default value when null is provided (10b4b9505a by @fatalsun) - Migrate large amount of modules to flow strict and strict-local (4409642811 by @rubennorte)
- Enable exact objects by default in the project template Flow config (050a7dd019 by @rubennorte)
- Minor fix in Hermes Inspector cli tool help message (6ffb983f83)
- Updated the React Hooks ESLint Plugin in the community ESLint config (ac87e90fa5 by @gaearon)
- Don't scroll to
initialScrollIndex
ifcontentOffset
is provided to the sameVirtualizedList
(3346ac7f96 by @markv) - Migrated
VirtualizedList
legacy context implementation toReact.Context
. (7bd694fc6f by @yungsters) - Changed Flow type of
BackHandler
to be more specific. (a903d1b86a by @Naturalclar) - Updated transitive dependency
kind-of
to 6.0.3 to resolve vulnerability (abde0154ba by @TheSavior) - Upgrade eslint-config dependencies. (93019dc190 by @wcandillon)
- Upgrade to Jest 25 (f248ba1c8b by @cpojer)
- Use
React.Children.count
for counting children ofTextInput
(92160f3144 by @vonovak) - Annotate components in QPL logging using ImageAnalyticsTagContext (60b7a3085c by @p-sun)
- Upgrade to React 17 (24bca492c3 by @rickhanlonii)
- Made promise polyfill conditionalized on Hermes (0a28b34dac by @Huxpro)
- Flow: Remove type union in PickeriOS/PickerNativeComponent (3113e47b9b by @PeteTheHeat)
- Flow: export ColorValue from StyleSheet instead of StyleSheetTypes (0a67133124)
- Forward URL parameters from main bundle to hot reloaded bundles (b4785e5144 by @motiz88)
- Add package name / bundle ID to bundle URL in development (9b5359133b by @motiz88)
- Bump Gradle Wrapper to 6.7 (8988a073b4, 5bc67b658e, and 3a8559b86c by @friederbluemle; e559aee642 and e9fd93f53f by @dulmandakh)
- Bump Android Gradle Plugin to 4.1.0 (cf8368f204 and 553fb8b28d by @friederbluemle, dfa9db49e3 by @dulmandakh)
- Bump Okio to 1.17.5 (1e78e0655d by @dulmandakh)
- Make Android versionCodeOverride for new apps using the template human-readable (e1bf515ae8 by @gedeagas)
- Bump SoLoader to 0.9.0 (7465239230 by @dulmandakh)
- Update Okhttp to version 3.12.12 (0f6fcb2c27 by @halaei)
- Update Android build tools to 29.0.3 (e629e94b46 by @friederbluemle)
- ViewCommands on Android now execute earlier, as a perf optimization. (c6b9cc36da by @JoshuaGross)
- Effect of
blurRadius
now more closely matches other platforms. (64860972be by @yungsters) - Migrate Android tests to Robolectric v4 (6a78b32878 by @jselbo, d373a8d88c and 18f7abae07 by @fkgozali)
- Get ripple drawables by id instead of by name (c8ed2dbbb2 by @vonovak)
TextInput
: SetcaretHidden
default value totrue
on Xiaomi devices to fix the crash (b5b4a70410)- Update loading banner text and colors (6afc984e81 by @makovkastar)
- Declare all attrs used in res targets (05abbd245c by @IanChilds)
- Upgraded JSI with a new HERMES_ENABLE_BITCODE flag (311d4e9ef0 by @grabbou)
- Remove main queue execution of constantsToExport in NativeModules (d7ac21cec5 by @RSNara)
- Updated loading banner messages and color (3729fe8de0 by @rickhanlonii)
- Speed up loading banner animations (3fb37b4326 by @rickhanlonii)
- Shrink loading bar down to not cover safe area. (f0dfd35108 by @rickhanlonii)
- Build macOS framework and add CocoaPods podspec (ffa3d7f638 by @alloy)
- Set
NSAllowsArbitraryLoads
tofalse
by default in template (7b61a968fd by @wddwycc)
Text.viewConfig
is no longer exported. (06ce643565 by @yungsters)- Removed
once()
andremoveCurrentListener()
fromDeviceEventEmitter
andNativeEventEmitter
. (87a2e29f59 by @yungsters) - Removed tvOS related files from the template (df03228a61 by @Naturalclar)
- Remove undocumented ColorAndroid function (411c344794 by @tom-un)
- Fix handling of very deeply nested data across the bridge (a8c90e6af4 by @mhorowitz)
- Prevent TypeError in TaskQueue when cancelling a started but not resolved promise. (14042fb76f by @robwalkerco)
- Fix typo in
ActionSheetManager
invariant message (9c353b5ab0 by @sweatherall) TouchableHighlight
now correctly firesonPress
when pressed for >500ms, whenonLongPress
is not supplied. (bdf3c79110 by @yungsters)Pressability
now consistently firesonPressIn
andonPressOut
, even without anonPress
. (0c392bc405 by @yungsters)- Remove extraneous argument for
onResponderGrant
Flow type onText
. (49015b0f5b by @yungsters) - Prevent
ScrollView
From Stealing Responder Capture When Using Physical Keyboard (93e7a7a70d by @NickGerleman) - Fix failure when debugging code in a browser; was caused by
performanceNow()
function. (db474a47b7 by @zerkella) - Fix test renderer mocks to use the
displayName
more often. (4b935ae95f by @rickhanlonii) - Make sure
LogBox
is not included in production bundles (d3b937f990 by @janicduplessis) - Mark
force
as an optional property of the PressEvent object (ad2f98df8f by @Simek) - Fix invalid
event
objects fromonPressOut
in certain cases (2c600b7c5a by @yungsters) - When Hermes debugger is enabled continue to send log messages to the console (77ef8f881f by @MartinSherburn)
- Handle nullish
initialProps
correctly inrenderApplication
(26c120c632 by @rubennorte) - Fix Flow type of Touchable{Opacity,Bounce,Highlight} being exported as
any
(de7f69a58e by @draperunner) - Clarified the boundaries in error message of
scrollToIndex
(78d2b3c813 by @sasurau4) - Fix jsi cmake include dirs (f5d00e5a29 by @ryantrem)
- Fix race condition in
KeyboardAvoidingView
(b08fff6f86 by @sammy-SC) - Fix clone issue in YogaNodeJNIBase (2707c17b07 by @pasqualeanatriello)
- Fix "Cannot read property 'getNativeScrollRef' of undefined" in createAnimatedComponent (629e10e91b by @sammy-SC)
- Fix App Bundle/Release build missing index.android.bundle with gradle plugin 4.1.0/gradle 6.5 (53f55001af by @tomoima525)
- Do not crash when
ScrollView
snapToOffsets
array is empty (d238da71aa by @makovkastar) - Fixed
TextInput
not being selectable inremoveClippedSubviews
FlatLists (12a50c0a44 by @hsource) - Make nested
Text
components accessible as links (b352e2da81 by @ejanzer) - Move selection to the end of the text input on accessibility click (f0e80ae229 by @ejanzer)
- Fix secure text entry setting to always hide text (f19372361f by @smeenai)
- Make promise NativeModule methods dispatch to NativeModules thread (9c35b5b8c4 by @RSNara)
- Fix
NoSuchMethodException
when callingDisplayMetricsHolder.initDisplayMetrics
in Android API level <= 16 (though those Android versions are no longer supported) (35128f45d1 by @mdvacca) - Fixed error message in
DebugCorePackage.getModule
(a71f37b951 by @TheWirv) - ScrollView, HorizontalScrollView: do not ignore
null
contentOffset
prop (9e85b7ad88 by @vonovak) - Picker - fix usage of setNativeSelectedPosition in onSelect (078e386024)
- Fix intermittent crash of ReactSlider on Android (32888a8b4a by @mdvacca)
- Use actual constructor when throwing GradleScriptException (8ef0f1d90b)
- Fix
skewX
transform decomposition (797367c089 by @wcandillon) - Allow passing partial contentOffset to ScrollView on Android (0348953914 by @janicduplessis)
- Check if NativeModules returned from CatalystInstanceImpl.getNativeModule are null before using them. (9263eb5d38 by @RSNara)
- Fix calculating view position within the window in split-screen mode (b020e7c440 by @jakubkinst)
- Text layout no longer ignores parent bounds (025be8148a by @yungsters)
- Fixed excessive space in Text view with word-wrapping (dda7f82261 by @yungsters)
Pressable
: ripple should be applied even when borderless == false (44ec762e41 by @vonovak)- Fix
ReadableNativeMap.getNullableValue
to match signature and return null instead of throwing (1015194ba1 by @dulmandakh) Picker
: set color filter so that the arrow matches the text color (bb8d0f5732 by @ejanzer)Modal
: fix crash when updating props after the activity disappeared (7abcaafd66 by @mdvacca)- Fix crash while measuring ReactSlider in Android API < 21 (75e6f7961f by @mdvacca)
- Fix measureLayout function for VirtualTexts (5c48c94f8c by @mdvacca)
- Smoother scrolling in ScrollView, HorizontalScrollView (10314fe621 by @JoshuaGross)
- Synchronize RCTImageLoader loaders initialization (edb6fa7979 by @p-sun)
- Make sure js bundle still exists at bundle-output path (3a41f69f9c by @janicduplessis)
- Fix crash in WebSocket module (748aa13747 by @marksinkovics)
- Align multi-line
TextInput
onSubmitEditing
behavior: don't call onSubmitEditing when blurOnSubmit=false (521b16730d by @tido64) - Fix passing react native path in Podfile template (e599d6c5d3 by @janicduplessis)
- Call [RCTEventEmitter stopObserving] on correct method queue (23717e48af by @appden)
- Persist Enable Fast Refresh across app launches (845e9eaafb by @stigi)
- Fix xcodebuild warnings in React-Core (cb719a16cc)
- Fix that RCTModalHostView can't be dismissed while being presented (8933724d7d by @Mi-ZAZ)
- Fix "'RCTBlobPlugins.h' file not found" when building iOS (aaeffdb49a by @tido64)
- Improved text rendering on macOS Catalyst (694e22de84 by @andymatuschak)
- Fixed showing Alert while closing a Modal (f319ff321c by @devon94)
- Fix
refreshControl
messes up navigationBar largeTitles (1b0fb9bead by @yogevbd) - When Sec-WebSocket-Protocol header is empty vaulue, IIS server will return error 502. (fd85b84a86 by @bill2004158)
- Fix multiline
TextInput
crash when inserting/removing lots of text (15dda0ab5a by @tido64) - Group accessible views using the view hierarchy (e2fd9d4f22 by @p-sun)
- Fix Flow types for StatusBar showHideTransition (e5a8f4270e by @Simek)
- Better error message when missing entry file (e73208e2ca by @petrbela)
- Fix imports in
RCTUtilsUIOverride.h
(b7e8f66795 by @Fanghao) - Fix skewX/skewY/perspective/matrix transforms. (4b956fe5a6 by @wcandillon)
- Fix module lookup race condition on bridge invalidation. (8ad810717e by @fkgozali)
- Fix duration calculation for
RCTUIImageViewAnimated
(12f8b2598f) - Cap loading banner percentage at 100% (e27542bb13 by @rickhanlonii)
- Delay loading banner message to prevent flashing messages (2b771b0129 by @rickhanlonii)
- Do not update loading banner message while hiding the banner (131c497aa2 by @rickhanlonii)
- Search en0 through en8 for the Metro Bundler's IP address when generating iOS debug builds (b2b23a2017)
- Migrate
frameInterval
topreferredFramesPerSecond
, fixing Xcode warnings (335f3aabe2 by @safaiyeh) - Animated image should animate at the same speed regardless of framerate (b0d0e51a77 by @p-sun)
- Fix logging lifecycle when image is scrolled out and immediately back in (1f95c9b62e by @p-sun)
- Fix image instrumentation lifecycle on image cancel (6cba4d2006 by @p-sun)
- Break retain cycle in RCTLegacyViewManagerInteropCoordinator (8f90ce26a5 by @sammy-SC)
- Respect port information if available from RCTBundleURLProvider (7d44959940 by @jimmy623)
- Remove port from JSLocation when returning packager host (12543d557f by @jimmy623)
- Remove requestToken being nil check from [RCTNetworkTask validateRequestToken] (ffc90c7f92 by @sammy-SC)
- Remove unnecessary packager running check when saved JSLocation is empty (bbb7bef539 by @jimmy623)
- Check whether packager is running in RCTBundleURLProvider for saved JSLocation (3d882495d5 by @jimmy623)
- Fix crash inside RCTRedBox when trying to present same UIViewController twice (46c77dc296 by @sammy-SC)
- Fix outdated CocoaPods version requirement in a React.podspec (8a6ac1fef3 by @sunnylqm)
🚨 IMPORTANT: This is an exceptional release on an unsupported version. We recommend you upgrade to one of the supported versions, listed here.
- Add an afterEvaluate to solve AGP 3.x configuration resolution (473a36099c by @cortinico)
- Force dependencies resolution to minor series for 0.63 (28cc286cc4 by @cortinico)
- [Maintenance] Bump detox to xcode 12 compatible version (ccd4efac90 by @kelset)
- Bump SoLoader to 0.9.0 (7465239230 by @dulmandakh)
- Update Okhttp to version 3.12.12 (0f6fcb2c27 by @halaei)
- ScrollView now supports
contentOffset
(ed29ba13f9 by @JoshuaGross)
- Fix ReadableNativeMap.getNullableValue to match signature (1015194ba1 by @dulmandakh)
- Dimension update events are now properly sent following orientation change (0e9296b95d by @ajpaulingalls)
- Font family is not apply when secureTextEntry is true. (00d9deaf6b by @hank121314)
- Fix App Bundle/Release build missing index.android.bundle with gradle plugin 4.1.0/gradle 6.5 (53f55001af by @tomoima525)
- ScrollView, HorizontalScrollView: do not ignore
null
contentOffset
prop (9e85b7ad88 by @vonovak) - SkewX transforms (797367c089 by @wcandillon)
- Allow passing partial contentOffset to ScrollView on Android (0348953914 by @janicduplessis)
- Set color filter so that the arrow matches the text color (bb8d0f5732 by @ejanzer)
- A crash in WebSocket module (748aa13747 by @marksinkovics)
- Fixed showing Alert while closing a Modal (f319ff321c by @devon94)
- Bug with skewX/skewY/perspective/matrix transforms. (4b956fe5a6 by @wcandillon)
- Ability to set which configuration to enable flipper for when using use_flipper! (dc2df75426 by @nicoburns)
- Update Flipper to 0.54 (d8b70b19b3 by @mweststrate)
- Removed default 130ms delay from Pressability and Pressable. (86ffb9c41e by @yungsters)
KeyboardDidHide
wrongscreenY
coordinates withwindowTranslucentStatus=true
(45954ac5dc by @fabriziobertoglio1987)- Fix Xiaomi TextInput crash in native (07a597ad18)
- Prefetch images using a lower download priority (058eeb43b4 by @p-sun)
- Fix
RCTImageLoader
not using decoders provided. (663b5a878b by @sjchmiela) - Support Swift based libraries using Xcode 12’s build system. (6e08f84719 by @alloy)
- Fix "main.jsbundle does not exist" issue (83777cb4fb)
- Fixed headers in
Image.getSizeWithHeaders
. (0bcc686c1c by @PaitoAnderson)
- Fix security issues with
@react-native-community/cli
by bumping version (001eb7cbd6 by @alexbrazier)
- Restore Previous Behavior for StyleSheet Validation of Null/Undefined Styles (e75557b48f by @NickGerleman)
- Set LogBox windowTranslucentNavigation to false (23036b38bc by @Ashoat)
- Fix unable to run in debug mode on Android API < 21 (7694b32a88 by @Shywim)
- Fix image cannot show in iOS 14 (123423c2a9)
- Added
minPressDuration
toPressable
. (4aaf629982 by @yungsters) - Support for array buffers in the JavaScriptCore implementation of JSI (9c32140068 by @ryantrem)
- ProGuard rule for hermes (449dc37720 by @radko93)
- LogBox.ignoreAllLogs() should ignore logs (f28c7505fa by @rickhanlonii)
- 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)
- 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)
- The
target
field of events is now a native component, not a react tag (3b813cade1 by @TheSavior) - Modal: Remove support for
animated
prop (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
,onTintColor
props (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)
- Add deprecation warnings for
Clipboard
,SegmentedControlIOS
,ProgressViewIOS
,ProgressBarAndroid
. These modules have been moved to react-native-community libraries. (f295d7f608 by @Naturalclar) - Deprecated
console.disableYellowBox
in favor ofLogBox.ignoreAllLogs
. (87f1e22434 by @rickhanlonii)
- 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
ToolbarAndroid
which has been removed from the core since 0.61. (6249d14a61 by @Naturalclar)
- Deprecate iOS 9.x support (58a6a40eac, 829a2237d2, 674b591809 by @fkgozali, d1265077d6 by @sunnylqm)
- Implement
nativePerformanceNow
andperformance.now()
(232517a574 by @emilisb) - Support
PerformanceLogger
stopTimespan updates (08c338eebf by @sahrens) - Added
PlatformColor
implementations 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
LogBox
module (799bf56f6f by @rickhanlonii) - Export
LayoutAnimationConfig
flow type (f0dafd34fe by @sahrens) - Added
react-native-community/eslint-plugin
as a dependency forreact-native-community/eslint-config
(2c2e35c634 by @Naturalclar) DEBUG_NETWORK_SEND_DELAY
can be used to simulate slow network. (4aac019176 by @sahrens)- Support for
accessibilityLabel
prop to thePicker
component (0a525b6d9d by @KevinGVargas) - Allow
zIndex
touseNativeDriver
(6a4e06faa8 by @mackenziemance)
- 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
resizeMode
prop 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)
UIScene
support forRCTImageView
(f332fac163 by @tido64)- Status bar style is now correctly changed in multi-window iPadOS 13 apps if you use
RCTRootViewController
and setUIViewControllerBasedStatusBarAppearance=YES
(80e6d672f3 by @radex) - Added
userInterfaceStyle
forActionSheetIOS
andShare
to override user interface style on IOS 13 (0a9cc34dd8 by @Arjan-Zuidema) - Add localized accessibility strings to
ReactCore
pod (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
Flipper
to template app (52cd9cd6fe by @safaiyeh) - Add
textColor
andbackgroundColor
props toSegmentedControl
for iOS >=13 (e8f577e541 by @Naturalclar) - Adds
RCTOverrideAppearancePreference
to the iOSAppearance
module (fa65b156d4) - Changed iOS LaunchScreen from
xib
tostoryboard
(33b3a1a145 by @jeswinsimon)
- Update
react-native-community/eslint-config
to 1.1.0, adding the new color rule (780f06cd47 by @TheSavior) - Update community eslint plugin in the eslint config (b2d10bc602 by @Naturalclar)
- Upgrade
eslint-config
andmetro-preset
in project template (ad86a18305 by @Naturalclar) - Add ES Lint rules for
DynamicColorIOS()
andColorAndroid()
(602070f44b by @tom-un) - Make
ScrollView
useforwardRef
(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
'sonRefresh
flow typing (884c86ae02 by @vonovak) - Improved flowtype support for
Animated
(bdafc55f50 by @javache) - Upgrade
eslint-plugin-relay
to 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
disableIntervalMomentum
to 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::createValue
faster (24e0bad8be by @radex) - Add perf markers in
XMLHttpRequest
(71b8ececf9 by @sahrens) - Update SoLoader to 0.8.2 (0a6f058b6b by @passy)
console.error
calls, and uncaught exceptions are now displayed in the Metro logs as well (ffb82cb2f0 by @mweststrate)- Upgrade Flipper to 0.37.0 (17f025bc26 by @sunnylqm)
- 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
ReactRootView
if they've changed (cc3e27d484 by @ejanzer) ReactEditText
extendsAppCompatEditText
(aaa2765a92 by @dulmandakh)- Make
ReactApplicationContext
nullable 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)
- 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
Debug
configuration (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
xcshareddata
from .gitignore (7980615d37 by @pvinis) - Add
complete_nullability = True
to compatible libraries (796a4ea7e3) - Remove the Flipper pod post install step (44beb2a685 by @priteshrnandgaonkar)
- Enable Flipper with CocoaPods
:configuration
(7bb1c4e1b8 by @alloy)
- Remove unused
ImageProp
(fbd09b1797 by @Naturalclar) - Remove leftover
Incremental
component (e99800267b by @venits) - Remove "Debug with Nuclide" option (011eb4cea5 by @rickhanlonii)
- Remove unused Feature Flag:
lazilyLoadViewManagers
(3963f34980 by @JoshuaGross) PickFirst
options for RNTester and template (4bb0b4f205 by @passy)- Remove Kotlin version from the default template (ced959bb3d by @grabbou)
- Remove core
RCTConvert
CoreLocation Libraries (bcf2a716fb by @maschad) - Remove copyright notices from iOS application template (9c3fa57337 by @alloy)
- Remove three properties:
textColor
,font
andtextAlignment
fromRCTBackedTextInputViewProtocol
, unifying the usage intodefaultTextAttributes
. (aff6bad27c by @jimmy623)
- 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
setTextCursorDrawable
API for Android 10 (e7a14b803f by @sturmen) - Fix
Animated.Value
initialized with undefined inScrollView
(cf02bd9b76 by @janicduplessis) - Do not explicitly include
.js
in Library imports (161b910494 by @NickGerleman) - Fixed
Pressability
to properly fireonLongPress
. (5ca1d8f260 by @yungsters) - Fixed typo from
inly
toonly
insideModal.js
library code. (686d8a57f8 by @Darking360) - Fix viewability calculations for nested
VirtualizedLists
inside of a parent list'sFooterComponent
(074a2fab74 by @logandaniels) - Fix android
TextInput
transitions (0a17a4fe56) - Remove JS autoFocus implementation (0569d4c431 by @janicduplessis)
- Check null values in
shouldAnimate
(3498b3b96b by @axe-fb) - Fix
AccessibilityInfo.isScreenReaderEnabled
mock in Jest setup (ec3327b61a by @rubennorte) - Fix crash when passing invalid UTF-16 data from JSC into native code (011cf3f884 by @motiz88)
- Make
YGValue.h
compile with Clang on Windows (014bc95135 by @christophpurrer) - Fix documentation comments for HermesJS's
Function::callWithThis
method to accurately reflect howthis
is handled. (399bda5284 by @Kronopath) - Fix resolving assets outside of the project root (7deeec7396 by @janicduplessis)
- Transform empty responses into empty
Blob
s (9a8c06b502 by @RSNara) - Fix validation of event mappings for
AnimatedEvent
(19362f6116 by @javache) - Fix
NativeJSCHeapCapture
(7e3a43c23d by @RSNara) - Add
AnimationInterpolation
as possible type for toValue (26e8870fbf by @nabati) - Fix return type of
StyleSheet.create
(4e71a30969 by @jbrown215) - Adjust HelloWorld-tvOSTests/Info.plist
CFBundleIdentifier
to usePRODUCT_BUNDLE_IDENTIFIER
(98ebc1ea25 by @MoOx) - Fix bug where if
Error
global 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
onEndReached
called on load when not needed (8ddf231306 by @sahrens) - Correct argument types of
NativeJSDevSupport.onSuccess
(b42371da5a by @RSNara) - Add
URLSearchParams
andHeaders
to eslint globals (7a13a1a88f by @sonnyp) - Export exception classes with default visibility (84adc85523 by @appden)
- Add
URL
to 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)
- Gradle release config (0d1fb458ab by @vdmtrv)
- Change how
TextInput
responds torequestFocus
to 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
TextInput
autoFocus
on Android (055a41b081 by @janicduplessis) - Support for case insensitive
Origin
headers 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
JSDevSupport
fromDebugCorePackage
(c20963e11c by @RSNara) - Make sure
ServerHost
is 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.sendEvent
ifCatalystInstance
is not available (c4806fada6 by @JoshuaGross) - RN
Picker
- fix types inAndroidDialogPickerManagerInterface
(56b0f5cb6b) - Fix Hermes debugger being disabled by default (b8621f5d30 by @willholen)
- Fixed connection of metro reload command to iOS device (f9df93385e by @reyalpsirc)
- Remove
RCTDevLoadingView
jank (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
RCTBlobManager
cleanup crash (91c5ff4a12 by @RSNara) - Make Lambda function called in
NativeModule
mutable (5290047d09 by @maschad) - Fix crash in
RCTCxxBridge.executeApplicationScript
(0c2db3256f by @ahimberg) - Fix
RCTDevLoadingView
RedBox
on reload (fe5ac2c3f9 by @RSNara) - Fix
Image
component crashing whenuri
isnull
(06b8b15b0a by @mlazari) - Fix
RCTDevLoadingView
not showing up withUIScene
(74b667dbc2 by @tido64) - Prevent interactive dismissal for non-fullscreen modals (1e7ed81d16)
- Resolve localization warnings in template (0e4bcaa296 by @safaiyeh)
- Implement
requiresMainQueueSetup
inRCTDevSettings.mm
(adf87dd7ed by @logandaniels) - Resolve
React-RCTText
Xcode warning (04fed6508b by @safaiyeh) - Resolve Xcode warnings from
React-cxxreact
. (dc6c57ce0d by @safaiyeh) RCTReconnectingWebSocket
is reconnecting infinitely when stopped before getting connected (0d4b0e9417)- Fix prop name of
passwordRules
inTextInput
(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::Functions
whenjsi::Runtime
is deleted (9ae95582e7 by @RSNara) - Make framework builds work again by making
RCTImageLoader
C++ requirement opt-in (25571ec452 by @alloy) - Enable dev keyboard shortcuts on Mac Catalyst (56dfc86d64 by @charpeni)
- Fix
RCTTextView
layout issue that happens on some font withleading
attribute 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>
'sselectOnFocus
prop (e020576b34 by @shergin) RCTRedBox
doesn't appear in apps implementingUISceneDelegate
(d0a32c2011 by @tido64)- Fixes the
InputAccessoryView.backgroundColor
prop’s typing to useColorValue
. (a43fd60e18 by @alloy) - Fix
Animated
image crash whenCADisplayLink
target inRCTWeakProxy
isnil
(e5a6655e71 by @p-sun)
- Update validateBaseUrl to use latest regex (33ef82ce6d by @FBNeal)
- Change autolink to match requirements for FlipperFolly working with Xcode 12.5 (c6f4611dcb by @kelset)
- Change podfile to rely on the autolink-ios rb file (c4ea556d64 by @kelset)
- Update detox to work on Xcode 12 (158b558e50 by @kelset)
- Fix Appearance module when using Chrome Debugger (f7b90336be by @TheSavior)
- Fix mock for TextInput (5a3c6faee9 by @SergioEstevao)
- Flow errors from YellowBox and BubblingEventHandler (a049130f34 by @thymikee)
- Make Vibration library compatible with TurboModules. (3904228704 by @brunobar79)
- Exclude Flipper from iOS Release builds (e5497ca8f6 by @javiercr)
- Fix crash when enabling Performance Monitor on iOS 13.4 (e2c417f7cf by @IjzerenHein)
- Bump CLI to 4.5.1 to improve DX (eac56b9749 by @alloy)
- Fix a YellowBox regression in v0.62.0 where the Flipper network inspector causes YellowBox to crash the app due to using base64 images. (227aa96bb2 by @rickhanlonii)
- Add new DoNotStrip class to proguard config (cfcf5eba43 by @janicduplessis)
- Fix Performance Monitor in dark appearance (576ddfb3a8 by @gorhom)
- Inverted ScrollViews scroll to their bottom when the status bar is pressed (7a4753d76a by @emilioicai)
- Revert previous incomplete fix for an issue with
Modal
’sonDismiss
prop. (27a3248a3b by @grabbou) - Fix double call to onEndReached in VirtualizedList (d3658bc2b6 by @MartinSherburn)
- Update warning message of deprecated imports (405200e9a9 by @Naturalclar)
This major release includes Flipper support by default, improved dark mode support, moving Apple TV to react-native-tvos, and more. See the blog post for all of the highlights.
This release comes in the midst of a global pandemic. We’re releasing this version today to respect the work of hundreds of contributors who made this release possible and to prevent the release from falling too far behind master. Please be mindful of the reduced capacity of contributors to help with issues and prepare to delay upgrading if necessary.
If you're upgrading, manual intervention may be required for your app. Please see the upgrade-helper for a detailed breakdown of the changes required and see this issue for known issues.
One known issue with workaround is regarding Android builds and APK size increases.
- React DevTools v4 integration (92a3c9da0a by @bvaughn)
- Remove
TextInput
'sonTextInput
prop (3f7e0a2c96 by @shergin) - Remove
TextInput
'sinputView
prop (1804e7cbea by @TheSavior) - Animated: Remove
defaultProps
Parameter (a70987cee2 by @yungsters) - Remove
TextInput
'sselectionState
prop (2becdfd404 by @yungsters) - Remove support for
framesToPop
(8bc02fdd52 cf4d45ec2b a483f802fd by @motiz88) - Remove
TimePickerAndroid
(dbf070c51e by @cpojer) - Remove
scrollWithoutAnimationTo
from ScrollView (c7e89909da by @TheSavior) - Bump CLI to ^4.2.x (be5088401f by @alloy) - for details on what v4 of the CLI improves on (like monorepo support), please refer to the dedicated blog post and the release notes
- Remove
accessibilityStates
property (7b35f427fd by @marcmulcahy) - Upgraded to Hermes 0.4.0. If you're using ProGuard you will need to add the following rule to
proguard-rules.pro
:-keep class com.facebook.jni.** { *; }
(ab3c184555 by @willholen)
- Fix setting keyboardType from breaking autoCapitalize (233fdfc014 by @safaiyeh)
- Limit size of video uploaded from camera roll in android (< 100 MB) (d21f695edf)
- Remove "Reload on JS change" from RN Android (478df155e7 by @cpojer)
- Add support for Flipper by default (multiple commits)
- Add
getNativeScrollRef
method to FlatList component (bde1d63c85 by @kacieb) - Add missing accessibility props on Touchables (8c0c860e38 by @xuelgong)
- Added missing
console
polyfills in release builds. (b7ab922bb3 by @yungsters) - Platform.select now supports native as an option. (a6fc0898de by @koke)
- Export the DevSettings module, add
addMenuItem
method (cc068b0551 by @janicduplessis) - Expose RCTNetworking as a public 'Networking' API (42ee5ec934 by @adamchel)
- Add
useColorScheme
hook (51681e80ab by @hramos) - Add
unstable_enableLogBox
(dd8e5f468a by @rickhanlonii) - Expose Hermes Sampling Profiler (15ecb60d6d by @axe-fb)
- Add
error-subclass-name
lint rule (6611c4b8f4 by @motiz88) - Add
HostComponent
to the public API of React Native (a446a38aaa by @TheSavior) - Add
RCTExceptionsManager.reportException
(9a57145f52 by @motiz88) - Add
accessibilityValue
property (7df3eea1a7 by @marcmulcahy) - Add
Appearance
module to expose the user's current Night theme preference (17862a78db 63fa3f21c5 by @hramos) - Add
onSlidingComplete
callbacks when sliders adjusted via a11y. (c7aa6dc827 by @marcmulcahy)
- Implement
adjustsFontSizeToFit
on Android (2c1913f0b3 by @janicduplessis) - Allow overriding
EditText
construction inReactTextInputShadowNode
(a5b5d1a805 by @mchowning) - Add Android support for
fontVariant
prop (c2c4b43dfe by @mcuelenaere) - Custom entry file on android using
ENTRY_FILE
environment variable (a0d8740878) - Added
statusBarTranslucent
prop to Modal component (c35a419e5d by @pfulop) - Add
fadingEdgeLength
prop to FlatList and ScrollView (51aacd5241) - Support
removeClippedSubviews
for horizontal ScrollViews (42152a3fa3) - Introducing
ReactCallerContextFactory
interface (9713b63d9a by @mdvacca)
- Added web socket support for macOS (f21fa4ecb7 by @andymatuschak)
- Added Warning message Linking API with Phones in iOS Simulator (e1d89fbd9d by @espipj)
- Added missing deps for React-CoreModules (15b2353382 by @fkgozali)
- Expose the
isPackagerRunning
methods on RCTBundleURLProvider (fe9cba74fa by @afoxman) - Add
autoFocus
to TextInput (6adba409e6 by @janicduplessis)
- Upgrade metro version to 0.56.3 (4b487ba500 by @EssamEmad)
- Upgrade
eslint-plugin-relay
to 1.3.12 (f0bcfbe9be by @jstejada) - Upgrade to Flow v0.108.0 (d34bc5fa64 by @mvitousek)
- Upgrade metro babel preset (cef001713f by @alloy)
- TextInput now properly sends native the end selection location on change (dff490d140 by @TheSavior)
- TextInput now uses
forwardRef
allowing it to be used directly by new APIs requiring a host component. (bbc5c35a61 by @TheSavior) - TextInput no longer does an extra round trip to native on focus/blur (e9b4928311 by @TheSavior)
- Render collapsed JavaScript frames in RedBox (468d1a2d2e by @motiz88)
- Enable
no-useless-escape
lint rule (90977b0e00 by @motiz88) - Update
DevSettings.reload
to accept a reason (549cac63cb by @rickhanlonii) - Move
react-native-implementation.js
toindex.js
(e54ecf907e by @cpojer) - Delete Long Press Error in Touchable (9a3d722ccb by @yungsters)
- Add Intl to eslint globals. (f6a62f9ae2)
- Add WebSocket to eslint globals (af8ea06bb4 by @dr2009)
- Change default
accessibilityRole
of Switch component frombutton
toswitch
(36672c3851 by @alvinmatias69)
- Bump gradle-download-task to 4.0.2 (088be260b6 by @dulmandakh)
- Bump Gradle to 6.0.1 (701e66bde4 by @dulmandakh)
- Bump Gradle wrapper 5.6.4 (928f4434b9 by @friederbluemle)
- Bump Soloader to 0.8.0 (614039834b)
- Update Android Gradle plugin to 3.5.2 (b41b5ce8ae by @friederbluemle)
- Improve exception message when JSC loading fails (65d3167a80 by @mhorowitz)
- Expose
addCookies
method (cc845ccfb4 by @safaiyeh) - Migrated from libfb to libfbjni for JNI calls (9ad5e72b77 by @passy)
- Formatted cpp/h code with clang-format (d5ba113bb2 by @passy)
- Switch MainActivity launchMode to singleTask (7a42596438 by @dulmandakh)
- Changing method signatures for ImageLoaderModule to accept double for requestId (641e9657dd by @ejanzer)
- Use Node's module resolution algorithm to find JSC & Hermes (fc25f288fe by @ide)
- Add
ACCESS_BACKGROUND_LOCATION
to PermissionsAndroid (8c099b5f53 by @dulmandakh)
- Add
xcscheme
files for iOS template back in. (a715decd2d by @pvinis)
- Add deprecation warning to
AccessibilityInfo.fetch
(523ab83338 by @TheSavior) - Make setting
useNativeDriver
required. Add runtime warning if not specified (5876052615 by @TheSavior) - Refs on an Animated component are now the internal component. The
getNode
call has been deprecated. (66e72bb4e0 by @yungsters)
- Deprecate
[bridge reload]
, preferRCTReloadCommand
(ffe2306164 by @PeteTheHeat)
- Deprecate
CallerContext
fromReactImageManager
(8accd77c45 by @mdvacca)
- Removing experimental
IncrementalPresenter
component (0ef0d3167e by @TheSavior) - TouchableWithoutFeedback no longer exports Props. Use React.ElementConfig, instead. (7bcae81299 by @yungsters)
- Remove
Sample
andCrashyCrash
Modules (8ec7e0966c by @RSNara) - Remove
propTypes
from Animated components. (86d90c03eb by @yungsters) - Remove
propTypes
from TouchableHighlight. (7c01172bef by @yungsters) - Remove
propTypes
from TouchableNativeFeedback. (2185dd298a by @yungsters) - Remove
propTypes
from TouchableOpacity. (88ae24f719 by @yungsters) - Remove
propTypes
from TouchableWithoutFeedback. (ebf7d75816 by @yungsters) - Remove
__skipSetNativeProps_FOR_TESTS_ONLY
from Animated components. (dcd63078bd by @yungsters) - Remove Apple TV Props (548aad4ff1 by @yungsters)
- Remove
NativeRunnableDeprecated
(973253af8a by @passy) - Remove
com.facebook.react.modules.debug.NativeSourceCodeSpec
(4d9e5f8481 by @RSNara)
- Fix
require
cycle warning in ScrollResponder. (674ac69cee by @Naturalclar) - Restore behavior for
underlayColor={null}
inTouchableHighlight
. (37d8440a8e by @yungsters) - Fix stack traces showing the wrong function name in some cases (60b4ba16c0 by @motiz88)
- Fix
requestAnimationFrame
when focusing input on mount (5798cf2aa9 by @janicduplessis) - Reduce overhead of setting up timers in DEV (75a154b449 by @motiz88)
- Fixed an issue where margin and padding were resolved incorrectly. (1d683faf1d by @SidharthGuglani)
- Fix using width for calculating margin top percent (0599af2282 by @SidharthGuglani)
- Don't restore default values in NativeAnimated when components unmount (686ab49107 by @janicduplessis)
- Fix eslint-config peer dependency warnings (1353da5a53 by @friederbluemle)
- Remove style rules from eslint config for prettier options (e4b62bb139 by @iRoachie)
- Fix separators displays in wrong places with the inverted list (dfb4f4af68 by @dy93)
- Fix issue where we attempt to connect to React devtools every 2 seconds (e7f6210d5d by @ejanzer)
- Fix so that early logs don't get dropped by Metro (4ed05ca241 by @gaearon)
- Fix to announce accessibility state changes happening in the background (baa66f63d8 by @xuelgong)
- Fix
JSBigString
not compiling on Windows due to Unix-specific headers (80857f295c by @empyrical) - Fix exception in
scrollResponderScrollNativeHandleToKeyboard
when ref is null (da8ae011bb by @TheSavior) - Fix excessive toggles on the Switch component (b782934f3f by @rurikoaraki)
- Fix bare hosts in
URL
. Add missing / between url (20ab946f34 by @jeswinsimon) - Fix the non-standard usage of
ATOMIC_VAR_INIT
macro from code with systrace enabled (75a7a52db4) - Fix
useWindowDimensions
hook firing continuously after dimensions change (3b3c95b017 by @dulmandakh) - Fix throttling in ScrollView (4159e20146 by @sammy-SC)
- Fix
TimingAnimation
rounding error issue (77b6e26538 by @MartinSherburn) - Fix recycling of Switch (a261e6dfb2 by @sammy-SC)
- Fix to reset sMatrixDecompositionContext before applying transformations (bf01dfbc97 by @makovkastar)
- Fix animations in OSS debug builds by modifying
Platform.isTesting()
behavior (1fbc6a7c17 by @PeteTheHeat) - Fix Modal not disappearing when reloading (5ddf00ee1a by @sunnylqm)
- Fix to support nullable returns NativeModule methods returning Boxed Primitives (f57b0caaa4 by @RSNara)
- Fix crash in TextInput (6ebd3b046e by @MarcoPolo)
- Fix View.getGlobalVisibleRect() to clip result rect properly when overflow is 'hidden' (df9abf7983 by @davidbiedenbach)
- Fix throwing "Unknown array type" exception (4b9350061f by @petterh)
- Fix issue with refresh control not working properly on an inverted ScrollView (0a282c42b4 by @migbot)
- Fix to listen to NFC actions for linking url events (8d8c3d4e1e by @cimitan)
- Fix onPress prop for Touchable Components being called twice on AndroidTV. (21890e964d by @dbarr33)
- Fix
includeFontPadding
forTextInput
placeholder (211ea485cd by @janicduplessis) - Fix medium font weights for TextInput on Android (8b9f790069 by @janicduplessis)
- Fix close button issue in KeyboardAvoidingView (f1c6029e48 by @saxenanickk)
- Fix activity recreation on theme change (83a16b16c9 by @Esemesek)
- Fix ForwardingCookieHandler missing WebView exceptions. (314eba98b2 by @siddhantsoni)
- Fix ReactInstanceManagerBuilder.build crashing if SoLoader has not been explicitly initialized (60e00d9d96 by @petterh)
- Fix default accessibility hint not being read. (f8dff0bcb3)
- Fix JS bundle loading progress bar (7b9d6d19e2 by @makovkastar)
- Fix Android Q related NaN error - don't try to do math with NaN values (db5994980d)
- Fix throwing exceptions when the host activity is not FragmentActivity (7cfabf42b8 by @mganandraj)
- Fix crash when using
TextInput.FontVariant
prop in Android API level < 26 (e885ddedb9 by @mdvacca)
- Fix support for
onRequestClose
in Modal on iOS 13+ (8e5fac89bb by @koke) - Fix
Dimensions
module to update on initial split screen (7a72c35a20 by @sahrens) - Fix spinner visibility on
beginRefreshingProgrammatically
(e341489521 by @nnabinh) - Reconnect to debugger websocket after Metro is restarted. (13992f90e4 by @rickhanlonii)
- Fix Slider not disabling properly if the disabled prop is set. (fa9ff07017)
- Fix apps crashing on iOS 13.x when running timer in the background (e1d03b4cc0 by @radko93)
- Fix TextInput blur when tabbing in iOS simulator. (a7437710d2 by @fat)
- Fix promised returned by
Share.share(content, options)
not resolving if share dialog dismissed (7468a6c903 by @v-fernandez) - Fix maximum searching depth while measuring layout by removing it. (2f8328dbb0 by @draws)
- Fix SafeAreaInsets call to not crash on older versions of iOS (03acf57b76 by @mmmulani)
- Fix to retain
cropData
struct arg in ImageEditingManager.cropImage call (002d3c179d by @RSNara)) - Fix bug rendering nested text on iOS13 (06599b3e59 by @PeteTheHeat)
- Fix longstanding bug where RCTNullIfNil() can return nil (79b573511b by @PeteTheHeat)
- Fix crash in RCTScrollViewComponentView (e7ef9921d3 by @shergin)
- Fix how the amount of free memory is calculated to mimic the logic Apple uses. (b53d3d80f9)
- Fix animated gifs incorrectly looping (6f2e6f170e by @zhongwuzw)
- Fix
tintColor
in SegmentedControlIOS component (be89e4d928 by @sammy-SC)
This is a patch release that consist of a few commits requested in the dedicated conversation to improve the quality of the 0.61 release. Thanks to everyone who contributed!
- Fix bundling assets in monorepo (a3b0804867 by @Esemesek)
- Fix multiple
set-cookie
not aggregated correctly in response headers (1df8bd4932 by Vincent Cheung)
This is a patch release that consist of a few commits requested in the dedicated conversation to improve the quality of the 0.61 release. Thanks to everyone who contributed!
- Fix build with Hermes on Windows (81a6b6ed3c by @B27)
- Fix Chrome debugger showing console.logs at incorrect locations (42ac240bce by @rickhanlonii)
- Fix bug in iOS 13 when application would be terminated immediately when in background (d7c9173b07 by @radko93)
This is a patch release that consist of a few commits requested in the dedicated conversation to improve the quality of the 0.61 release. Thanks to everyone who contributed!
- Fix bug where ScrollView contentInset top set to undefined wouldn't default to 0 (d576a5bcc0 by TheSavior)
- Fix TimingAnimation rounding error issue (bfd01552af by MartinSherburn)
- Fix selecting videos from library in iOS 13 (63769518e0 by fatalsun)
- Fix bug in iOS13 nested text rendering (7cf43afa8d by PeteTheHeat)
- Release underlying resources when JS instance is GC'ed on Android try (9b2374b542 by janicduplessis)
This is a patch release that consist of a few commits requested in the dedicated conversation to improve the quality of the 0.61 release. Thanks to everyone who contributed!
- Fix elevation issues on Android (8fd9ab2f54 by @grabbou)
- Use
warnOnce
for excessive number of callbacks error (0cafa0f5d1 by @janicduplessis) - Include transform in OUTER_PROPS (b94438 by @migbot)
- Better iOS13 support in
StatusBar
API (796b3a1f88 by @gaodeng)
- Improve error message in NativeModuleRegistryBuilder (113c4e229c by @vonovak)
This is a patch release that consist of a few commits requested in the dedicated conversation to improve the quality of the 0.60 release. Thanks to everyone who contributed!
- Fix ShareSheet crash on iOS 13 (a4fbb8e75b by @tomtargosz)
- Allow again for injecting custom root view via ReactActivityDelegate (9f0dede1c9 by @kmagiera)
This is a major release that includes the new reloading experience Fast Refresh. It also removes the React .xcodeproj
, fixes use_frameworks!
for CocoaPods support, adds a useWindowDimensions
hook, and upgrades to React 16.9.
- Add Fast Refresh by default (17f8e5810f by @gaearon)
- Add
useWindowDimensions
hook to replace mostDimensions
usage (103ec2f770 by @sahrens)
- Add exception in .gitignore for
debug.keystore
to the android template. (d55025694b by @bondehagen) - Add jitpack repository to template (1a92cf9b2a by @iyegoroff)
- Add RCTWeakProxy to properly deallocate RCTUIImageViewAnimated (947e71a922 by @mmmulani)
- Use prettyFormat for Metro logging (abd7faf354 by @cpojer)
- Tweak messages and fix the warning condition (2a3ac0429b by @gaearon)
- Allow jest globals in mocks directories (e78c01375a by @artdent)
- Make Animation EndCallback type allow any return value (306c8d64d9 by @draperunner)
- create two layout pass reason flexLayout and flexMeasure instead of flex (6ce985463b by @SidharthGuglani)
- Use shorthand for Fragment in App.js (7cac6a4b6c by @ferdicus)
- Use eslint-plugin-prettier recommended config (d2b92fffb1 by @Justkant)
- Support string command arguments (0314305e12 by @TheSavior)
- chore: Link to CLA wiki and CLA form. (e2d55d5c5e by @JustinTRoss)
- CLI is now ^3.0.0-alpha.1 (5edd1c674c by @thymikee)
- Flow is now v0.104.0 (59db059dbd by @mroch)
- React is now at 16.9 (40e8a5f685, 0ccedf3964 by @TheSavior)
- Use Metro for auto-collapsing internal stack frames (77125a1ac3 by @motiz88)
- Move React error message formatting into ExceptionsManager (2dadb9e2b0 by @motiz88)
- Improve VirtualizedList error message (bef87b648c by @vonovak)
- Bump Hermes to v0.2.1 (811401bcac by @sunnylqm)
- Use centralized package for DoNotStrip annotation (35fc0add2d by @passy)
- Do not override ActivityIndicator color when setting its size (14b0ed4c5d by @cabelitos)
- fix display problems when image fails to load (71d7d6883c)
- Renamed yoga podspec to Yoga (82a8080f07 by @axe-fb)
- Update loading pre-bundled message (eb92f8181f by @rickhanlonii)
- Deprecate method UIManagerModule.playTouchSound() (e3ec8dbe15 by @mdvacca)
- Deprecate UIManager.measureLayoutRelativeToParent (e42009b784 by @mdvacca)
- DrawerLayoutAndroid drawerPosition now expects a string, number is deprecated (305b0a2814 by @TheSavior)
- Remove supportLibVersion variable in build.gradle (fee7f0617e by @ferdicus)
- Remove 's.static_framework = true' requirement for podspec (ca9e108110 by @jtreanor)
- Add ErrorUtils to eslint globals (76af5f9163 by @rodineijf)
- URL: Do not prepend baseUrl if the URL is not a relative URL (e104204ae0 by @jeswinsimon)
- Memory Leak due to JSStringRelease not called (b8d6ef3726 by @sachinservicemax)
- Fixed rotateZ native animation (f4f08d3c54 by @Titozzz)
- Fix indentation in Gradle files (9b0adb5ad1 by @sonicdoe)
- Fix handling of failed image downloads (71d7d6883c by @sammy-SC)
- Fix SectionList scrollToLocation and prevent regressions (8a82503b54 by @vonovak)
- [General][internal] Fix incorrect
module.name_mapper
in template .flowconfig (e6b2cf0418 by @MoOx) - Fall back to
JSON.stringify
inconsole.log
if Symbol is unavailable (179889704b by @cpojer) - Pop frames correctly in console.error handler (3eaf245540 by @motiz88)
- Add documentation to TextInput's Flow types (d00f0882fb by @empyrical)
- Add missing Hermes include (1db96a3c46 by @janicduplessis)
- Fix UIManager.measure to consider scale and rotation transforms (28d50189f3 by @floriancargoet)
- Fixed iOS packager connection (4ab9da134c by @zhongwuzw)
- Fixed compatibility with CocoaPods frameworks. (8131b7bb7b by @jtreanor)
- Don't call sharedApplication in App Extension (c5ea18f738 by @zhongwuzw)
This is a small patch release with a commit to fix the build break in MSVC to help the users of react-native-windows. (9833ee7bc1 by @acoates-ms)
This is a patch release that consist of a few commits requested in the dedicated conversation to improve the quality of the 0.60 release. Thanks to everyone who contributed!
- Added a default Prettier config for new projects (7254bab0b3 by @jpdriver)
- Add showSoftInputOnFocus to TextInput (d88e4701fc)
- Bump CLI to ^2.6.0 (fafe5ee072 by @thymikee)
- Ensure right version of Metro bundler is used (1bb197afb1 by @kelset)
- Fix
ClassNotFound
exception in Android during Release builds (ffdf3f22c6 by @thecodrr) - Remove unnecessary flag when running JS server (a162554f5d by @thecodrr)
- Correctly set the border radius on android (b432b8f13b by @cabelitos)
- Fix addition of comma at the end of accessibility labels on Android. (812abfdbba by @marcmulcahy)
- Don't call sharedApplication in App Extension (c5ea18f738 by @zhongwuzw)
- Delete fishhook (46bdb4161c by @mmmulani)
You can participate to the conversation for the next patch release in the dedicated issue.
This is a patch release that contains two more Hermes related fixes, thanks to the contributors for helping improving the support!
- Generate correct source map if hermes not enabled (b1f81be4bc by @HazAT)
- Generate source maps outside of assets/ (60e75dc1ab by @motiz88)
You can participate to the conversation for the next patch release in the dedicated issue.
This is a patch release that fixes the binary path to Hermes package, thanks to @zoontek) for creating the PR!
You can participate to the conversation for the next patch release in the dedicated issue.
This is a patch release that fixes the path to Hermes package.
You can participate to the conversation for the next patch release in the dedicated issue.
This is a patch release that includes the Hermes JavaScript Engine announced at Chain React Conf 2019.
Check out the documentation to opt-in and give Hermes a try.
You can participate to the conversation for the next patch release in the dedicated issue.
This feature release of React Native includes many milestone changes for the platform. Please refer to the blog post for selected details. For upgrading users, some of the progress comes with breaking changes; manual intervention may be required for your app. We're also aware that existing CocoaPods integrations using use_frameworks
are not out-of-the-box compatible with this version, but please consider various workarounds while we prepare a long-term solution for a future release. If you're interested in helping evaluate our next release (0.61), subscribe to the dedicated issue here.
Have you ever considered contributing to React Native itself? Be sure to check out Contributing to React Native.
- CLI autolinking support (5954880875, da7d3dfc7d by @zhongwuzw and @hramos)
- New Intro screen (6b393b27e1, 233fddbe01, fe88e9e48c, aa926e349b, a9e8a71e53, ad4a5d9a3e, and 0245fd713e by @cpojer, @eliperkins, @lucasbento, @orta, @adamshurson, @karanpratapsingh and @glauberfc)
- Add enhanced accessibility actions support (7fb02bd908 by @xuelgong)
- Add additional accessibility roles and states (1aeac1c625)
- Add
isReduceMotionEnabled()
plusreduceMotionChanged
toAccessibilityInfo
(0090ab32c2 by @estevaolucas]) - Add support for cancelling fetch requests with
AbortController
(h5e36b0c by @janicduplessis)
- Enable views to be nested within Text; this brings feature parity to Android, but be aware that it has some limitations (5c399a9f74 by @rigdern)
- Add a
touchSoundDisabled
prop to Button, Touchable, and TouchableWithoutFeedback (45e77c8324 by @yurykorzun)
- Add
announceForAccessibility
andannouncementFinished
APIs for making screen reader announcements (cfe003238a by @rigdern) - Ability to force network requests to use WiFi using the
allowsCellularAccess
property. This can ensure that network requests are sent over WiFi if communicating with a local hardware device and is accomplished by setting a flag. Default behavior of allowing network connections over cellular networks when available is unchanged. (01c70f2fb9 and 916186a7e6 by @bondparkerbondand @zhongwuzw) $RN_CACHE_DIR
can now be used to manually specify the iOS build cache directory (845eee403e by @hramos)
- BREAKING Migrated to AndroidX; please see this thread for more details on this change
- Cleanup RedBox message and stack output; it's now far easier to understand (49d26eb0c4 by @thymikee)
- Add default
scrollEventThrottle
value to Animated.FlatList and Animated.SectionList; this now behaves consistently with Animated.ScrollView (933e65e245 by @janicduplessis) - Remove invariant on nested sibling VirtualizedLists without unique listKey props; they now trigger a RedBox (af5633bcba)
- FlatList and VirtualizedList's default
keyExtractor
now checksitem.id
anditem.key
(de0d7cfb79 by @sahrens) - SectionList's
scrollToLocation
on iOS now countsitemIndex
like Android; both platforms are now consistent, and theitemIndex
value 0 now represents scrolling to the first heading (248a108abf by @vonovak) - Slightly speedup core initialization by moving native version check to DEV only (5bb2277245 by @mmmulani)
react
is now at v16.8.6 (53cec2dc1f, ee681b72ce, and 6001acb319 by @kelset, @mdvacca, @gaearon)react-native-community/cli
is now at v2.0.0 (by @thymikee)flow
is now at v0.98 (0e1dfd4369 by @nmote)prettier
is now at v1.17.0 (ff9f8f347d)metro
packages are now at v0.54.1 (7ff3874ec0, 343f0a1d50 by @motiz88)- Replace patched fetch polyfill with
[email protected]
(bccc92dfdd by @janicduplessis)
- Use class canonical name for
PARTIAL_WAKE_LOCK
tag (88dbb4558c by @timwangdev)
- BREAKING: Split React.podspec into separate podspecs for each Xcode project; your libraries will need to update for this change as well to avoid CocoaPods build errors (2321b3fd7f by @fson)
- Improve handling of native module exceptions; they are now propagated to crash reporting tools with the context and callstack (629708beda by @pvinis)
- Switch Slider
onSlidingComplete
event to a non-bubbling event on iOS to match Android (7927437a6d by @rickhanlonii)
- StatusBar is no longer deprecated; thank you for the feedback (a203ebe206 by @cpojer)
- NetInfo has been removed; its replacement is now available via the react-native-community/netinfo package (5a30c2a205 by @cpojer)
- WebView has been removed; its replacement is now available via the react-native-community/webview package (, 1ca9a95537, and 954f715b25 by @cpojer and @thorbenprimke)
- Geolocation has been removed; its replacement is now available via the react-native-community/geolocation package (17dbf98884 and 9834c580af by @cpojer and @mmmulani)
- Fix
Animated.Value
value after animation if component was re-mounted (b3f7d53b87 by @michalchudziak) - Consistent reporting native module name on crash on native side (fdd8fadea8 and b79d7db9db by @DimitryDushkin)
- Handle null filenames in symbolicated stack trace gracefully in ExceptionsManager (2e8d39bed7 by @motiz88)
- Fix HasteImpl platform name regex (28e0de070d by @CaptainNic)
- Fix a JS memory leak in Blob handling; this resolves multiple leaks around
fetch
(05baf62721 and 9ef5107d04 by @janicduplessis) - SectionList's
scrollToLocation
now scrolls to the top of the sticky header as expected (d376a444e3 by @danilobuerger)
- Fix duplicate resource error in Android build (962437fafd and eb534bca58 by @mikehardy and @Dbroqua)
- Reorder operations of native view hierarchy (5f027ec64d by @lunaleaps)
- Fix performance regression from new custom fonts implementation (fd6386a07e by @dulmandakh)
- Fix internal test case around disabled state of buttons (70e2ab2ec9)
- Fix extra call of PickerAndroid's
onValueChange
on initialization; now it is only called whenselectedValue
changes (82148da667 by @a-c-sreedhar-reddy) - Fix PickerAndroid will reset selected value during items update (310cc38a5a by @Kudo)
- Fix unexpected PARTIAL_WAKE_LOCK when no headless tasks registered. (bdb1d4377e by @timwangdev)
- Fix calling TextInput's
onKeyPress
method when the user types an emoji (a5c57b4ed4) - Fix value of TextInput's
onSelectionChange
start and end arguments by normalizing them (2ad3bb2e2d by @uqmessias) - In
Linking.getInitialURL
method, use theInteractionManager
to wait for the current activity to finish initializing (c802d0b757 by @mu29) - Disable delta bundles on the first app run (e4aff423ac by @wojteg1337)
- In DatePickerAndroid, work around Android Nougat bug displaying the wrong the spinner mode (bb060d6cf8 by @luancurti)
- Fix crash in Animated Interpolation when inputMin === inputMax (7abfd23b90 by @olegbl)
- Fix symbolication for RedBox and YellowBox when using delta bundling (a05e9f8e09 by @motiz88)
- Fix CameraRoll crash on mime type guessing (ebeb893b50 by @Sroka)
- Call designated initializer for SurfaceHostingProxyRootView (3c125e867f by @zhongwuzw)
- Fix RedBox JS symbolication when adding JS engine tag to the message (920632cadb by @motiz88)
- Fix TextInput's
onSelectionChange
behavior in single line text inputs (0c11d8d9b4 by @zhongwuzw) - Fix accessibility problem with TextInput Clear Button (4e37d37cbf by @shergin)
- Fix
renderingMode
not applied to GIF Images (75380aa329 by @zhongwuzw) - Fix ScrollView
centerContent
not work in some cases (2cdf9694b5 by @zhongwuzw) - Fix crash on performance logger (5d3d3987d8 by @zhigang1992)
- Do not run packager in Release mode (4ea6204111 by @lucasbento)
- Fix
code
andreason
arguments being ignored when callingWebSocket.close
(0ac2171c54 by @jeanregisser) - Fix return value of
Linking.openURL()
(4a5d0bdbd7 by @thib92) - When an accessibilityLabel can't be discerned, return
nil
instead of@""
(d4ff5ed258 by @sammy-SC) - Fix Xcode build when the project's path contains whitespace (f0770b6b37)
- Move accessibility props to UIView+React (9261035c2b by @janicduplessis)