Skip to content

Releases: callstack/repack

5.0.0-rc.9

23 Jan 21:10
89b68e1
Compare
Choose a tag to compare
5.0.0-rc.9 Pre-release
Pre-release

Minor Changes

Patch Changes

4.4.1

21 Jan 12:30
c860ce4
Compare
Choose a tag to compare

Patch Changes

5.0.0-rc.8

21 Jan 12:01
7a7c238
Compare
Choose a tag to compare
5.0.0-rc.8 Pre-release
Pre-release

Minor Changes

Patch Changes

  • #883 2e953c5 Thanks @jbroma! - Fix crash when warning without moduleDescriptor was being thrown

5.0.0-rc.7

20 Jan 10:07
7118c5d
Compare
Choose a tag to compare
5.0.0-rc.7 Pre-release
Pre-release

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

  1. If you were using one of the previous release with Rspack, you should go to your rspack.config.js and remove loose: true from builtin:swc-loader rules and add this snippet to options.jsc to enable the most compatible way of compiling your project:
assumptions: {
  setPublicClassFields: true,
  privateFieldsAsProperties: true,
}
  1. 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 (through CLI_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

09 Jan 22:14
f2ff304
Compare
Choose a tag to compare

Minor Changes

5.0.0-rc.6

09 Jan 22:36
546e832
Compare
Choose a tag to compare
5.0.0-rc.6 Pre-release
Pre-release

Minor Changes

Patch Changes

5.0.0-rc.5

23 Dec 13:57
2a0afb0
Compare
Choose a tag to compare
5.0.0-rc.5 Pre-release
Pre-release

Patch Changes

  • #835 ae89e38 Thanks @mrsasuu! - Fix ScriptManager import path in MF runtime plugins (CorePlugin & ResolverPlugin)

5.0.0-rc.4

19 Dec 14:52
ba03c4b
Compare
Choose a tag to compare
5.0.0-rc.4 Pre-release
Pre-release

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! - Added adb reverse interaction & adb reverse command is now run by default when bundling for Android

Patch Changes

5.0.0-rc.3

10 Dec 21:41
3e67add
Compare
Choose a tag to compare
5.0.0-rc.3 Pre-release
Pre-release

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

5.0.0-rc.2

19 Nov 17:10
68d9aba
Compare
Choose a tag to compare
5.0.0-rc.2 Pre-release
Pre-release

Patch Changes