Releases: callstack/repack
4.0.0-rc.2
Minor Changes
Patch Changes
-
#580
b6c68dcThanks @jbroma! - makecallstack-repackpod compatible with use_frameworks! -
#579
06a4da8Thanks @jbroma! - includeNativeScriptManger.tsfor codegen -
#574
bab94bfThanks @jbroma! - fix dev server crash caused by uninitialized progress senders -
#572
b134936Thanks @jbroma! - always match .json extension last
4.0.0-rc.1
Important Updates
You can now use @callstack/repack-init to use pre-releases like this one:
npx @callstack/repack-init@rc --custom-version 4.0.0-rc.1
Minor Changes
Patch Changes
4.0.0-rc.0
Important Updates
- We are deprecating
@callstack/repack-debugger-appin this version and plan to remove it entirely in the next major release. We are currently working on supporting the new debugger. - Unified Package Versioning: This release marks the beginning of unified versioning for all Re.Pack packages
Major Changes
-
#430
0d96b11Thanks @jbroma! - BREAKING CHANGE:Upgrade to Node 18, drop support for Node 16.
-
#530
470a7c1Thanks @jbroma! - BREAKING CHANGE:ReactRefreshPluginwas removed.If you were using
ReactRefreshPlugin, please switch toDevelopmentPluginmoving forward.
Users ofRepackPlugincan continue as is, with no changes required. -
#435
63d973fThanks @jbroma! - BREAKING CHANGE:CodeSigningPlugin no longer accepts
outputPathproperty as configuration option. Instead, it performs the code-signing in-place and integrates nicely with OutputPlugin. -
#537
6fa32cbThanks @jbroma! - BREAKING CHANGE:Re.Pack commands now override the default
startandbundleCLI commands for enhanced functionality and compatibility withreact-nativeversions >= 0.74. For earlier versions ofreact-native(< 0.74), the traditional commandswebpack-startandwebpack-bundleremain available and recommended.This change primarily impacts setups where both Metro and Re.Pack are used simultaneously.
To maintain your current workflow without adopting these overrides, especially to avoid conflicts in projects using both Metro and Re.Pack, you can opt out by filtering out the new command names and reverting to the legacy
webpackprefixed commands:// react-native.config.js const commands = require('@callstack/repack/commands'); module.exports = { commands: commands.filter((command) => command.name.startsWith('webpack')), };
Additionally, this update ensures that running
react-native run-iosorreact-native run-androidwill launch the Re.Pack dev server by default instead of the Metro dev server. -
#525
a74930bThanks @jbroma! - BREAKING CHANGE:getResolveOptionsis now way more compatible withmetro-resolverand@react-native/metro-configgetResolveOptionsnow accepts a second optional parameter called options with the following properties:enablePackageExports- defaults tofalsepreferNativePlatform- defaults totrue
- Order of extensions was changed to match the order from
@react-native/metro-config. - Resolution via Package Exports (
exportsfield in package.json) is now optional and disabled by default.
It can now be enabled viagetResolveOptionsoptions parameter. This change was introduced to matchmetrodefaults. - Default
conditionNamesare now:['require', 'import', 'react-native']and match@react-native/metro-configdefaults.
-
#495
50a7257Thanks @troZee and @teneeto for prior work! - Support for New Architecture
Minor Changes
- #539
8270cb7Thanks @jbroma! - OutputPlugin now supports configuration with empty object as compilation entry.
Patch Changes
-
#491
ebf1b19Thanks @hosseinmd! - log error before exit when compilation has error -
#499
15ffcbaThanks @jbroma! - Support non-classic(pnpm) paths to HMRClient from react-native -
#496
a59b8edThanks @krozniata! - Remove duplicated React-Core dependency from podspec -
#515
ee1cc79Thanks @jbroma! - Usedonehook inside ofOutputPlugin -
#464
72c770bThanks @jbroma! - chore: upgrade TypeScript, ESLint, TypeDoc -
Updated dependencies [
0d96b11,72c770b]:- @callstack/[email protected]
3.7.0
3.7.0
Summary
This release has two main changes:
- compatibility with the latest React Native release (0.73.x)
- improvement in terms of webpack builds caching
Minor Changes
- #477
e1476e6Thanks @szymonrybczak! - fix: get commands options and description from new package (support RN>=0.73)
Patch Changes
-
#479
b1ad518Thanks @ambar! - Added the ability to fully leverage the webpack built-in caching mechanism to optimise cold build times. -
Updated dependencies [
cc997a2]:- @callstack/[email protected]
repack-dev-server 1.1.0
1.1.0
Minor Changes
- #475
cc997a2Thanks @szymonrybczak! - Added X-React-Native-Project-Root header, so the RN CLI picks up the running bundler correctly
3.6.0
3.6.0
📖 Learn more about what Lazy Compilation is and how to use it:
https://re-pack.netlify.app/docs/configuration/guides/lazy-compilation
Minor Changes
3.5.1
3.5.0
3.5.0
Minor Changes
- #265
a288e1aThanks @justusburger! - Ensure file lists in manifests are sorted
- #421
7deea25Thanks @jbroma! - Add builtin support for react-native deep imports when using Module Federation
Patch Changes
-
#343
0141fc1Thanks @piccinnigius! - Fix ERR_UNSUPPORTED_ESM_URL_SCHEME on Windows -
Updated dependencies [
a66785d,719c2ef]:- @callstack/[email protected]