diff --git a/.changeset/pre.json b/.changeset/pre.json index d58b8f48..d1deaa4c 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -1,18 +1,4 @@ { "mode": "pre", - "tag": "rc", - "initialVersions": { - "@react-native-node-api/test-app": "0.2.2", - "@react-native-node-api/cli-utils": "0.1.4", - "cmake-file-api": "0.1.2", - "cmake-rn": "0.6.3", - "ferric-cli": "0.3.11", - "@react-native-node-api/ferric-example": "0.1.2", - "gyp-to-cmake": "0.5.3", - "react-native-node-api": "1.0.1", - "@react-native-node-api/node-addon-examples": "0.1.1", - "@react-native-node-api/node-tests": "0.1.1", - "weak-node-api": "0.1.1" - }, - "changesets": [] + "tag": "rc" } diff --git a/.changeset/eighty-moons-shave.md b/.changeset/pre/eighty-moons-shave.md similarity index 100% rename from .changeset/eighty-moons-shave.md rename to .changeset/pre/eighty-moons-shave.md diff --git a/.changeset/hermes-napi-host-integration.md b/.changeset/pre/hermes-napi-host-integration.md similarity index 100% rename from .changeset/hermes-napi-host-integration.md rename to .changeset/pre/hermes-napi-host-integration.md diff --git a/.changeset/silent-vendor-hermes.md b/.changeset/pre/silent-vendor-hermes.md similarity index 100% rename from .changeset/silent-vendor-hermes.md rename to .changeset/pre/silent-vendor-hermes.md diff --git a/packages/cmake-rn/CHANGELOG.md b/packages/cmake-rn/CHANGELOG.md index 624d619c..f1b9605c 100644 --- a/packages/cmake-rn/CHANGELOG.md +++ b/packages/cmake-rn/CHANGELOG.md @@ -1,5 +1,15 @@ # cmake-rn +## 0.7.1-rc.0 + +### Patch Changes + +- Updated dependencies [70846f1] +- Updated dependencies [0c9cd3b] +- Updated dependencies [29a527d] + - react-native-node-api@2.0.0-rc.0 + - weak-node-api@0.2.0-rc.0 + ## 0.7.0 ### Minor Changes diff --git a/packages/cmake-rn/package.json b/packages/cmake-rn/package.json index 70bc085d..441ec557 100644 --- a/packages/cmake-rn/package.json +++ b/packages/cmake-rn/package.json @@ -1,6 +1,6 @@ { "name": "cmake-rn", - "version": "0.7.0", + "version": "0.7.1-rc.0", "description": "Build React Native Node API modules with CMake", "homepage": "https://github.com/callstackincubator/react-native-node-api", "repository": { diff --git a/packages/ferric/CHANGELOG.md b/packages/ferric/CHANGELOG.md index a2d18a73..6baf7020 100644 --- a/packages/ferric/CHANGELOG.md +++ b/packages/ferric/CHANGELOG.md @@ -1,5 +1,15 @@ # ferric-cli +## 0.4.1-rc.0 + +### Patch Changes + +- Updated dependencies [70846f1] +- Updated dependencies [0c9cd3b] +- Updated dependencies [29a527d] + - react-native-node-api@2.0.0-rc.0 + - weak-node-api@0.2.0-rc.0 + ## 0.4.0 ### Minor Changes diff --git a/packages/ferric/package.json b/packages/ferric/package.json index 5096ac83..75859747 100644 --- a/packages/ferric/package.json +++ b/packages/ferric/package.json @@ -1,6 +1,6 @@ { "name": "ferric-cli", - "version": "0.4.0", + "version": "0.4.1-rc.0", "description": "Rust Node-API Modules for React Native", "homepage": "https://github.com/callstackincubator/react-native-node-api", "repository": { diff --git a/packages/host/CHANGELOG.md b/packages/host/CHANGELOG.md index bd0e6532..9f7e7a55 100644 --- a/packages/host/CHANGELOG.md +++ b/packages/host/CHANGELOG.md @@ -1,5 +1,33 @@ # react-native-node-api +## 2.0.0-rc.0 + +### Major Changes + +- 70846f1: Adopt Hermes' first-party Node-API (the `hermesNapi` target on the `static_h` + branch) instead of patching Hermes with our own implementation. Addons now run + against a real Node-API environment created with `hermes_napi_create_env()`, one + per addon as in Node, and Node-API is bumped from v8 to v10. + + This drops support for React Native 0.79–0.81: the vendored Hermes is built from + a pinned `static_h` commit and requires the Hermes build scripts shipped with + React Native 0.87 and later. Older React Native versions are still served by + previously published releases. + +### Minor Changes + +- 0c9cd3b: Provide a `hermes_napi_host` implementation to the Hermes Node-API environments. This enables thread-safe functions (`napi_create_threadsafe_function` and friends) and moves `napi_async_work` execution onto a worker pool — previously the `execute` callback ran on the JavaScript thread, blocking it for the duration of the work. The host is also in place before an addon's module init runs, so async work and thread-safe functions can now be created during initialization. + +### Patch Changes + +- 29a527d: Make `vendor-hermes --silent` actually silent. The spinners were passed + `isEnabled: false`, which stops the animation but still writes the spinner text + and its final symbol to stderr. They now use `isSilent`, which suppresses the + output entirely, leaving the vendored Hermes path on stdout as the command's + only output. +- Updated dependencies [70846f1] + - weak-node-api@0.2.0-rc.0 + ## 1.1.0 ### Minor Changes diff --git a/packages/host/package.json b/packages/host/package.json index fb22e4f0..5ad0bcfc 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -1,6 +1,6 @@ { "name": "react-native-node-api", - "version": "1.1.0", + "version": "2.0.0-rc.0", "description": "Node-API for React Native", "homepage": "https://github.com/callstackincubator/react-native-node-api", "repository": { diff --git a/packages/weak-node-api/CHANGELOG.md b/packages/weak-node-api/CHANGELOG.md index 90dec646..fa436d64 100644 --- a/packages/weak-node-api/CHANGELOG.md +++ b/packages/weak-node-api/CHANGELOG.md @@ -1,5 +1,19 @@ # weak-node-api +## 0.2.0-rc.0 + +### Minor Changes + +- 70846f1: Adopt Hermes' first-party Node-API (the `hermesNapi` target on the `static_h` + branch) instead of patching Hermes with our own implementation. Addons now run + against a real Node-API environment created with `hermes_napi_create_env()`, one + per addon as in Node, and Node-API is bumped from v8 to v10. + + This drops support for React Native 0.79–0.81: the vendored Hermes is built from + a pinned `static_h` commit and requires the Hermes build scripts shipped with + React Native 0.87 and later. Older React Native versions are still served by + previously published releases. + ## 0.1.1 ### Patch Changes diff --git a/packages/weak-node-api/package.json b/packages/weak-node-api/package.json index 163192a6..1f567159 100644 --- a/packages/weak-node-api/package.json +++ b/packages/weak-node-api/package.json @@ -1,6 +1,6 @@ { "name": "weak-node-api", - "version": "0.1.1", + "version": "0.2.0-rc.0", "description": "A linkable and runtime-injectable Node-API", "homepage": "https://github.com/callstackincubator/react-native-node-api", "repository": {