diff --git a/.changeset/bump-bgp-alpha09.md b/.changeset/bump-bgp-alpha09.md deleted file mode 100644 index 80efc254..00000000 --- a/.changeset/bump-bgp-alpha09.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@callstack/react-native-brownfield': patch ---- - -Bump the Brownfield Gradle Plugin version injected by the Expo config plugin to `2.0.0-alpha09`. diff --git a/.changeset/orange-cities-pull.md b/.changeset/orange-cities-pull.md deleted file mode 100644 index 350b291b..00000000 --- a/.changeset/orange-cities-pull.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@callstack/react-native-brownfield': patch ---- - -fixes #457, android back callbacks survived RN fragment view destruction, retaining delegates and intercepting back presses after re-entry diff --git a/.changeset/pop-to-native-topmost-surface.md b/.changeset/pop-to-native-topmost-surface.md deleted file mode 100644 index b9fe9bdd..00000000 --- a/.changeset/pop-to-native-topmost-surface.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@callstack/react-native-brownfield': patch ---- - -Fix `popToNative()` on iOS closing every React Native screen instead of only the topmost one. - -`popToNative()` is delivered as an app-wide notification, so every live React Native surface acted on it — including surfaces buried under other screens, and each surface acted twice when hosted by SwiftUI. In a stack such as RN → native → RN, a single call tore down the whole navigation stack, taking native screens with it. - -A React Native surface now acts only when it is the topmost one on screen, and only once per host. - -Two consequences worth knowing about: - -- When no React Native surface is on screen — for example one hidden behind a full-screen native modal — `popToNative()` is now a no-op instead of popping the hidden screen. It logs when this happens. -- `popToNative()` no longer dismisses a modally presented native screen that merely *contains* a React Native surface. Only a surface that owns a navigation stack entry pops. diff --git a/CHANGELOG.md b/CHANGELOG.md index af7f490d..917d077c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ _History prior to 3.7.0 is available in the per-package CHANGELOG files._ +## 5.1.1 + +### Patch Changes + +- Updated dependencies []: + - @callstack/brownfield-cli@5.1.1 + +- [#458](https://github.com/callstack/react-native-brownfield/pull/458) [`bf976fd`](https://github.com/callstack/react-native-brownfield/commit/bf976fdebc1abb228c03213c9a1b41d9967d0909) Thanks [@KisaneNeko](https://github.com/KisaneNeko)! - Bump the Brownfield Gradle Plugin version injected by the Expo config plugin to `2.0.0-alpha09`. + +- [#462](https://github.com/callstack/react-native-brownfield/pull/462) [`2f7d5da`](https://github.com/callstack/react-native-brownfield/commit/2f7d5daf661808fdfdd1caae89236dbdfec3f62e) Thanks [@likevy](https://github.com/likevy)! - fixes [#457](https://github.com/callstack/react-native-brownfield/issues/457), android back callbacks survived RN fragment view destruction, retaining delegates and intercepting back presses after re-entry + +- [#470](https://github.com/callstack/react-native-brownfield/pull/470) [`09162c2`](https://github.com/callstack/react-native-brownfield/commit/09162c27bd8455b67bc0e2890a4ffe8dae5b9eae) Thanks [@KisaneNeko](https://github.com/KisaneNeko)! - Fix `popToNative()` on iOS closing every React Native screen instead of only the topmost one. + `popToNative()` is delivered as an app-wide notification, so every live React Native surface acted on it — including surfaces buried under other screens, and each surface acted twice when hosted by SwiftUI. In a stack such as RN → native → RN, a single call tore down the whole navigation stack, taking native screens with it. + A React Native surface now acts only when it is the topmost one on screen, and only once per host. + Two consequences worth knowing about: + - When no React Native surface is on screen — for example one hidden behind a full-screen native modal — `popToNative()` is now a no-op instead of popping the hidden screen. It logs when this happens. + - `popToNative()` no longer dismisses a modally presented native screen that merely _contains_ a React Native surface. Only a surface that owns a navigation stack entry pops. + ## 5.1.0 ### Minor Changes diff --git a/packages/brownfield-navigation/CHANGELOG.md b/packages/brownfield-navigation/CHANGELOG.md index 8db897c7..c89ec38b 100644 --- a/packages/brownfield-navigation/CHANGELOG.md +++ b/packages/brownfield-navigation/CHANGELOG.md @@ -1,5 +1,12 @@ # @callstack/brownfield-navigation +## 5.1.1 + +### Patch Changes + +- Updated dependencies []: + - @callstack/brownfield-cli@5.1.1 + ## 5.1.0 ### Patch Changes diff --git a/packages/brownfield-navigation/package.json b/packages/brownfield-navigation/package.json index 02cd467f..2a2cd574 100644 --- a/packages/brownfield-navigation/package.json +++ b/packages/brownfield-navigation/package.json @@ -1,6 +1,6 @@ { "name": "@callstack/brownfield-navigation", - "version": "5.1.0", + "version": "5.1.1", "license": "MIT", "author": "Hur Ali", "description": "Brownfield navigation helpers for React Native", diff --git a/packages/brownfield/CHANGELOG.md b/packages/brownfield/CHANGELOG.md index 48d6d046..57f8b84f 100644 --- a/packages/brownfield/CHANGELOG.md +++ b/packages/brownfield/CHANGELOG.md @@ -1,5 +1,12 @@ # brownfield +## 5.1.1 + +### Patch Changes + +- Updated dependencies []: + - @callstack/brownfield-cli@5.1.1 + ## 5.1.0 ### Patch Changes diff --git a/packages/brownfield/package.json b/packages/brownfield/package.json index 14000eb8..3622dd5f 100644 --- a/packages/brownfield/package.json +++ b/packages/brownfield/package.json @@ -1,6 +1,6 @@ { "name": "brownfield", - "version": "5.1.0", + "version": "5.1.1", "license": "MIT", "author": "Artur Morys-Magiera ", "bin": "dist/index.js", diff --git a/packages/brownie/CHANGELOG.md b/packages/brownie/CHANGELOG.md index d3673dc8..08abb70f 100644 --- a/packages/brownie/CHANGELOG.md +++ b/packages/brownie/CHANGELOG.md @@ -1,5 +1,12 @@ # @callstack/brownie +## 5.1.1 + +### Patch Changes + +- Updated dependencies []: + - @callstack/brownfield-cli@5.1.1 + ## 5.1.0 ### Patch Changes diff --git a/packages/brownie/package.json b/packages/brownie/package.json index 2ae9c8fa..41ceb5b4 100644 --- a/packages/brownie/package.json +++ b/packages/brownie/package.json @@ -1,6 +1,6 @@ { "name": "@callstack/brownie", - "version": "5.1.0", + "version": "5.1.1", "license": "MIT", "author": "Oskar Kwaśniewski ", "bin": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 372af950..35b577c3 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,7 @@ # @callstack/brownfield-cli +## 5.1.1 + ## 5.1.0 ## 5.0.2 diff --git a/packages/cli/package.json b/packages/cli/package.json index 61612605..d50dd330 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@callstack/brownfield-cli", - "version": "5.1.0", + "version": "5.1.1", "license": "MIT", "author": "Artur Morys-Magiera ", "bin": { diff --git a/packages/react-native-brownfield/CHANGELOG.md b/packages/react-native-brownfield/CHANGELOG.md index 1f3e88ee..36f905d6 100644 --- a/packages/react-native-brownfield/CHANGELOG.md +++ b/packages/react-native-brownfield/CHANGELOG.md @@ -1,5 +1,26 @@ # @callstack/react-native-brownfield +## 5.1.1 + +### Patch Changes + +- [#458](https://github.com/callstack/react-native-brownfield/pull/458) [`bf976fd`](https://github.com/callstack/react-native-brownfield/commit/bf976fdebc1abb228c03213c9a1b41d9967d0909) Thanks [@KisaneNeko](https://github.com/KisaneNeko)! - Bump the Brownfield Gradle Plugin version injected by the Expo config plugin to `2.0.0-alpha09`. + +- [#462](https://github.com/callstack/react-native-brownfield/pull/462) [`2f7d5da`](https://github.com/callstack/react-native-brownfield/commit/2f7d5daf661808fdfdd1caae89236dbdfec3f62e) Thanks [@likevy](https://github.com/likevy)! - fixes [#457](https://github.com/callstack/react-native-brownfield/issues/457), android back callbacks survived RN fragment view destruction, retaining delegates and intercepting back presses after re-entry + +- [#470](https://github.com/callstack/react-native-brownfield/pull/470) [`09162c2`](https://github.com/callstack/react-native-brownfield/commit/09162c27bd8455b67bc0e2890a4ffe8dae5b9eae) Thanks [@KisaneNeko](https://github.com/KisaneNeko)! - Fix `popToNative()` on iOS closing every React Native screen instead of only the topmost one. + + `popToNative()` is delivered as an app-wide notification, so every live React Native surface acted on it — including surfaces buried under other screens, and each surface acted twice when hosted by SwiftUI. In a stack such as RN → native → RN, a single call tore down the whole navigation stack, taking native screens with it. + + A React Native surface now acts only when it is the topmost one on screen, and only once per host. + + Two consequences worth knowing about: + - When no React Native surface is on screen — for example one hidden behind a full-screen native modal — `popToNative()` is now a no-op instead of popping the hidden screen. It logs when this happens. + - `popToNative()` no longer dismisses a modally presented native screen that merely _contains_ a React Native surface. Only a surface that owns a navigation stack entry pops. + +- Updated dependencies []: + - @callstack/brownfield-cli@5.1.1 + ## 5.1.0 ### Minor Changes diff --git a/packages/react-native-brownfield/package.json b/packages/react-native-brownfield/package.json index 8237f78e..ddfa4630 100644 --- a/packages/react-native-brownfield/package.json +++ b/packages/react-native-brownfield/package.json @@ -1,6 +1,6 @@ { "name": "@callstack/react-native-brownfield", - "version": "5.1.0", + "version": "5.1.1", "license": "MIT", "author": "Michal Chudziak ", "bin": {