Releases: callstack/repack
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
4.4.1
5.0.0-rc.8
5.0.0-rc.7
Important changes
NativeWind support
You can use NativeWind
with Re.Pack through a dedicated plugin, please see the README.md
for instructions on how to start using it.
Upgrading from previous RC versions
- If you were using one of the previous release with Rspack, you should go to your
rspack.config.js
and removeloose: true
frombuiltin:swc-loader
rules and add this snippet tooptions.jsc
to enable the most compatible way of compiling your project:
assumptions: {
setPublicClassFields: true,
privateFieldsAsProperties: true,
}
- React Native Codegen processing is now handled through a dedicated internal plugin and should be removed from the project rules. If you have
Repack.REACT_NATIVE_CODEGEN_RULES
in your config, you should remove it to prevent the transformation from running twice.
See the V5 template for more context: https://github.com/callstack/repack/blob/2390ead8ae0da12f7af59422b4de6b6162acf635/templates_v5/rspack.config.mjs
Minor Changes
-
#872
0e600d4
Thanks @jbroma! - Enable inlining entry modules by making runtime initialization from React renderers a no-op -
#841
d9d64ef
Thanks @borisyankov! - Add support for NativeWind through a dedicated optional plugin called@callstack/repack-plugin-nativewind
-
#869
30fa495
Thanks @jbroma! - Use@react-native-community/cli
explictly iOS project settings (throughCLI_PATH
).Drop (unofficial) support for modyfing Android config for RN versions < 0.71.
-
#865
3bfb690
Thanks @jbroma! - Add CodegenPlugin as part of RepackPlugin to handle React Native Codegen babel transforms -
#864
5aa009c
Thanks @jbroma! - Make babel-loader a dependecy
Patch Changes
-
#870
abf190e
Thanks @jbroma! - Install latest version of@rspack/core
with repack-init -
#869
30fa495
Thanks @jbroma! - Add--config-cmd
to options for bundle command for compatibility with RN >= 0.76 -
#880
cdfdca4
Thanks @jbroma! - Fix swc loader module rules loose mode configuration -
#871
93f2c74
Thanks @jbroma! - Add error boundary around webpack's require function to match Metro's error handling behavior more closely -
#868
96915f8
Thanks @jbroma! - Decouple init & module error handling from load script runtime module inside RepackTargetPlugin -
#867
153d1d4
Thanks @ra1nj! - Add 'react-native-inappbrowser-reborn' in flowTypedModulesLoadingRules.
4.4.0
5.0.0-rc.6
Minor Changes
- #855
6421e0b
Thanks @borisyankov! - Optimize 'checkIfCacheDataOutdated' to do as few comparisons as possible
Patch Changes
5.0.0-rc.5
5.0.0-rc.4
Major Changes
- #825
18f2eef
Thanks @jbroma! - Removed--reverse-port
CLI option and replaced it with--no-reverse-port
CLI option.
Minor Changes
-
#828
b1a010a
Thanks @jbroma! - Run adb reverse for all available devices by default -
#828
b1a010a
Thanks @jbroma! - Wait for android device before running adb reverse when starting dev-server -
#824
8cf7cc3
Thanks @jbroma! - Addedadb reverse
interaction &adb reverse
command is now run by default when bundling for Android
Patch Changes
5.0.0-rc.3
Minor Changes
-
#817
c97da24
Thanks @jbroma! - Add Repack Reanimated Plugin which integrates react-native-reanimated into the project -
#810
46330d7
Thanks @jbroma! - Include@rspack/plugin-react-refresh
with Re.Pack instead of requiring user to install it -
#816
6ed9a6f
Thanks @jbroma! - Support platform specific assets -
#803
daffbf7
Thanks @jbroma! - Refactor FederationRuntimePlugin into two separate plugins for more granular control over the MF2 runtime behaviour (CorePlugin & ResolverPlugin)
Patch Changes
-
#821
287991e
Thanks @jbroma! - Ignore irrelevant MF2 runtime warning about request of a dependency being an expression -
#814
592fbe3
Thanks @jbroma! - Fix how size of a scaled assets is obtained (aligned with metro) -
#808
f600e07
Thanks @jbroma! - Fix type JSX runtime transform when transpiling node modules -
#819
9890400
Thanks @jbroma! - Fix missing sourcemap generation for codegen related files and configure separate rules for ts & tsx files -
#802
502527e
Thanks @thymikee! - Export commands from package entrypoint -
#820
39f80b3
Thanks @jbroma! - Ignore setUpTests warning from Reanimated by default