Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 1 addition & 15 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -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"
}
File renamed without changes.
9 changes: 9 additions & 0 deletions packages/cmake-rn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# cmake-rn

## 0.7.1-rc.0

### Patch Changes

- Updated dependencies [e67f552]
- Updated dependencies [bedf5dd]
- react-native-node-api@2.0.0-rc.0
- weak-node-api@0.2.0-rc.0

## 0.7.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cmake-rn/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
9 changes: 9 additions & 0 deletions packages/ferric/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# ferric-cli

## 0.4.1-rc.0

### Patch Changes

- Updated dependencies [e67f552]
- Updated dependencies [bedf5dd]
- react-native-node-api@2.0.0-rc.0
- weak-node-api@0.2.0-rc.0

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ferric/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
23 changes: 23 additions & 0 deletions packages/host/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# react-native-node-api

## 2.0.0-rc.0

### Major Changes

- e67f552: 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

- bedf5dd: 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

- Updated dependencies [e67f552]
- weak-node-api@0.2.0-rc.0

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/host/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
14 changes: 14 additions & 0 deletions packages/weak-node-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# weak-node-api

## 0.2.0-rc.0

### Minor Changes

- e67f552: 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
Expand Down
2 changes: 1 addition & 1 deletion packages/weak-node-api/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down