Skip to content

Latest commit

 

History

History
276 lines (153 loc) · 20.1 KB

File metadata and controls

276 lines (153 loc) · 20.1 KB

Changelog

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 bf976fd Thanks @KisaneNeko! - Bump the Brownfield Gradle Plugin version injected by the Expo config plugin to 2.0.0-alpha09.

  • #462 2f7d5da Thanks @likevy! - fixes #457, android back callbacks survived RN fragment view destruction, retaining delegates and intercepting back presses after re-entry

  • #470 09162c2 Thanks @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

  • #450 4846a05 Thanks @borisyankov! - Add preloadBundle to startReactNative on iOS. Without a preload, startReactNative only makes the factory, and React Native loads the JavaScript bundle when it creates the first React Native view. startReactNative(launchOptions:preloadBundle:onBundleLoaded:) moves that work to the app launch: the call starts the React Host, and React Native evaluates the bundle on the JavaScript thread, in parallel with the remainder of the app launch. On Android, ReactNativeBrownfield.initialize does the same operation. This shape of startReactNative also takes the launch options for the React Host. onBundleLoaded now runs on the main thread, and not on the JavaScript thread. A callback that you add after React Native loaded the bundle runs in the next turn of the main run loop.

Patch Changes

5.0.2

Patch Changes

  • #449 83657e7 Thanks @hurali97! - Fix npm publishing by upgrading to Changesets v3 (Yarn rewrites workspace: ranges on publish) and correcting package repository metadata required for npm provenance.

  • Updated dependencies [83657e7]:

    • @callstack/brownfield-cli@5.0.2

5.0.1

Patch Changes

  • Updated dependencies []:

    • @callstack/brownfield-cli@5.0.1
  • #442 7898f8a Thanks @janicduplessis! - feat: allow extending the list of .so files kept out of the AAR Adds a reactBrownfield.ignoreEmbeddedLibs option so a project can name additional native libraries that should not be embedded, next to the built-in IGNORE_EMBEDDED_LIBS list.

5.0.0

Major Changes

Patch Changes

4.3.0

Minor Changes

Patch Changes

  • Updated dependencies [627fcbc, 8894482]:
    • @callstack/brownfield-cli@4.3.0

4.2.0

Minor Changes

Patch Changes

  • Updated dependencies [39cf6a7]:
    • @callstack/brownfield-cli@4.2.0

4.1.0

Minor Changes

Patch Changes

  • Updated dependencies [dd1082a]:

    • @callstack/brownfield-cli@4.1.0
  • #417 28b534e Thanks @hurali97! - fix: merge classes to contain third party libs classes

4.0.0

Major Changes

Patch Changes

  • Updated dependencies [dee9559]:

    • @callstack/brownfield-cli@4.0.0
  • #414 803f8ca Thanks @artus9033! - fix: duplicated JNI libs on cold publish

3.15.0

Minor Changes

Patch Changes

  • Updated dependencies []:
    • @callstack/brownfield-cli@3.15.0

3.14.0

Minor Changes

Patch Changes

  • Updated dependencies [10ff597]:
    • @callstack/brownfield-cli@3.14.0

3.13.2

Patch Changes

3.13.1

Patch Changes

3.13.0

Minor Changes

Patch Changes

  • Updated dependencies [ef835b5]:

    • @callstack/brownfield-cli@3.13.0
  • #391 95dbb43 Thanks @adamTrz! - Fix Expo iOS framework debug bundle packaging so Debug builds load from Metro when it is available and fall back to embedded bundles without dev-server-only runtime code.

3.12.0

Minor Changes

Patch Changes

  • Updated dependencies []:
    • @callstack/brownfield-cli@3.12.0

3.11.0

Minor Changes

  • #358 3715ac7 Thanks @adamTrz! - Add --add-spm-package to brownfield package:ios so packaging can also generate a local Swift Package Manager wrapper around the produced XCFrameworks, including a generated Package.swift, README.md, and Xcode integration instructions. Fail fast when Debug packaging cannot resolve the app framework name while local SPM output is requested.

  • #364 05c557d Thanks @hurali97! - keep only one reference of xcframeworks when spm enabled

  • #317 c04301b Thanks @adamTrz! - Add an opt-in iOS Debug mode for loading the embedded JavaScript bundle with preferEmbeddedBundleInDebug, fix bundleURLOverride fallback behavior when the override returns nil, and add native bundle-resolution tests.

Patch Changes

3.10.0

Minor Changes

  • #323 3456d3a Thanks @artus9033! - Support RN prebuilts in Brownfield, by default enabled in RN >= 0.84, opt-in in RN 0.83; or in Expo 55+ (Expo 54 is not supported). Add --use-prebuilt-rn-core to brownfield package:ios so callers can opt into or out of React Native Apple prebuilt binaries; omitting the flag defers to version-aware defaults handled by Rock. The CLI rejects --use-prebuilt-rn-core when React Native is older than 0.81 or when the project is Expo SDK older than 55. Fix brownfield framework dylib install names to use @rpath instead of hardcoded paths.

Patch Changes

  • Updated dependencies [3456d3a]:

    • @callstack/brownfield-cli@3.10.0
  • #323 3456d3a Thanks @artus9033! - Force BUILD_LIBRARY_FOR_DISTRIBUTION / SWIFT_EMIT_MODULE_INTERFACE on the CocoaPods ReactBrownfield, Brownie and BrownfieldNavigation targets so Release builds emit .swiftinterface files and xcodebuild -create-xcframework (brownfield package:ios) can merge slices.

3.9.0

Minor Changes

  • #326 80e6364 Thanks @artus9033! - feat: strip SO files by default, deprecate experimental option in favor of useStrippedSoFiles

Patch Changes

  • Updated dependencies [80e6364]:
    • @callstack/brownfield-cli@3.9.0

3.8.1

Patch Changes

  • #336 35b6f0a Thanks @hurali97! - fix: allow unregistering the navigation delegate

  • Updated dependencies [e78084d]:

    • @callstack/brownfield-cli@3.8.1
  • #335 e78084d Thanks @hurali97! - fix: Object params correctly reflect the generated native code instead of Any

3.8.0

Minor Changes

Patch Changes

  • Updated dependencies [d93dcd9]:
    • @callstack/brownfield-cli@3.8.0

3.7.0

Minor Changes

Patch Changes