Skip to content

Releases: callstack/repack

5.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Aug 09:11
ceb6654

Minor Changes

  • #1378 d806b04 Thanks @bartekkrok! - Add maxInlineSize option to assets loader for size-based asset inlining. Use it together with inline: true — assets whose largest variant is within the threshold are inlined as base64 URIs; larger assets are extracted as separate files.

  • #1376 daad54d Thanks @whydidoo! - Allow customizing the native HTTP client used to download remote scripts: RemoteScriptLoader.okHttpClientFactory on Android and ScriptManager.urlSessionFactory on iOS (for SSL pinning, interceptors, custom headers, timeouts, etc.)

  • #1381 997816e Thanks @bartekkrok! - Add publicKeyPath and nativeProjectPaths options to CodeSigningPlugin. When publicKeyPath is set, the plugin automatically embeds the public key into Info.plist (iOS) and strings.xml (Android) during compilation, removing the need for manual native file setup. The embedPublicKey utility is also exported for standalone use.

Patch Changes

  • #1417 376c996 Thanks @dannyhw! - Prevent excessive regular-expression backtracking when validating per-script public keys.

  • #1379 8ab3105 Thanks @JhohellsDL! - Fix CodeSigningPlugin signing assets at processAssets ANALYSE stage (2000) instead of assetEmitted, ensuring bundles are signed before plugins running at REPORT stage (5000) such as withZephyr() can capture and upload them

  • #1382 ac3577b Thanks @MikitasK! - Add support for passing a per-script publicKey from ScriptManager resolvers so signed bundles can be verified with a runtime-provided public key instead of only the app-embedded RepackPublicKey

  • #1409 742d575 Thanks @dannyhw! - Update dependencies to resolve reported security advisories.

    @callstack/repack-dev-server raises its minimum versions for @fastify/middie, fastify, http-proxy-middleware, launch-editor and ws. @callstack/repack raises image-size, and pins terser-webpack-plugin to 5.5.0: it no longer depends on the vulnerable serialize-javascript, and it is the last release before 5.6.0, which silently skips minification under Rspack and leaves production bundles unminified. All bumps stay within the existing major versions, so there are no API changes.

  • #1380 856f1c1 Thanks @MikitasK! - Fix Android dev-server URLs on physical devices by preserving localhost instead of rewriting it to 10.0.2.2.

  • Updated dependencies [742d575]:

    • @callstack/repack-dev-server@5.3.0

5.2.5

Choose a tag to compare

@jbroma jbroma released this 13 Mar 12:45
@callstack/repack@5.2.5
f669cb5

Patch Changes

  • #1357 1705f2a Thanks @jbroma! - Fix production bundles so NativeEntryPlugin keeps polyfills on module-id based __webpack_require__(id) startup.

  • #1358 60e6a17 Thanks @jbroma! - Bump the Android nimbus-jose-jwt dependency from 9.48 to 10.8 for upstream security fixes.

  • #1361 b4178c2 Thanks @jbroma! - Preserve non-terminal stdout logs while interactive status is active, so plugin output lines are not cleared by status redraws.

  • #1364 d0058e2 Thanks @jbroma! - Fix babel-swc-loader compatibility for loose class fields, private methods, and destructuring by adding the complementary SWC transforms SWC expects to run alongside them.

  • #1371 1ab6e4e Thanks @jbroma! - Avoid crashing Android apps when opening React Native DevTools by handling cross-origin Network.loadNetworkResource requests inside the dev server.

  • #1373 1f81fe8 Thanks @jbroma! - Add support for bootstrapping new Re.Pack projects with React Native 0.84.1 and refresh the default bundler dependency versions used during initialization.

  • #1370 84acbdd Thanks @jbroma! - Fix npm-based project creation by using npm exec ... -- rnc-cli instead of a nested npx invocation, and pass a fully qualified React Native patch version to the React Native CLI.

5.2.4

Choose a tag to compare

@jbroma jbroma released this 26 Feb 14:38
@callstack/repack@5.2.4
82a2da8

Patch Changes

5.2.3

Choose a tag to compare

@jbroma jbroma released this 09 Dec 18:55
@callstack/repack@5.2.3
4dd6844

Patch Changes

5.2.2

Choose a tag to compare

@jbroma jbroma released this 03 Nov 21:16
@callstack/repack@5.2.2
1c23c75

Patch Changes

5.2.1

Choose a tag to compare

@jbroma jbroma released this 15 Sep 10:54
@callstack/repack@5.2.1
1b69012

Patch Changes

5.2.0

Choose a tag to compare

@jbroma jbroma released this 27 Aug 12:49
@callstack/repack@5.2.0
dcc2659

5.2.0

Highlights

✨ Read the Re.Pack 5.2 blog post for more details.

Minor Changes

Patch Changes

Read more

5.1.3

Choose a tag to compare

@jbroma jbroma released this 02 Jul 18:20
f34f424

Patch Changes

  • #1188 768e36f Thanks @jbroma! - Fix @callstack/repack-init installing unsupported versions of react-native

  • #1173 175a60a Thanks @raghav-reglobe! - Fix platform detection for NativeWind via NATIVEWIND_OS env var

  • #1184 5046966 Thanks @swrobel! - Add react-native-keyboard-aware-scroll-view and @react-native-community/push-notification-ios to flow libs

5.1.2

Choose a tag to compare

@jbroma jbroma released this 12 Jun 08:57
9e41de5

Patch Changes

  • #1168 71a989b Thanks @jbroma! - Fix React Native DevTools not showing source maps for MF2 remotes

5.1.1

Choose a tag to compare

@jbroma jbroma released this 20 May 10:18
b960793

Patch Changes

  • #1156 897dc5a Thanks @jbroma! - Fix registering resolvers for remotes in ResolverPlugin when ScriptManager is not yet initialized