@react-native/js-polyfills
Advanced tools
Changelog
v0.75.1
Changelog
v0.75.0
null
for optional but not nullable arguments. (67b9628af5 by @rubennorte)class
to ForwardRef
component (401f2fbb14 by @retyui)TouchableOpacity
from JS class
to ForwardRef
component (3d00549399 by @retyui)LongLivedObjectCollection::get
accept a Runtime reference as parameter. (86a52cc2dc by @fabriziocucci)LongLivedObject
constructor accept a Runtime
reference. (3706bf077e by @fabriziocucci)ReactViewBackgroundDrawable
in favor of CSSBackgroundDrawable
(d7766fa927 by @NickGerleman)android:supportsRtl="true"
for RTL layout (82c6f8a580 by @NickGerleman)TurboModule
instead (73b4d67a78 by @arushikesarwani94)ReactJsExceptionHandler
param from constructor and providing a default private implementation (fe7e7a015f by @alanleedev).create()
changed to take an additional parameter of type PausedInDebuggerOverlayManager
(nullable) (1d26907ca4 by @motiz88)getSurfacePresenter
and getModuleRegistry
(f19371f28d by @cipolleschi)RCTRedBox
access through RCTBridge
(b5db214d2a by @realsoelynn)Image.getSize/getSizeWithHeaders
method returns a promise if you don't pass a success
callback (2c1bcbac81 by @retyui)ReactNativeApplication.[enable,metadataUpdated]
CDP messages for reading host metadata (aced4072cf by @huntie)react-devtools
standalone app (430dd0be26 by @hoxyq)remove
methods for Linking.addEventListener
and AccessibilityInfo.addEventListener
Jest mocks (2483c63017 by @levibuzolic)requestIdleCallback
and cancelIdleCallback
in the new architecture (abfadc6083 by @robik)AppRegistry.setRootViewStyleProvider
(dbdd4da14f by @acoates-ms)Header
methods (028615180b by @retyui)Image
prop resizeMultiplier
to help increase quality of small images on low DPI devices (b6c3433537)ReactMarkerConstants.CONTENT_APPEARED
support on Android in bridgeless mode. (5da9fdf8f1 by @Kudo)onUserLeaveHint
support into ReactActivityDelegate
(3cf6c64a80 by @behenate)onUserLeaveHint
support into ReactActivityDelegate
(6450d08187 by @behenate)ReactNativePodsUtils.spm_dependency
(f903f34837 by @mfazekas)Animated
components (452373b5bf by @yungsters)Pressable
component. (cfa784c5ce by @Zahoq)StyleSheet.compose
(34331af9ce by @yungsters)--experimental-debugger
launch flow (b1bb0bee41 by @motiz88)act()
(5a8327857b by @yungsters)console
object (949296571b by @motiz88)no-string-refs
is now a lint error (387250112e by @yungsters)react@18.3.1
(abb7070a51 by @yungsters)Share.share()
's argument types to be more explicit. (8b53d41a88)mockComponent
now also mocks name
(5062c5256e by @yungsters)AlertFragment
dialog builder to use androidx.appcompat
(1/2) (297ded90aa)AlertFragment
dialog builder to use androidx.appcompat
(2/2) (600d3f6ff1)openDebugger()
method on DevSupportManager
(b309af79e8 by @motiz88)useDevSupport
now is configurable by ReactNativeHost. (d195fd0c06 by @javache)DevInternalSettings
from DevSupportManagerBase
(52cec1e798 by @Kudo)DevServerHelper
(a1e8118541 by @huntie)mapbufferjni
via prefab. (c73e22142e by @tomekzaw)handleRemoveView
function in ReactViewGroup.java
to ignore calls for Views
that are not children of this ViewGroup
(0d7a92b551 by @bartlomiejbloniarz)onprogress
event for XMLHttpRequest
even when the Content-Length
header is missing in the response headers (457d14bd1b)customizeRootView
from RCTRootViewFactory
(8956869792 by @Kudo)DEFINES_MODULE
for React-jsinspector.podspec (4e6186555e by @Kudo)foregroundInactive
window when there are no foregroundActive
windows in RCTKeyWindow (42ceacd281 by @cipolleschi)notifyObservers
straight to RCTEventDispatcher.mm
. (f5c888c2d7 by @WoLewicki)<ImageBackground/>
component (09c903c439 by @retyui)launchId
query param for /debugger-frontend
is no longer generated automatically for each /open-debugger
call. Caller of /open-debugger
is now responsible for generating the launchId
, which will be passed along to /debugger-frontend
. (b7de916664 by @EdmondChuiHW)react-native/dev-middleware
: Remove non-standard faviconUrl
field from CDP /json
response (df19e597e3 by @huntie)tvParallaxProperties
prop from TouchableOpacity
& add missing focusable
, rejectResponderTermination
props (0a0cd6517f by @retyui)NativeAnimationsDebugModule
(already not Public API) (95f7a5c597 by @yungsters)fontWeight
normalization for TextInput component (15f27bc299 by @NickGerleman)Props.h
created from codegen missing default initializers in C++ struct
(639d890dff by @alanleedev)collapsableChildren
prop (7b44c8d1d0 by @NickGerleman)NativeState
methods to the WithRuntimeDecorator
class. (218ea5d44c by @bartlomiejbloniarz)mountingOverrideDelegates
(358fe46969 by @WoLewicki)adjustFontSizeToFit
when used without numberOfLines
(b236e154a1 by @j-piasecki)adjustsFontSizeToFit
not working on Android when using the new architecture (747a96b7b3 by @j-piasecki)npx react-native-community/cli config
fails or timeouts proper error is shown and built is aborted, instead of leaving and empty autolinking.json (3782511350 by @mfazekas)rrc_textinput
on Android a shared library (ea8ad6457c by @j-piasecki)convertToCase
(cef17ba14f by @cortinico)JvmStatic
annotations for all methods from AndroidUnicodeUtils.kt
(54dadd7bda by @WoLewicki)textAlign
not being taken into account when positioning views inlined in text (1f08799560 by @j-piasecki)batchRenderingUpdatesInEventLoop
is enabled. (849da2146c by @javache)ReactModalHostView
(15ff82f811 by @cortinico)getChildAtWithSubviewClippingEnabled
(d6a44e632a by @javache)ReactActivity.getReactDelegate().reload()
. (539922339b by @Kudo)JavaTimerManager$IdleCallbackRunnable.cancel
(e686b4330d by @cortinico)contextMenuHidden
(493dbb2190 by @jakex7)RCTRootViewFactory
from Swift (5aea518d88 by @okwasniewski)adjustFontSizeToFit
is set (ed7766cee9 by @j-piasecki)[super viewDidLoad]
in RCTRedBox.mm
. (d93788301c by @hakonk)InputAccessoryView
width on device orientation change (8597727c28 by @mauriciomeirelles)HermesExecutorFactory.h
build error when importing its private header (2d46dbe6ce by @Kudo)RCTImageLoader
and RCTNetworkTask
that were accessed concurrently, which in some cases lead to data races. (ffc16fc18b by @hakonk)bundleURL
so that it can connect to metro on Reload when the url changes. (8b8b85bb1f by @cipolleschi)progress
in onProgress
native event arguments (78ab5f4b83 by @netmaxt3r)