Releases: callstack/repack
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
Patch Changes
-
#1075
dac01e4
Thanks @szymonrybczak! - Use default publicPath in development instead of enforcing it in DevelopmentPlugin -
#1074
54fa1cd
Thanks @szymonrybczak! - Remove enforcement of output filenames in dev mode -
#1065
e08a805
Thanks @jbroma! - Fix normalization of resolve.extensions with [platform] placeholder & set publicPath to noop explicitly when using deprecated getPublicPath helper function
5.0.0
✨ Re.Pack 5 ✨
Highlights:
- 5x faster with Rspack
- Mobile microfrontends with Module Federation 2
- Up to 90% smaller configs
- Reanimated, Expo Modules, & NativeWind plugins
Read the full release blog post: https://re-pack.dev/blog/repack-5-release
Migration
We've prepared dedicated migration guides to help you with the transition:
- Migrate from Re.Pack 4: https://re-pack.dev/docs/migration-guides/repack-v4
- Migrate from webpack to Rspack: https://re-pack.dev/docs/migration-guides/rspack

Major Changes
-
#977
e12f63d
Thanks @jbroma! - BREAKING:config.devtool
is now used to control the behaviour of generated sourcemaps. To enable sourcemaps again, please removedevtool: false
from your config or set it explicitly to one of valid values (e.g.source-map
).Introduced a dedicated
SourceMapPlugin
that consolidates sourcemap configuration and improves sourcemap handling by relying on thedevtool
option. The plugin is part of the Repack plugin and does not need to be added separately. -
#780
e937211
Thanks @jbroma! - Removed--silent
CLI flag for start command.For silencing output, you can use shell redirection instead:
- Unix/macOS:
npx react-native start > /dev/null 2>&1
- Windows:
npx react-native start > nul 2>&1
- Unix/macOS:
-
#825
18f2eef
Thanks @jbroma! - Removed--reverse-port
CLI option and replaced it with--no-reverse-port
CLI option. -
#912
07d0566
Thanks @jbroma! - BREAKING CHANGES: RemoveddevServerEnabled
option from assets-loader anddevServer
from Repack plugin configuration - they are now obtained automatically from configuration.Added new
config.devServer
field to configure development server properties with type-safe http/https configuration, special host values (local-ip, local-ipv4, local-ipv6), and enhanced HTTPS configuration with full HttpsServerOptions support. -
#987
97cd8e8
Thanks @jbroma! - BREAKING CHANGES:bundleFilename
,sourceMapFilename
, andassetsPath
have been removed from bothOutputPlugin
andRepackPlugin
configurations. These properties are now controlled only through their respective CLI flags. -
#975
7c9232c
Thanks @jbroma! - DeprecategetPublicPath
utility. ThegetPublicPath
function is now a no-op marked as deprecated, while public path configuration is handled automatically under the hood. -
#976
c29ba2f
Thanks @jbroma! - BREAKING: Simplified RepackPlugin configuration by removingcontext
,mode
, andsourceMaps
options in favor of using values from Rspack/webpack configuration.Made
platform
andoutput
options optional (they are now inferred automatically). The plugin configuration object is now entirely optional, allowing for minimal setup withnew Repack.RepackPlugin()
. -
#720
a7b557e
Thanks @jbroma! - Support for Rspack & Webpack simultaneously -
#958
1bf1b1c
Thanks @jbroma! - BREAKING CHANGE: Added a strict configuration cascade system (CLI Flags -> Config Values -> Command Defaults -> Webpack/Rspack Defaults) to provide clear and predictable configuration resolution.CLI arguments now always take highest precedence and cannot be overridden by config files, ensuring consistent behavior across all commands.
-
#786
cf42d14
Thanks @jbroma! - Enable new debugger (React Native DevTools) by default, remove support for legacy remote debugging -
#962
22d0e8f
Thanks @jbroma! - BREAKING CHANGES: RemovedentryName
config option fromDevelopmentPlugin
,OutputPlugin
andRepackPlugin
- it is now obtained automatically from configuration
Minor Changes
-
#817
c97da24
Thanks @jbroma! - Add Repack Reanimated Plugin which integrates react-native-reanimated into the project -
#674
9f4ad85
Thanks @jbroma! - Add support for Module Federation V2 -
#1021
a87576b
Thanks @jbroma! - Make iOS ScriptConfig properties non-atomic for better performance -
#784
f8af03c
Thanks @zmzlois! - addreact-native-linear-gradient
to flow type module loading rule support -
#778
2344162
Thanks @jbroma! - Add--config
option to commands, deprecate--webpackConfig
option -
#810
46330d7
Thanks @jbroma! - Include@rspack/plugin-react-refresh
with Re.Pack instead of requiring user to install it -
#981
05183a8
Thanks @jbroma! - Resolve[platform]
&[context]
placeholders inconfig.output.path
-
#997
bff2947
Thanks @jbroma! - AddedgetAssetTransformRules
utility function to simplify setting up asset transformation rules in both Webpack and Rspack projects. -
#981
05183a8
Thanks @jbroma! - Add config defaults forconfig.output
andconfig.optimization
-
#765
efff0c2
Thanks @jbroma! - Add default rules for transpiling popular flow typed packages -
#985
2cfd84f
Thanks @jbroma! - Assets loader can now be called without specyifing platform explicitly - the platform is now inferred automatically from configuration -
#872
0e600d4
Thanks @jbroma! - Enable inlining entry modules by making runtime initialization from React renderers a no-op -
#702
495203d
Thanks @jbroma! - Enable dev-server to serve source assets alongside build artifacts -
#763
e433584
Thanks @thiagobrez! - Add getModulePaths utility to generate include and exclude paths for modules in the bundler config -
#828
b1a010a
Thanks @jbroma! - Run adb reverse for all available devices by default -
#1024
5e68814
Thanks [@borisyankov](https://git...
5.0.0-rc.12
5.0.0-rc.11
5.0.0-rc.11
Major Changes
-
#977
e12f63d
Thanks @jbroma! - BREAKING:config.devtool
is now used to control the behaviour of generated sourcemaps. To enable sourcemaps again, please removedevtool: false
from your config or set it explicitly to one of valid values (e.g.source-map
).Introduced a dedicated
SourceMapPlugin
that consolidates sourcemap configuration and improves sourcemap handling by relying on thedevtool
option. The plugin is part of the Repack plugin and does not need to be added separately. -
#912
07d0566
Thanks @jbroma! - BREAKING CHANGES: RemoveddevServerEnabled
option from assets-loader anddevServer
from Repack plugin configuration - they are now obtained automatically from configuration.Added new
config.devServer
field to configure development server properties with type-safe http/https configuration, special host values (local-ip, local-ipv4, local-ipv6), and enhanced HTTPS configuration with full HttpsServerOptions support. -
#987
97cd8e8
Thanks @jbroma! - BREAKING CHANGES:bundleFilename
,sourceMapFilename
, andassetsPath
have been removed from bothOutputPlugin
andRepackPlugin
configurations. These properties are now controlled only through their respective CLI flags. -
#975
7c9232c
Thanks @jbroma! - DeprecategetPublicPath
utility. ThegetPublicPath
function is now a no-op marked as deprecated, while public path configuration is handled automatically under the hood. -
#976
c29ba2f
Thanks @jbroma! - BREAKING: Simplified RepackPlugin configuration by removingcontext
,mode
, andsourceMaps
options in favor of using values from Rspack/webpack configuration.Made
platform
andoutput
options optional (they are now inferred automatically). The plugin configuration object is now entirely optional, allowing for minimal setup withnew Repack.RepackPlugin()
. -
#958
1bf1b1c
Thanks @jbroma! - BREAKING CHANGE: Added a strict configuration cascade system (CLI Flags -> Config Values -> Command Defaults -> Webpack/Rspack Defaults) to provide clear and predictable configuration resolution.CLI arguments now always take highest precedence and cannot be overridden by config files, ensuring consistent behavior across all commands.
-
#962
22d0e8f
Thanks @jbroma! - BREAKING CHANGES: RemovedentryName
config option fromDevelopmentPlugin
,OutputPlugin
andRepackPlugin
- it is now obtained automatically from configuration
Minor Changes
-
#981
05183a8
Thanks @jbroma! - Resolve[platform]
&[context]
placeholders inconfig.output.path
-
#997
bff2947
Thanks @jbroma! - AddedgetAssetTransformRules
utility function to simplify setting up asset transformation rules in both Webpack and Rspack projects. -
#981
05183a8
Thanks @jbroma! - Add config defaults forconfig.output
andconfig.optimization
-
#985
2cfd84f
Thanks @jbroma! - Assets loader can now be called without specyifing platform explicitly - the platform is now inferred automatically from configuration -
#984
1f470a1
Thanks @jbroma! -getResolveOptions
can be now called without any params and theplatform
extensions will be resolved automatically. This makesgetResolveOptions
useful when used in static configs whereplatform
variable isn't exposed. -
#967
3f22966
Thanks @jbroma! - Use own custom ReactRefreshLoader in all configurations (Rspack & webpack) -
#991
c36f778
Thanks @jbroma! - AddedgetJsTransformRules
utility function to simplify setting up JavaScript transformation rules in Rspack for React Native projects.
Patch Changes
-
#956
1945e75
Thanks @szymonrybczak! - Deprecate--webpackConfig
instart
command and make deprecation warning more informative -
#908
1953287
Thanks @jbroma! - Addreact-native-camera
andreact-native-view-shot
to flow libs -
#960
07b2e20
Thanks @jbroma! - Remove the workaround for reordering entry dependencies when using ModuleFederation -
#950
580bf30
Thanks @szymonrybczak! - Don't error on missing--entry-file
when entry is defined inrspack.config.js
orwebpack.config.js
. -
#980
01d9583
Thanks @jbroma! - Normalize the configs after merging them with the defaults and CLI overrides -
#988
de82bbf
Thanks @jbroma! - Remove unusedplatform
param from LoggerPlugin -
#989
88474ea
Thanks @jbroma! - Makeplatform
option of DevelopmentPlugin optional -
#944
928a493
Thanks @szymonrybczak! - Add missingtry
/catch
condition when opening React Native DevTools. -
#968
59d9d02
Thanks @jbroma! - Add consitent plugin naming and error message formatting -
#952
8301f5c
Thanks @hosseinmd! - refactor Android'sRemoteScriptLoader.kt
to reusescriptsDir
-
#949
a8560b9
Thanks @szymonrybczak! - Improve error handling by hiding useless stack traces. -
#955
49b8ddf
Thanks @hosseinmd! - fix: download, write, run instead of download, write, read, run
5.0.0-rc.10
5.0.0-rc.9
Minor Changes
-
#890
361b7b9
Thanks @ceopaludetto! - Add cssInteropOptions to Nativewind plugin. -
#893
aa3802f
Thanks @jbroma! - Prettifyrepack-init
and make it behave similarly to other tools in the ecosystem
Patch Changes
- #892
3a68e15
Thanks @lukewalczak! - Require MF2 container name to be a valid JS identifier