Releases: callstack/repack
5.0.0-rc.10
5.0.0-rc.9
Minor Changes
-
#890
361b7b9Thanks @ceopaludetto! - Add cssInteropOptions to Nativewind plugin. -
#893
aa3802fThanks @jbroma! - Prettifyrepack-initand make it behave similarly to other tools in the ecosystem
Patch Changes
- #892
3a68e15Thanks @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.jsand removeloose: truefrombuiltin:swc-loaderrules and add this snippet tooptions.jscto 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_RULESin 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
0e600d4Thanks @jbroma! - Enable inlining entry modules by making runtime initialization from React renderers a no-op -
#841
d9d64efThanks @borisyankov! - Add support for NativeWind through a dedicated optional plugin called@callstack/repack-plugin-nativewind -
#869
30fa495Thanks @jbroma! - Use@react-native-community/cliexplictly iOS project settings (throughCLI_PATH).Drop (unofficial) support for modyfing Android config for RN versions < 0.71.
-
#865
3bfb690Thanks @jbroma! - Add CodegenPlugin as part of RepackPlugin to handle React Native Codegen babel transforms -
#864
5aa009cThanks @jbroma! - Make babel-loader a dependecy
Patch Changes
-
#870
abf190eThanks @jbroma! - Install latest version of@rspack/corewith repack-init -
#869
30fa495Thanks @jbroma! - Add--config-cmdto options for bundle command for compatibility with RN >= 0.76 -
#880
cdfdca4Thanks @jbroma! - Fix swc loader module rules loose mode configuration -
#871
93f2c74Thanks @jbroma! - Add error boundary around webpack's require function to match Metro's error handling behavior more closely -
#868
96915f8Thanks @jbroma! - Decouple init & module error handling from load script runtime module inside RepackTargetPlugin -
#867
153d1d4Thanks @ra1nj! - Add 'react-native-inappbrowser-reborn' in flowTypedModulesLoadingRules.
4.4.0
5.0.0-rc.6
Minor Changes
- #855
6421e0bThanks @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
18f2eefThanks @jbroma! - Removed--reverse-portCLI option and replaced it with--no-reverse-portCLI option.
Minor Changes
-
#828
b1a010aThanks @jbroma! - Run adb reverse for all available devices by default -
#828
b1a010aThanks @jbroma! - Wait for android device before running adb reverse when starting dev-server -
#824
8cf7cc3Thanks @jbroma! - Addedadb reverseinteraction &adb reversecommand is now run by default when bundling for Android
Patch Changes
5.0.0-rc.3
Minor Changes
-
#817
c97da24Thanks @jbroma! - Add Repack Reanimated Plugin which integrates react-native-reanimated into the project -
#810
46330d7Thanks @jbroma! - Include@rspack/plugin-react-refreshwith Re.Pack instead of requiring user to install it -
#816
6ed9a6fThanks @jbroma! - Support platform specific assets -
#803
daffbf7Thanks @jbroma! - Refactor FederationRuntimePlugin into two separate plugins for more granular control over the MF2 runtime behaviour (CorePlugin & ResolverPlugin)
Patch Changes
-
#821
287991eThanks @jbroma! - Ignore irrelevant MF2 runtime warning about request of a dependency being an expression -
#814
592fbe3Thanks @jbroma! - Fix how size of a scaled assets is obtained (aligned with metro) -
#808
f600e07Thanks @jbroma! - Fix type JSX runtime transform when transpiling node modules -
#819
9890400Thanks @jbroma! - Fix missing sourcemap generation for codegen related files and configure separate rules for ts & tsx files -
#802
502527eThanks @thymikee! - Export commands from package entrypoint -
#820
39f80b3Thanks @jbroma! - Ignore setUpTests warning from Reanimated by default