Releases: callstack/repack
Release list
5.3.0
Minor Changes
-
#1378
d806b04Thanks @bartekkrok! - AddmaxInlineSizeoption to assets loader for size-based asset inlining. Use it together withinline: true— assets whose largest variant is within the threshold are inlined as base64 URIs; larger assets are extracted as separate files. -
#1376
daad54dThanks @whydidoo! - Allow customizing the native HTTP client used to download remote scripts:RemoteScriptLoader.okHttpClientFactoryon Android andScriptManager.urlSessionFactoryon iOS (for SSL pinning, interceptors, custom headers, timeouts, etc.) -
#1381
997816eThanks @bartekkrok! - AddpublicKeyPathandnativeProjectPathsoptions toCodeSigningPlugin. WhenpublicKeyPathis set, the plugin automatically embeds the public key intoInfo.plist(iOS) andstrings.xml(Android) during compilation, removing the need for manual native file setup. TheembedPublicKeyutility is also exported for standalone use.
Patch Changes
-
#1417
376c996Thanks @dannyhw! - Prevent excessive regular-expression backtracking when validating per-script public keys. -
#1379
8ab3105Thanks @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
ac3577bThanks @MikitasK! - Add support for passing a per-scriptpublicKeyfromScriptManagerresolvers so signed bundles can be verified with a runtime-provided public key instead of only the app-embeddedRepackPublicKey -
#1409
742d575Thanks @dannyhw! - Update dependencies to resolve reported security advisories.@callstack/repack-dev-serverraises its minimum versions for@fastify/middie,fastify,http-proxy-middleware,launch-editorandws.@callstack/repackraisesimage-size, and pinsterser-webpack-pluginto 5.5.0: it no longer depends on the vulnerableserialize-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
856f1c1Thanks @MikitasK! - Fix Android dev-server URLs on physical devices by preservinglocalhostinstead of rewriting it to10.0.2.2. -
Updated dependencies [
742d575]:- @callstack/repack-dev-server@5.3.0
5.2.5
Patch Changes
-
#1357
1705f2aThanks @jbroma! - Fix production bundles soNativeEntryPluginkeeps polyfills on module-id based__webpack_require__(id)startup. -
#1358
60e6a17Thanks @jbroma! - Bump the Androidnimbus-jose-jwtdependency from9.48to10.8for upstream security fixes. -
#1361
b4178c2Thanks @jbroma! - Preserve non-terminal stdout logs while interactive status is active, so plugin output lines are not cleared by status redraws. -
#1364
d0058e2Thanks @jbroma! - Fixbabel-swc-loadercompatibility for loose class fields, private methods, and destructuring by adding the complementary SWC transforms SWC expects to run alongside them. -
#1371
1ab6e4eThanks @jbroma! - Avoid crashing Android apps when opening React Native DevTools by handling cross-originNetwork.loadNetworkResourcerequests inside the dev server. -
#1373
1f81fe8Thanks @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
84acbddThanks @jbroma! - Fix npm-based project creation by usingnpm exec ... -- rnc-cliinstead of a nestednpxinvocation, and pass a fully qualified React Native patch version to the React Native CLI.
5.2.4
Patch Changes
-
#1332
cbfcfd0700fe01233c7ff61e37bdbd48a3d887eaThanks @ismarbesic! - Fix hermes-compiler path for RN 0.82+ in the hermes bytecode plugin -
#1348
cc943dd42a97c0ca63a664411b97cc5413b5502fThanks @jbroma! - Fix--entry-filebeing required even whenentryis defined in the bundler config. -
#1333
4023cc7503fae96c82a8d35df9434648d1bb9caeThanks @OrfeasZ! - Handle previous compiler errors and abort bundling inRepackOutputPlugin -
#1340
7ee1b83fac97aeaf1b0727b2fadf58c7dc3fdb6aThanks @jbroma! - Fix polyfill execution order when using Module Federation by adding aPolyfillsRuntimeModuletoNativeEntryPlugin. Polyfills are now required from a runtime module that runs before Module Federation's startup wrapper, guaranteeing they execute before MF startup. -
#1321
a224e84354855bfc923009cab31f887c0e3452c9Thanks @jbroma! - Fix bundling withbabel-swc-loaderwhendisableImportExportTransformis set totruein RN babel preset -
#1350
b083b9d62d873388c4dd6b8165072cc4fbf6bee1Thanks @jbroma! - Update jsonwebtoken to ^9.0.3 to resolve jws security vulnerability. -
#1346
aaf3cc968666e91586fd655053b75e0b2cc11cb1Thanks @jbroma! - Upgrade Fastify to v5 to resolve CVE-2026-25223 (HIGH severity). Updatedfastify,@fastify/middie,@fastify/sensible,fastify-plugin, andfastify-faviconto their v5-compatible versions. -
#1351
6085a1dfa36ed217b27ec0373e5481c820bd6714Thanks @jbroma! - Suppress non-actionable critical dependency warnings fromreact-native-workletsand legacyreact-native-reanimatedinitializersmodules during dev server builds.
5.2.3
Patch Changes
- #1315
8964e05a5b4db0f0b8f2f4d4efea5a48f4d3a44aThanks @dannyhw! - Fix nativewind issue caused by jsx import source being overwritten to undefined when using babel-swc-loader
5.2.2
Patch Changes
- #1302
bc3ac46bfc6f025345caf194082249fa572655adThanks @jbroma! - FixERR_UNSUPPORTED_ESM_URL_SCHEMEerrors when bundling on Windows
5.2.1
Patch Changes
-
#1286
2598d36331f8515f94d193fd52caf1214a9af7e1Thanks @V3RON! - When usingbabel-swc-loader, SWC will now inherit the source type from Babel. -
#1263
b289722d50bac6e571a96337699ad5c543e6064aThanks @jbroma! - Update new project templates for Re.Pack 5.2 -
#1287
1e6cd166871a0a593e909cf91d8bc741cdea44b4Thanks @jbroma! - Propagateimport:falseto shared RN deep imports
5.2.0
5.2.0
Highlights
✨ Read the Re.Pack 5.2 blog post for more details.
Minor Changes
-
#1228
e480ed6dd21cabc114601e8d42afd936ad2a6d75Thanks @jbroma! - Drop dependency on@react-native/dev-middlewareand obtain dev middleware dynamically depending on version of React Native in the project -
#1226
396593afc992cd0357b49de08d6cdb0df89e3c9dThanks @jbroma! - Reanimated Plugin: Add support for Reanimated 4 -
#1172
b15b7d77a60747c11d82fd9f7cf56833527e4caaThanks @jbroma! - Handle displaying relative paths to sourcefiles in DevTools similarly to Metro -
#1225
47bf30cc7814f969ba69bedd814ccf4c21320c44Thanks @jbroma! - Add support for React Native 0.80 flow transforms -
#1206
d41d7a39c2627256eeaea314fecafcca3692c906Thanks @jbroma! - IntroduceBabelSwcLoader, available as@callstack/repack/babel-swc-loaderwhich combines Babel and SWC into one loader, enabling Babel level of customiziability while maitaning good build performance. Can be run in parallel withexperiments.parallelLoaderin Rspack. -
#1206
d41d7a39c2627256eeaea314fecafcca3692c906Thanks @jbroma! - ReanimatedPlugin: skip running the loader whenbabel-swc-loaderis detected as part of loader chain -
#1096
023a4a92c009cf92eba6c7ca133645a72be0a569Thanks @szymonrybczak! - Add support for TypeScript configs & introduce defineWebpackConfig & defineRspackConfig helpers for fully typed configuration -
#1248
1e7d43dd302daaea4ea26be9b1b792aa7ce905a3Thanks @jbroma! - Report Rspack compilation progress in the DevServer logs -
#1227
cc9c132dd29380b8e63b4b2c266d1de9c513100eThanks @jbroma! - Support RN 80 in React Native DevTools integration -
#1257
9c54343e4f93a185f4fe2d176360a05521ea5358Thanks @jbroma! - Add--max-workersoption to start & bundle commands. By default the number of workers is derived from available cores. This option is only effective for Rspack configurations -
#1204
c7bb829fb19b154fe7d45ea25fd12439e0ea1749Thanks @jbroma! - Support 16kb page alignment on Android -
#1206
d41d7a39c2627256eeaea314fecafcca3692c906Thanks @jbroma! - IntroduceBabelLoader, available as@callstack/repack/babel-loaderwhich utilizeshermes-parserfor JS & Flow files and default babel parser for TS files. Can be run in parallel withexperiments.parallelLoaderin Rspack. -
#1209
ecab9586c9e0af8ba3b5ebb9fe001b1cc46ec82fThanks @jbroma! - Support Rspack 1.4 perfetto tracing method -
#1232
2fdeed7abb6c4ed9d1a0d58839ae4287427b837cThanks @jbroma! - Declare support for React Native 0.80 -
#1260
6201bcd1c25673c4bf5a6fa194c6da022da55f2dThanks @jbroma! - Declare support for React Native 0.81 -
#1175
2590cd86ad57d68ec1573173d48ba4e101d7740bThanks @ilteoood! - feat: allow passing additional SVGR options throughgetAssetTransformRules -
#1262
bd8f287ddc69010bd5a02a93c9248ee94efcd283Thanks @jbroma! - Enableexperiments.parallelLoaderby default for Rspack configurations -
#1234
e0ffbc0816240150c13ec9008e8a14593177ecb5Thanks @jbroma! - Add support for adding custom middlewares to the DevServer throughsetupMiddlewaresconfiguration option -
#1186
38d8d1e0b477227af6d64ab287d38556e1b73222Thanks @ilteoood! - the signature of the JavaScript code is now verified even if the bundle is loaded from the file system
Patch Changes
-
#1185
7db4e4118eeaf119c742a2a477aa773155f5eba9Thanks @tringenbach! - Resolvereact-nativepackage exports condition beforeimportorrequire -
#1172
b15b7d77a60747c11d82fd9f7cf56833527e4caaThanks @jbroma! - Fix opening stack frame source file from LogBox -
#1223
51d44f37790c081d19407724e6bdbb40cbd561ecThanks @jbroma! - Addtransform-parametersandtransform-function-nameto the SWC preset -
#1258
f2b5f23853c58cf1bd4b300888229635917d9c6aThanks @jbroma! - Configure the default minimizer for Rspack and webpack configuration -
#1252
7dbf991677ec350bfb7b75a187c0101f20bdadf0Thanks @jbroma! - FixCodeSigningPluginoverwriting Hermes bytecode bundles with signed JS bundles -
#1172
b15b7d77a60747c11d82fd9f7cf56833527e4caaThanks @jbroma! - Don't include 3rd party lib sourcemaps by default into the final sourcemaps -
#1266
27c6e2246345cb8b0f19f832e71bedf2fd733e08Thanks @jbroma! - Handle 'transform-dynamic-import' inbabel-swc-loader -
#1274
e613c04cfc7e472d5555ac0795c31702f6978b1eThanks @jbroma! - Dont use lazy imports by default when using babel-swc-loader -
#1265
b28d2b20c36cb0994ba300115a7eea360398c700Thanks @jbroma! - Let SWC handletransform-typescriptwhen usingbabel-swc-loader -
#1276
4de8bef827e6d3f7898f61425866ef4522d5a304Thanks @jbroma! - Set NODE_ENV based on args.dev option -
#1222
02862e93bc31c5c478341abeefd52d16388d1341Thanks @jbroma! - Addreact-native-modal-datetime-pickerto list of libs with flow types
5.1.3
Patch Changes
-
#1188
768e36fThanks @jbroma! - Fix@callstack/repack-initinstalling unsupported versions ofreact-native -
#1173
175a60aThanks @raghav-reglobe! - Fix platform detection for NativeWind viaNATIVEWIND_OSenv var -
#1184
5046966Thanks @swrobel! - Addreact-native-keyboard-aware-scroll-viewand@react-native-community/push-notification-iosto flow libs