@callstack/react-native-visionos
Advanced tools
Changelog
v0.77.0-rc.5
onSubmitEditing
(0bcb0c2b2f by @zhongwuzw)inputAccessoryView
(d34032b6c0 by @kirillzyusko)Changelog
v0.77.0-rc.1
filename*
attribute in a FormData content-disposition
header (f791fb9e66 by @foyarash)node-fetch
with native fetch
(881d8a720f by @jbroma)BuildCodegenCLITask
(9147b0753a by @vonovak)Changelog
v0.77.0-rc.0
serverBaseUrl
relative to the middleware host. (acf384a72e by @robhogan)position
of sticky headers on ScrollView
will now be taken into account (cbab004eb9 by @joevilches)com.facebook.react.views.progressbar
internal (46526fc2fe by @cortinico)ClipboardModule
internal (10f6d5adb5 by @cortinico)com.facebook.react.views.safeareaview
internal (39dfbadd5d by @cortinico)DevLoadingModule
internal (8c50bf0beb by @cortinico)NotThreadSafeViewHierarchyUpdateDebugListener
(287e200332 by @cortinico)AccessibilityInfoModule
internal (7168a9d1a2 by @cortinico)CGColorRef
with UIColor to avoid manual memory management (b70709dbc2 by @Saadnajmi)RCTHermesInstance
constructor breaking change (aec6666bfa by @tido64)rn_rootThreshold
in Intersection Observer (a77d8d9d50 by @lunaleaps)resizeMode
and objectFit
support for 'none'
. (d8cfd98070 by @mateoguzmana)React.AbstractComponent
in React codebase (6205aad81e by @SamChou19815)display: contents
(e7a3f479fe by @j-piasecki)announceForAccessibilityWithOptions
function mock in the packages/react-native/jest/setup.js
file. (4ae999b90b by @ChrisMattew)NativeAnimatedModule
(fd355308fa by @yungsters)HostInstance
type to represent the instance of a HostComponent<T>
. (e24f9917c2 by @yungsters)DevMenu
from react-native
(e12c0d9551 by @frankcalise)experimental
prefix and fully released mixBlendMode
prop (d2c48f3b1a by @jorge-cab)Animated
to improve product performance (dc84d00db6 by @yungsters)Animated
(f3f652daab by @yungsters)force-cache
caching control option (a0be88fd72 by @mateoguzmana)Image
cache control for Android (e5dd7d68bf by @mateoguzmana)resizeMethod
options when applied to a large image (768a1d8664 by @Abbondanzo)resizeMethod
, none
, which disables downsampling for an image (6202319ed5 by @Abbondanzo)isHighTextContrastEnabled()
to AccessibilityInfo
to read ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED
setting value (d4ea147b41 by Ariel Lin)outline-width
, outline-color
, outline-style
& outline-offset
(17faac4170 by @jorge-cab)unloadApp
methods for unmounting surfaces without destroying ReactHost (38593c440e by @rozele)only-if-cached
cache control option (dc9db01665 by @mateoguzmana)inputAccessoryViewButtonLabel
prop (32931466ed by @mateoguzmana)RCTAppDependencyProvider
to the RCTAppDelegate
(95fc906930 by @cipolleschi)disabledButtonTintColor
prop to ActionSheetIOS (089c87e22e by @henninghall)CallInvoker
to BindingsInstaller
(87bae7f734 by @mrousavy)isDarkerSystemColorsEnabled()
to AccessibilityInfo
to read "Increase Contrast" setting value (af3bee6511 by Ariel Lin)systemCyan
and systemMint
colors on iOS (4caf548a9f by @EvanBacon)outline-width
, outline-color
, outline-style
& outline-offset
(1288e38423 by @jorge-cab)AnimatedNode
graph will not occur during the insertion effect phase, which means animations can now be reliably started during layout effects. (316170ce8d by @yungsters)appendFragment
and prependFragment
take an rval instead of a const ref; append/prependAttributedString have been removed (2c31fe99e1 by @javache)animation.start(<callback>)
will be scheduled for execution in a microtask. Previously, there were certain scenarios in which the callback could be synchronously executed by start
. (090501d26d by @yungsters)Animated
components. (f0ffcd4f5d by @yungsters)useMergeRefs
and components using it (e.g. Pressable
) now support ref cleanup functions. (01e210fd28 by @yungsters)useNativeDriver
and AnimatedValue
configurations will now synchronously fail. Previously, spring and timing animations with non-zero delays would throw the error asynchronously. (fd8cf19625 by @yungsters)Animation
superclass no longer exposes __onEnd
as a property. Subclasses must instead invoke super.start(…)
in their start()
implementation. (b3fe06b268 by @yungsters)HostInstance
(which changing nominal types). (177697f539 by @yungsters)toJSON()
. (7bd4a54968 by @yungsters)toJSON()
. (fe6228512e by @yungsters)style
to the original prop value if it contains no AnimatedNode
instances. Previously, it would resolve to a flattened style object. (ca234ba10e by @yungsters)outline
props on Android to stay consistent with iOS (7ab0002799 by @jorge-cab)prefetchImageWithMetadata
's queryRootName
nullable in the spec (4dd60acb7d by @TheRogue76)RCTSurfaceHostingProxyRootView
no longer has different behavior (whether it calls start
on the provided surface) depending on which initializer is used. Call start
yourself on the surface instead. (13b93cfdda by Nolan O'Brien)newArchEnabled
flag in RCTAppDelegate and RCTRootViewFactory (7e1674fc59 by @okwasniewski)RCTUIGraphicsImageRenderer
to RCTMakeUIGraphicsImageRenderer
(6a09fc09af by @Saadnajmi)BackHandler.removeEventListener
(44d619414c by @retyui)refs
property from NativeMethods
TypeScript definition. (223e98cc4b by @yungsters)display: contents
is used (aa53bde21b by @j-piasecki)flow
, where extended JS syntax remains unsupported. (3de9892353 by @huntie)Appearance.setColorScheme(null)
not resetting color scheme value (7d63235086 by @sangonz193)useNativeProps
(4c3112c8d8 by @cipolleschi)display: contents
not being cleaned in some cases (a88ddcecc9 by @j-piasecki)PerformanceEntryReporter::reportMark
and PerformanceEntryReporter::reportMeasaure
now return created performance entries. (32f7b3b4e0 by @robik)create
to customize property lookup (5b5e150eaf by @javache)jscodeshift@17.0.0
to resolve outdated dependencies (39c98fb8f8 by @byCedric)textAlign
is set to justify
(08e8f6adfd by @coado)maintainVisibleContentPosition
in virtualized lists (6c19996e10 by @fabriziocucci)onDropViewInstance
cleanup was not being handled after ReactRootView.unmountReactApplication
(0449630612 by @rozele)ANTI_ALIAS_FLAG
when resetting Text Paint (276e3a7df7 by @NickGerleman)setAndroidLayoutDirection
by default (6cf0cfb5a4 by @NickGerleman)r
& d
not working from Metro sometimes (9a60038a40 by @EdmondChuiHW)onMomentumScrollBegin
event not firing on command-driven scroll events (5b609cca09 by @Abbondanzo)attempt to insert nil object from objects
(bebd6531b5 by @RodolfoGS)Changelog
v0.76.2
semver
not being found in pnpm setups (0def73d1a6 by @tido64)setUpErrorHandling
to show early JS errors (dac6d508af by @cipolleschi)value
instead of children
(52cdedb40e by @NickGerleman)Changelog
v0.76.0
api
dependency. (6dc01dad09 by @cortinico)minSdkVersion
to API 24 (Android 7) (270951a212 by @alanleedev)ReactNativeHost
invalidates the instance manager on clear()
, rather than merely destroying the instance. (986cf18dd2 by @motiz88)loadSourceForBridge
. Removed some properties from the RCTRootViewFactory
. (7487a2c277 by @alanjhughes)filter
CSSProperty. (6b369a40d9 by @jorge-cab)boxShadow
CSSProperty. (2241c3146f by @jorge-cab)IO.read
requests (c085180264 by @robhogan)Network.loadNetworkResource
(193cdc36f7 by @robhogan)/open-debugger
specifying target
param (88ba9a6042 by @robhogan)PackagerAsset.resolver
prop so AssetSourceResolver can use it instead of Platform.OS
to identify where asset is stored on device. (3f3a85b3c5 by @andrewdacenko)MetroConfig
type directly from react-native/metro-config
. (cc6d1eb844 by @tjzel)react-native
in a react-server
environment for React Server Components support. (8989c9b71d by @EvanBacon)texAlignment: 'start'
(a2cb34371e by @javache)com.facebook.react.bridge.Dynamic
as parameter type in TurboModules (d01f1b3214 by @cortinico)Image
(aad9240fd4 by Peter Abbondanzo)invalidate()
method to ReactHost and ReactInstanceManager that destroys the ReactHost
, including the ReactInstance
. (a3db352e25 by @motiz88)onUserLeaveHint
support into ReactActivityDelegate
(27ba369f23 by @behenate)resolveThemeAttribute
function to reattempt resource resolution with the "android" package name if the resource ID is 0. (6365df54db by @shubhamguptadream11)onUserDrivenAnimationEnded
in the old Architecture (f8c13f601d by @cipolleschi)automaticallyLoadReactNativeWindow
flag (391680fe84 by @okwasniewski)showSoftInputOnFocus
props for new arch. (ead50d6b11 by @shubhamguptadream11)Animated
(d1ebe02c19 by @yungsters)Animated
props validation to soft errors instead of thrown errors (0a1ba02273 by @yungsters)Appearance.getColorScheme
performance (8f0f50f7a1 by @yungsters)--experimental-debugger
option from start command (94e7a87f23 by @huntie)j
opens most recent (not first) target. (2a6a895b17 by @robhogan)/json/list
return connection-addition-ordered targets. (53951d7fec by @robhogan)node-fetch
in favor of Node's built-in fetch from undici
in react-native/dev-middleware
(30a3e6e8df by @byCedric)Appearance
performance overhead by lazily initializing the NativeModule (b86e8ef95f by @yungsters)timeout
argument is now coerced to a number (af04eb773c by @robik)experimental_boxShadow
and experimental_backgroundImage
to BaseViewConfig (03801f275e by @NickGerleman)setPointerEvents
public (010e0010a3 by @jakex7)min iOS 15.1
(e1a1cdacf2 by @realsoelynn)[RCTConvert UIBarStyle:]
(a557a81f96 by @Saadnajmi)ReactElement
objects are supplied to Animated components (56937d646c by @yungsters)yargs
(3e084bc159 by @tido64)~ShadowNodeWrapper()
and ~ShadowNodeListWrapper()
(778fcecf35 by @tomekzaw)200
when successfully launching RNDT (eeb6122f39 by @byCedric)transformer.hermesParser = false
is configured in Metro config (1387f521fd by @huntie)--build-output
destination exists (396bdd87d8 by @szymonrybczak)renderItem
required return type (12b64b7824 by @NickGerleman)alignItems: 'baseline'
not working correctly on the new architecture (2932c0f71f by @j-piasecki)submitBehavior
prop and mark blurOnSubmit
prop as deprecated in Typescript declaration file of TextInput
(1dcbf41725 by @thisisgit)NativeDevSettings.setIsDebuggingRemotely
where the app would keep on restarting if remote debugging was invoked from an action / component that was called on app start. (beebf4a0a3 by @Sushant-Sardeshpande)open
for inheritance (0e805a953d by @cortinico)react_timing
headers in reactnative
prefab (b1d42c8ef2 by @tomekzaw)REACTNATIVE_MERGED_SO
for autolinked libraries (c005609b01 by @cortinico)Tried to finish non-existent task with id
(b4532adad4 by @RodolfoGS)showsHorizontalScrollIndicator
and showsVerticalScrollIndicator
(3af01a8a44 by @NickGerleman)backgroundColor
was set on the TextInput
(83716298f8 by @j-piasecki)contextMenuHidden
prop bug fix (8a3ffb6d23 by @alanleedev)RCTImageLoader
related to assignment of cancellation block. (0f051f6034 by @hakonk)If-None-Match
request (b8ab0fe703 by @huzhanbo1996)RCTNetworkTask.status
. (b1ec698dc4 by @hakonk)RCTRedBoxExtraData
(c9d589dab5 by @krozniata)ReactMarker::logTaggedMarkerImpl
(7e41ea4c9d by @hakonk)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)