Releases: software-mansion/react-native-screens
4.0.0-beta.13
What's Changed
👍 Improvements / API changes
- feat!: expose library
compatibilityFlags
with new flag regarding header implementation by @kkafar in #2411 - feat!: remove
shouldUseActivityState
flag by @kkafar in #2414 - chore: add support for 0.76-rc.6 by @maciekstosio in #2407
🐛 Bug fixes
- fix(iOS): do not force API user to set
activityState
by @kkafar in #2406 - fix: prevent Require cycles warning by @alduzy in #2410
- fix(iOS):
extraLight
blur not working by @maksg in #2338
🔢 Miscellaneous
Full Changelog: 4.0.0-beta.11...4.0.0-beta.13
4.0.0-beta.11
What's Changed
👍 Improvements
- feat: allow preload using activityState by @maciekstosio in #2389
🐛 Bug fixes
- fix(Android): going back on fabric with nested list by @alduzy in #2383
- fix:
HeaderConfig
impacts layout ofScreen
's contents by @alduzy in #2395 - fix(Android): modal insets not applying by @alduzy in #2371
- fix(Android,Fabric): invalid behaviour of
fitToContents
sheet detent by @kkafar in #2398 - fix(iOS,Fabric): prevent memory leak by calling
invalidate
on deleted screens by @kkafar in #2402 - fix(Android): going back on fabric with horizontal list crash by @alduzy in #2403
- fix(iOS): header snapshots not working by @alduzy in #2393
- fix(iOS):
activityState
regression check false-positive by @kkafar in #2404
🔢 Miscellaneous
Full Changelog: 4.0.0-beta.7...4.0.0-beta.11
4.0.0-beta.7
What's Changed
Another beta, most notably featuring native header refactor, that breaks with native-stack v5 and v6 and will continue to work only with native-stack v7.
Important
Hinting here that we plan to drop support for native-stack v5 completely with release of screens v4. Most likely the native-stack v5 will be shipped with few more versions of the 4.x line of screens, but it will be marked for removal with the stable release. Screens v4 intents to support react-navigation v7.
🐛 Bug fixes
- fix(iOS): full screen modal crash on paper by @maksg in #2336
- fix(Android): do not crash in case background can not be casted to MaterialShapeDrawable by @kkafar in #2388
- fix(iOS): header subviews layout on tab change by @alduzy in #2385
- fix(Android)!: overflowing text in native header by @kkafar in #2325
- fix: check for surplus values in sheet detents array not only in dev mode by @kkafar in #2387
🔢 Miscellaneous
Full Changelog: 4.0.0-beta.5...4.0.0-beta.7
4.0.0-beta.5
What's Changed
4.0.0-beta.5 fixing crashes and issues spotted during testing. Also including changes to the sheets API shape & better error handling.
👍 Improvements
- feat: add stub implementations for
ScreenContentWrapper
for web by @kkafar in #2368 - feat: add stub implementations for
ScreenFooter
for web by @kkafar in #2369 - feat(iOS): sheetInitialDetent support by @alduzy in #2367
- feat: assert that detents array is sorted in dev mode by @kkafar in #2381
- refactor!: add "index" suffix to selected sheet props & add better error handling by @kkafar in #2380
🐛 Bug fixes
- chore: fix crash in example app due to typo in export by @kkafar in #2374
- fix: bring back headers when using "modal" presentation on Android by @kkafar in #2372
- fix: prevent crash when there is no appearance model built by @kkafar in #2375
- fix: align units of sheet corner radius in different callsites by @kkafar in #2378
- chore: remove unnecessary logs from native-stack v5 by @kkafar in #2382
🔢 Miscellaneous
- refactor!: remove deprecated ios stack animation by @maciekstosio in #2361
Full Changelog: 4.0.0-beta.1...4.0.0-beta.5
4.0.0-beta.1
What's Changed
Beta.1 with with new react-native-screens
landing page, many bugfixes and adjustments in the API.
Thank you all for contributions and reporting issues!
You can expect rc
version in incoming days and then we plan directly releasing 4.0.0. Soon after the stable version we plan a blogpost with explanation of the changes. Stay tuned.
👍 Improvements
- docs: Add landing page for React Native Screens by @patrycjakalinska in #2240
- feat: add support for dynamic frameworks by @WoLewicki in #2315
- docs(readme): update FullWindowOverlay example path by @ilia-kurganskii in #2326
- docs: Add Testimonials by @patrycjakalinska in #2333
- feat(Android): add ios like
ios_from_left
slide animation by @chrispader in #2328 - feat: add basic React Server Component support by @EvanBacon in #2170
- feat: add monorepo support for Android builds by @kkafar in #2352
- feat: add compat mode for previously removed formSheet prop values by @kkafar in #2356
- feat: expose
none
&largest
values forsheetLargestUndimmedDetent
prop by @kkafar in #2359
🐛 Bug fixes
- docs: Add workflow to publish GitHub pages by @tboba in #2299
- docs: Resolve correctly missing tv.svg file by @tboba in #2300
- docs: Fix layout of screen sequence animation by @tboba in #2303
- fix(Android): incorrect childCount in removeViewAt when using flatlist on fabric by @alduzy in #2307
- chore(Android): removed redundant FabricViewStateManager comment by @alduzy in #2310
- fix(iOS): Change import of RectUtil.h file to react/renderer/components by @tboba in #2319
- fix(Android,Fabric): pressable on
Screen
loses focus on pointer movement by @kkafar in #2292 - docs: Fix placement of Hero on big screens by @patrycjakalinska in #2305
- fix: do not force set
translucent
nav bar (until it's explicitly specified) by @kirillzyusko in #2301 - fix(Android): getChildDrawingOrder when using refreshcontrol by @BenIrving in #2330
- fix(Android): Request layout manually for CustomToolbar below Android API 29 by @tboba in #2332
- fix(iOS): modal not presenting when deep in stack by @maksg in #2335
- fix(Android): minSdkVersion fallback to default 21 but RN 0.74 require minSdkVersion 23 by @adrianryt in #2346
- fix!: always set Zindex to undefined for InnerScreen by @adrianryt in #2351
- fix(iOS): right header incorrect position by @alduzy in #2316
🔢 Miscellaneous
New Contributors
- @patrycjakalinska made their first contribution in #2240
- @ilia-kurganskii made their first contribution in #2326
- @BenIrving made their first contribution in #2330
- @chrispader made their first contribution in #2328
- @adrianryt made their first contribution in #2346
Full Changelog: 4.0.0-beta.0...4.0.0-beta.1
4.0.0-beta.0
Hello! This time I'm releasing beta version of the new major of react-native-screens
.
This particular release introduces long awaited API for custom detents on iOS & form sheets on Android. The API is still partially unstable and is a subject to breaking changes before stable release, however we do want gather all the possible feedback from the users.
This release introduces breaking changes in types of accepted values for sheet related properties. Right now, until we provide some kind of migration guide, please consult directly our type specs.
You might expect more breaking changes before stable release of screens v4.
Any testing & feedback is very very welcome 💙
What's Changed
Full Changelog: 3.35.0-rc.1...4.0.0-beta.0
3.35.0-rc.1
This time RC release with small batch of fixes for Fabric issues / recent regressions.
Also note that blurEffect
was brought to iOS & Fabric.
If you come by any issues with this release, please open a ticket in our repo 💙
What's Changed
Here's more detailed information on what changes this release introduces.
👍 Improvements
- iOS, Fabric: Implement blurEffect for new architecture by @janicduplessis in #2207
🐛 Bug fixes
- iOS: fix onNativeDismissCancelled called too early during modal dismissal by @zetavg in #2129
- Android: Fix disappearing search icon on opening transparent modal by @alduzy in #2274
- Android, Fabric: Add missing
DoNotStrip
annotation to JNI-accessed methods by @kkafar in #2290 - Android, Fabric, bridgeless: Fix crash on RN hot reload in dev mode when redbox in presentation by @kkafar in #2289
🔢 Miscellaneous
- Remove unused code for finding RN version by @WoLewicki in #2288
Full Changelog: 3.34.0...3.35.0-rc.1
3.34.0
Recently released 3.33.0 introduced a crash when running on Android + Fabric + "bridgefull" combination of platform / architecture. This version introduces a fix for that crash with changes in native code, thus bumping minor version.
What's Changed
🐛 Bug fixes
🔢 Miscellaneous
- Extend logging in architecture-integrity scripts & add NativeProxy.kt to blacklist by @kkafar in #2281
- Aggregate updates from dependabot by @kkafar in #2267
Full Changelog: 3.33.0...3.34.0
3.33.0
Minor release heavily focused on fixing existing Fabric bugs. This version also comes with compatibility with [email protected]
(in its current state - 0.75-rc.6) and a new prop for shadow control (details below).
We want to give a shoutout to @janicduplessis and every person who reported issues in our repository. This is really a big help, thanks a lot! You are the cornerstone of open source community!
Thanks for following along! 💙
What's Changed
Here's more detailed information on what changes this release introduces.
👍 Improvements
- iOS: Add shadow to custom push pop transitions by @maksg in #2239
- Support RN 0.75 by @WoLewicki in #2218
- Refactor snapshots when going back on Fabric by @WoLewicki in #2134
🐛 Bug fixes
- Android, Fabric: Fix jumping content with native header by @kkafar in #2169
- iOS, Fabric: Add missing logic for finding touch handler by @kkafar in #2193
- Android, Paper: Fix apps soft crash on exception due to detached context by @kkafar in #2199
- iOS: Fullscreenmodal color scheme adaptability by @alduzy in #2211
- Fix react-native-screens not building on visionOS by @okwasniewski in #2210
- Fix back button does not respect I18nManager & improve RTL handling in header by @alduzy in #2185
- Android, Fabric: Fix missing negation in check for mismatched frames by @kkafar in #2214
- Android: Fix header shadow not hidden on go back by @alduzy in #2216
- iOS, Paper: Fix possibility of infinite loop when swiping back in nested stack by @kkafar in #2223
- Fix bug with header hide prop on the screen under the modal by @kuczi55 in #2229
- Fix white flash on tab change when using native stack by @alduzy in #2188
- iOS: Fix push and pop transitions change after full screen back swipe by @maksg in #2234
- Fix navbar appearance customization by @alduzy in #2237
- Removed deprecated test that caused fabric bundle failure by @alduzy in #2245
- iOS, Fabric: Fix header left and right layout on fabric by @alduzy, @kkafar in #2248
- Android: Comply to breaking changes in Android SDK 35 by @kkafar in #2258
- iOS, Fabric: Take snapshot in
unmountChildComponent:index:
by @kkafar in #2261 - iOS, Fabric: Fix flickering custom header items by @alduzy, @kkafar in #2247
- iOS, Fabric: Crash while pushing n different screens at the same time by @tboba in #2249
- iOS, Fabric: Update HeaderConfig view controller after unmounting subviews by @janicduplessis in #2230
- iOS, Fabric: Fix on-interactive screen while switching between bottom-tab and native-stack navigators by @tboba in #2260
- Fabric: Fix not working animations on second-top screen by @WoLewicki in #2270
🔢 Miscellaneous
- Make eps parameter const & functions constexpr in RectUtil by @kkafar in #2195
- Reinstall pods in examples after release by @kkafar in #2192
- Update spotless & ktlint by @kkafar in #2189
- Moved android e2e to ubuntu by @alduzy in #2196
- Migrate examples to react-navigation v7 by @alduzy in #2194
- Allow project node_modules to be used in example apps by @kkafar in #2200
- Close stale issues after 2 weeks by @kkafar in #2213
- Rename
compareFrameSizes
tocheckFrameSizesEqualWithEps
by @kkafar in #2217 - Remove unnecessary workflow step by @alduzy in #2226
- Bump worklfow deps by @alduzy in #2233
- Merge example and test example apps by @alduzy in #2225
- Change gradle task for copying to new archs into JS scripts by @maciekstosio in #2224
- Using env working directory for cache deps path by @alduzy in #2244
- Added dark theme to example by @alduzy in #2242
- Remove unused code in podspec by @WoLewicki in #2241
- Unified prettier config across repository by @alduzy in #2250
- Fixes to sync archs scripts by @maciekstosio in #2259
- Removed duplicated modules from metro config by @alduzy in #2264
- Added missing icon and launch screen to fabric example by @alduzy in #2268
- Update readme with supported RN versions since 3.33.0 by @kkafar in #2273
New Contributors
Full Changelog: 3.32.0...3.33.0
3.32.0
Minor release aimed at bugfixing & internal refactorings, however not lacking few nice new features, enjoy 🎉
What's Changed
👍 Improvements
- Proper snapshot when having multiple modals by @WoLewicki in #2121
- Add support for UINavigationBackButtonDisplayMode by @maciekstosio in #2123
- Added navigationBarTranslucent option by @alduzy in #2152
- Update contributing guide by @maciekstosio in #2140
- Call onGestureCancel in modal too by @WoLewicki in #2184
🐛 Bug fixes
- Fix issues with presenting owned modals from foreign ones by @kkafar in #2113
- Fix native behavior of auto shortening back button title by @zetavg in #2105
- Fix build deprecations by @alduzy in #2116
- Fix updating bounds while changing interface orientation by @tboba in #1970
- Prevent throwing exception with
UnsatisfiedLinkError
by @piaskowyk in #2128 - Fix: back gesture activates
Pressable
elements by @kkafar in #2131 - Fix error when building paper after fabric by @maciekstosio in #2142
- Prevent iOS host object installation from getting the wrong bridge by @gabrieldonadel in #2146
- Change
-[RNSScreenContainer init]
to call-[UIView initWithFrame:]
designated initalizer by @Brett-Best in #2161 - Importing of project into Swift projects by @Brett-Best in #2160
- Change name of focus and blur events to searchFocus and searchBlur by @tboba in #2154
- Fix lint warning of CustomToolbar component by @kkafar in #2176
🔢 Miscellaneous
- Screen rewritten as functional component by @alduzy in #2111
- Migrate example apps to use react-navigation by @tboba in #2084
- Prevent setting RTL mode in test examples by @tboba in #2130
- Bump FabricTestExample to RN 74 by @WoLewicki in #2136
- Searchbar rewritten as functional component by @alduzy in #2132
- Bump Podfile.lock for example and test apps by @maciekstosio in #2133
- Add formatting of all cpp by @WoLewicki in #2138
- Bump ScreensExample to RN 74 by @alduzy in #2137
- Bump TestsExample to RN 0.74.1 by @alduzy in #2141
- Wrong app name name used in project.pbxproj by @alduzy in #2143
- Bump FabricExample to RN 0.74.1 by @alduzy in #2147
- Unify tests in test apps by @alduzy in #2135
- Extract shared example and use in in both Example and FabricExa… by @maciekstosio in #2149
- Implement missing codegen interfaces by @maciekstosio in #2163
- Add gradle task to automatically copy the codegen artifacts for paper by @maciekstosio in #2168
- Rebuild TVOSExample app with RN 0.74.1 by @alduzy in #2155
- Example apps file structure and ts support by @alduzy in #2174
- Add hire us section to readme by @kacperkapusciak in #2181
- Using common example src by @alduzy in #2173
- Fix typescript paths by @alduzy in #2182
- Bump Gradle wrapper version to 7.5.1 & not use app node_modules when running tasks from repo by @kkafar in #2186
- Bump
react-navigation
submodule with fixes for header behaviour by @kkafar in #2187 - Bump supported
react-native
versions in readme by @kkafar in #2190
New Contributors
- @zetavg made their first contribution in #2105
- @alduzy made their first contribution in #2111
- @gabrieldonadel made their first contribution in #2146
- @Brett-Best made their first contribution in #2161
Full Changelog: 3.31.1...3.32.0