Skip to content

Commit

Permalink
release: 4.0.0 (#618)
Browse files Browse the repository at this point in the history
* chore: changeset version

* chore: update lockfile
  • Loading branch information
jbroma committed May 9, 2024
1 parent 0472ccc commit 49ccebe
Show file tree
Hide file tree
Showing 36 changed files with 108 additions and 207 deletions.
5 changes: 0 additions & 5 deletions .changeset/big-spiders-guess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bright-pillows-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dry-trains-join.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/early-carrots-travel.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/early-radios-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fair-experts-wave.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fast-geckos-wonder.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-insects-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/fluffy-moons-tie.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/friendly-insects-dream.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/funny-seals-judge.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/good-planes-confess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-baboons-tease.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-tigers-eat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/heavy-schools-buy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hmr-client-prove.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/honest-wolves-act.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-beds-clap.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/kind-scissors-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-dryers-itch.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/plenty-kangaroos-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-islands-fetch.md

This file was deleted.

36 changes: 0 additions & 36 deletions .changeset/pre.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-stingrays-wave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-planes-hope.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tidy-dogs-grab.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/warm-numbers-doubt.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/yellow-spiders-smash.md

This file was deleted.

2 changes: 1 addition & 1 deletion packages/TesterApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"serve-remote-assets:ios": "pnpm http-server -p 9999 build/output/ios/remote"
},
"dependencies": {
"@callstack/repack": "4.0.0-rc.2",
"@callstack/repack": "4.0.0",
"@react-native-async-storage/async-storage": "^1.21.0",
"lodash.throttle": "^4.1.1",
"react": "18.2.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/dev-server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# @callstack/repack-dev-server

## 4.0.0

### Major Changes

- [#430](https://github.com/callstack/repack/pull/430) [`0d96b11`](https://github.com/callstack/repack/commit/0d96b11ff3a6e2c21eb622e21ff7947db29a3272) Thanks [@jbroma](https://github.com/jbroma)! - Upgrade to Node 18, drop support for Node 16

- [#508](https://github.com/callstack/repack/pull/508) [`fec8962`](https://github.com/callstack/repack/commit/fec8962b45f3d744d7c41e8f6eeae0a2310c7693) Thanks [@RafikiTiki](https://github.com/RafikiTiki)! - - Fixed deprecated remote debugger integration:
- Removed vendored code and used middlewares from `@react-native-community/cli-server-api`
- Removed `package/debugger-app` and replaced it with `@react-native-community/cli-debugger-ui`
- Removed vendored code responsible for integration with Flipper debugger & custom implementation of the Hermes Inspector Proxy
- Added integration with `@react-native/dev-middleware` which enables us to use both Flipper and new experimental debugger

### Patch Changes

- [#567](https://github.com/callstack/repack/pull/567) [`6417da7`](https://github.com/callstack/repack/commit/6417da7ba72e39602735062198165c998e4e19cf) Thanks [@kerm1it](https://github.com/kerm1it)! - Notify clients on all platforms when sending an HMR event update

- [#554](https://github.com/callstack/repack/pull/554) [`ed82e29`](https://github.com/callstack/repack/commit/ed82e29c2871411fd73616f29a7d4b75ff3dd913) Thanks [@jbroma](https://github.com/jbroma)! - Fix path to `favicon.ico` on Windows

- [#464](https://github.com/callstack/repack/pull/464) [`72c770b`](https://github.com/callstack/repack/commit/72c770bb4ac5540a3c73cf244ca861069a37b045) Thanks [@jbroma](https://github.com/jbroma)! - Upgrade TypeScript, ESLint, TypeDoc in the repository

## 4.0.0-rc.2

## 4.0.0-rc.1
Expand Down
2 changes: 1 addition & 1 deletion packages/dev-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@callstack/repack-dev-server",
"description": "A bundler-agnostic development server for React Native applications as part of @callstack/repack.",
"license": "MIT",
"version": "4.0.0-rc.2",
"version": "4.0.0",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions packages/init/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @callstack/repack-init

## 4.0.0

### Major Changes

- [#430](https://github.com/callstack/repack/pull/430) [`0d96b11`](https://github.com/callstack/repack/commit/0d96b11ff3a6e2c21eb622e21ff7947db29a3272) Thanks [@jbroma](https://github.com/jbroma)! - Upgrade to Node 18, drop support for Node 16

### Minor Changes

- [#557](https://github.com/callstack/repack/pull/557) [`8a57f57`](https://github.com/callstack/repack/commit/8a57f57912748efe806dbac52e29a8f4e238652d) Thanks [@jbroma](https://github.com/jbroma)! - Add `custom-version` flag for selecting custom Re.Pack version to install

### Patch Changes

- [#464](https://github.com/callstack/repack/pull/464) [`72c770b`](https://github.com/callstack/repack/commit/72c770bb4ac5540a3c73cf244ca861069a37b045) Thanks [@jbroma](https://github.com/jbroma)! - Upgrade TypeScript, ESLint, TypeDoc in the repository

## 4.0.0-rc.2

## 4.0.0-rc.1
Expand Down
2 changes: 1 addition & 1 deletion packages/init/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Automates the integration of the @callstack/repack into React-Native projects",
"author": "Jakub Romańczyk <jakub.romanczyk@callstack.com>",
"license": "MIT",
"version": "4.0.0-rc.2",
"version": "4.0.0",
"homepage": "https://github.com/callstack/repack",
"repository": "github:callstack/repack",
"keywords": [
Expand Down
62 changes: 62 additions & 0 deletions packages/repack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,67 @@
# @callstack/repack

## 4.0.0

### Major Changes

- [#430](https://github.com/callstack/repack/pull/430) [`0d96b11`](https://github.com/callstack/repack/commit/0d96b11ff3a6e2c21eb622e21ff7947db29a3272) Thanks [@jbroma](https://github.com/jbroma)! - Upgrade to Node 18, drop support for Node 16

- [#530](https://github.com/callstack/repack/pull/530) [`470a7c1`](https://github.com/callstack/repack/commit/470a7c1da6043904c82f53c2a0c82e73c438299a) Thanks [@jbroma](https://github.com/jbroma)! - Remove `ReactRefreshPlugin` in favor of `DevelopmentPlugin`

- [#435](https://github.com/callstack/repack/pull/435) [`63d973f`](https://github.com/callstack/repack/commit/63d973ff4bae6f30f50a39a9f49095be4ce52967) Thanks [@jbroma](https://github.com/jbroma)! - `CodeSigningPlugin` no longer accepts `outputPath` property as configuration option, performs the code-signing in-place and integrates nicely with OutputPlugin

- [#537](https://github.com/callstack/repack/pull/537) [`6fa32cb`](https://github.com/callstack/repack/commit/6fa32cb575ea2c845a700511669fdcb5124acc4d) Thanks [@jbroma](https://github.com/jbroma)! - Override the default `start` and `bundle` CLI commands for enhanced functionality and compatibility with `react-native` versions >= 0.74. Additionally, this update ensures that running `react-native run-ios` or `react-native run-android` will launch the Re.Pack dev server by default instead of the Metro dev server.

- [#525](https://github.com/callstack/repack/pull/525) [`a74930b`](https://github.com/callstack/repack/commit/a74930bd4b5d704d35e182f7ddfea340a0a07793) Thanks [@jbroma](https://github.com/jbroma)! - `getResolveOptions` is now way more compatible with `metro-resolver` and `@react-native/metro-config`

1. `getResolveOptions` now accepts a second optional parameter called options with the following properties:
- `enablePackageExports` - defaults to `false`
- `preferNativePlatform` - defaults to `true`
2. Order of extensions was changed to match the order from `@react-native/metro-config`.
3. Resolution via Package Exports (`exports` field in package.json) is now optional and disabled by default.
It can now be enabled via `getResolveOptions` options parameter. This change was introduced to match `metro` defaults.
4. Default `conditionNames` are now: `['require', 'import', 'react-native']` and match `@react-native/metro-config` defaults.

- [#495](https://github.com/callstack/repack/pull/495) [`50a7257`](https://github.com/callstack/repack/commit/50a7257f1da9af44c5b6690c31408607d358b2e5) Thanks [@troZee](https://github.com/troZee)! - Add support for New Architecture

### Minor Changes

- [#539](https://github.com/callstack/repack/pull/539) [`8270cb7`](https://github.com/callstack/repack/commit/8270cb7e2ccce9e2020517216e72302b6ba5833a) Thanks [@jbroma](https://github.com/jbroma)! - OutputPlugin now supports configuration with empty object as compilation entry

- [#582](https://github.com/callstack/repack/pull/582) [`24585c0`](https://github.com/callstack/repack/commit/24585c07429533a0543eb61426771d196bdee0f1) Thanks [@jbroma](https://github.com/jbroma)! - Use `localhost` as a defined default for the dev-server

- [#508](https://github.com/callstack/repack/pull/508) [`fec8962`](https://github.com/callstack/repack/commit/fec8962b45f3d744d7c41e8f6eeae0a2310c7693) Thanks [@RafikiTiki](https://github.com/RafikiTiki)! - Added pass-through `experimentalDebugger` flag to CLI commands to ensure compatibility with Metro and new experimental debugger for React Native

### Patch Changes

- [#580](https://github.com/callstack/repack/pull/580) [`b6c68dc`](https://github.com/callstack/repack/commit/b6c68dc08a463880f2869610648336bc7e764a41) Thanks [@jbroma](https://github.com/jbroma)! - Make Re.Pack compatible with use_frameworks!

- [#491](https://github.com/callstack/repack/pull/491) [`ebf1b19`](https://github.com/callstack/repack/commit/ebf1b19976edc603ebe4de992665d10a5bc30eaa) Thanks [@hosseinmd](https://github.com/hosseinmd)! - Log error before exit during bundling

- [#499](https://github.com/callstack/repack/pull/499) [`15ffcba`](https://github.com/callstack/repack/commit/15ffcbabd9c9f0dadc3d91489d3b76c4cd80155f) Thanks [@jbroma](https://github.com/jbroma)! - Support non-classic(e.g. pnpm) paths to HMRClient from react-native

- [#496](https://github.com/callstack/repack/pull/496) [`a59b8ed`](https://github.com/callstack/repack/commit/a59b8ed4adab99f5e10024ae6f24ad18cdad791e) Thanks [@krozniata](https://github.com/krozniata)! - Remove duplicated React-Core dependency from podspec

- [#588](https://github.com/callstack/repack/pull/588) [`b30bca0`](https://github.com/callstack/repack/commit/b30bca06e0d036e599ccf566cc7a50aa70fb8a51) Thanks [@jbroma](https://github.com/jbroma)! - Keep separate logs for compilation stats specific to each platform

- [#612](https://github.com/callstack/repack/pull/612) [`b6eb0ea`](https://github.com/callstack/repack/commit/b6eb0ea5b5722627abd4cb904970c3ee910ee657) Thanks [@jbroma](https://github.com/jbroma)! - Update templates to include `.cjs` and `.mjs` extensions

- [#579](https://github.com/callstack/repack/pull/579) [`06a4da8`](https://github.com/callstack/repack/commit/06a4da81ba661105da6c03ef254f2baf7daeaa1b) Thanks [@jbroma](https://github.com/jbroma)! - Include `NativeScriptManger.ts` in distributed files for codegen

- [#574](https://github.com/callstack/repack/pull/574) [`bab94bf`](https://github.com/callstack/repack/commit/bab94bf0a4092c3e34a33dff6f160b4e6dbd45a5) Thanks [@jbroma](https://github.com/jbroma)! - Fix dev server crash caused by uninitialized progress senders

- [#555](https://github.com/callstack/repack/pull/555) [`8fe92be`](https://github.com/callstack/repack/commit/8fe92bedc65c1757f3105d21d4c498cf17327ee7) Thanks [@jbroma](https://github.com/jbroma)! - Fix `getDirname` utility function on Windows

- [#596](https://github.com/callstack/repack/pull/596) [`b5ae6ac`](https://github.com/callstack/repack/commit/b5ae6ac2a678e384c7f93421997107de106ca735) Thanks [@jbroma](https://github.com/jbroma)! - Fix crash when using Node >= 21 for bundling in development

- [#556](https://github.com/callstack/repack/pull/556) [`6c09015`](https://github.com/callstack/repack/commit/6c09015c1afe3ac2d932dad5ed158165fd548c87) Thanks [@jbroma](https://github.com/jbroma)! - Update `webpack.config` templates

- [#515](https://github.com/callstack/repack/pull/515) [`ee1cc79`](https://github.com/callstack/repack/commit/ee1cc7994cd1ae75d7a35faae6e0ac3ea36059b8) Thanks [@jbroma](https://github.com/jbroma)! - Use `done` hook inside of `OutputPlugin`

- [#572](https://github.com/callstack/repack/pull/572) [`b134936`](https://github.com/callstack/repack/commit/b1349360db91a4f52489880cc12dd895850b6339) Thanks [@jbroma](https://github.com/jbroma)! - Always match .json extension last during module resolution

- [#464](https://github.com/callstack/repack/pull/464) [`72c770b`](https://github.com/callstack/repack/commit/72c770bb4ac5540a3c73cf244ca861069a37b045) Thanks [@jbroma](https://github.com/jbroma)! - Upgrade TypeScript, ESLint, TypeDoc in the repository

## 4.0.0-rc.2

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/repack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@callstack/repack",
"version": "4.0.0-rc.2",
"version": "4.0.0",
"description": "A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -59,7 +59,7 @@
"webpack": "5.x"
},
"dependencies": {
"@callstack/repack-dev-server": "^4.0.0-rc.2",
"@callstack/repack-dev-server": "^4.0.0",
"@discoveryjs/json-ext": "^0.5.7",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.7",
"colorette": "^1.2.2",
Expand Down

0 comments on commit 49ccebe

Please sign in to comment.