Skip to content

Releases: callstack/repack

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

5.0.0-rc.1

08 Nov 17:16
0ff4f38
Compare
Choose a tag to compare
5.0.0-rc.1 Pre-release
Pre-release

Major Changes

  • #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
  • #786 cf42d14 Thanks @jbroma! - Enable new debugger (React Native DevTools) by default, remove support for legacy remote debugging

Minor Changes

  • #784 f8af03c Thanks @zmzlois! - add react-native-linear-gradient to flow type module loading rule support

  • #778 2344162 Thanks @jbroma! - Add --config option to commands, deprecate --webpackConfig option

Patch Changes

  • #776 31d0e32 Thanks @jbroma! - Fix peer dependency config for @rspack/core in repack package

  • #775 76738de Thanks @jbroma! - Fix customization of MF1 federated entry filename

  • #787 acdd0c8 Thanks @jbroma! - Fix sourceURL of bundles so source maps can be matched in dev tools

  • #779 679bcd8 Thanks @jbroma! - More intuitive behaviour of --verbose flag in start command

5.0.0-rc.0

29 Oct 17:17
069107f
Compare
Choose a tag to compare
5.0.0-rc.0 Pre-release
Pre-release

Minor Changes

  • #674 9f4ad85 Thanks @jbroma! - Add support for Module Federation V2

  • #765 efff0c2 Thanks @jbroma! - Add default rules for transpiling popular flow typed packages

  • #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

  • #757 8a90731 Thanks @artus9033! - Display list of available interactions on dev server startup & add support for 'j' to debug

  • #753 176324a Thanks @artus9033! - Add support for React Native 0.76

  • #750 c4a3235 Thanks @jbroma! - Normalize filepath & ensure path exists when writing stats to a file

  • #734 b455503 Thanks @hexboy! - Add a mechanism for retrying downloads of scripts through retry and retryDelay properties

Patch Changes

4.3.3

12 Sep 09:59
039acb7
Compare
Choose a tag to compare

Patch Changes

5.0.0-alpha.0

12 Sep 13:46
849db95
Compare
Choose a tag to compare
5.0.0-alpha.0 Pre-release
Pre-release

Important Notes

This release introduces long-awaited support for Rspack while maintaining full compatibility with webpack.

Try it Out:
To bootstrap a new project or migrate an existing project from Metro, run:

npx @callstack/[email protected]

Upgrading from Version 4:

  1. Open react-native.config.js and update the line:

    require('callstack/repack/commands')

    to:

    require('callstack/repack/commands/rspack')
  2. Install the necessary Rspack dependencies:

    npm install @rspack/core @rspack/plugin-react-refresh @swc/helpers --save-dev
  3. Check out the new Rspack templates for configuration and migrate your existing Webpack configurations to Rspack:

    MJS Template: rspack.config.mjs
    CJS Template: rspack.config.cjs

Migration Guide: if you are migrating from Webpack to Rspack, refer to the official guide: Rspack Migration Guide

Major Changes

4.3.2

28 Aug 12:26
e4e2fbe
Compare
Choose a tag to compare

Patch Changes

4.3.1

26 Aug 16:32
b7d8e6d
Compare
Choose a tag to compare

Important updates

--reset-cache flag is kept only for compatibility and has no effect.

Patch Changes

  • #714 bad76d7 Thanks @jbroma! - Fix missing --reset-cache flag for both start and bundle CLI commands