react-native v0.67.0 Release Notes
-
โ Added
Android specific
- 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)
iOS specific
- โ Added
cancelButtonTintColor
prop forActionSheetIOS
to change only the text color of the cancel button (01856633a1 by @nomi9995) - ScrollView: Respect
contentInset
when animating new items withautoscrollToTopThreshold
, makeautomaticallyAdjustKeyboardInsets
work withautoscrollToTopThreshold
(includes vertical, vertical-inverted, horizontal and horizontal-inverted ScrollViews) (6e903b07fa by @mrousavy) - โ 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)
๐ Changed
- ๐
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)
Android specific
- ๐ง 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)
iOS specific
- โก๏ธ 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
- โ Removed unnecessary global variable
GLOBAL
. (a101fc768c by @rubennorte) - โ Removed unused files:
StaticContainer.react.js
,ensurePositiveDelayProps.js
,InteractionMixin.js
,queryLayoutByID.js
(64aa1e5ffe by @ecreeth)
Android specific
- โ Remove
DatePickerAndroid
from react-native. (7a770526c6 by @andresantonioriveros)
iOS specific
๐ Fixed
- โก๏ธ 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)
Android specific
- ๐ป TextInput Drawable to avoid Null Pointer Exception RuntimeError https://github.com/facebook/react-native/issues/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)
- 0๏ธโฃ 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)
iOS specific
- ๐ 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)
๐ Security
- ๐ Avoiding logging root view params outside of dev / debug mode builds (e612d3a116 by @sterlingwes)
- Add