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
5 changes: 0 additions & 5 deletions .changeset/eight-walls-push.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/gold-beans-jump.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/long-regions-yawn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-lemons-yell.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/quick-poets-greet.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spotty-beers-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-laws-admire.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tired-words-relate.md

This file was deleted.

18 changes: 18 additions & 0 deletions packages/cmake-rn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# cmake-rn

## 0.6.0

### Minor Changes

- 60fae96: Use `find_package` instead of `include` to locate "weak-node-api"

### Patch Changes

- 61fff3f: Allow passing --apple-bundle-identifier to specify the bundle identifiers used when creating Apple frameworks.
- Updated dependencies [60fae96]
- Updated dependencies [61fff3f]
- Updated dependencies [61fff3f]
- Updated dependencies [5dea205]
- Updated dependencies [60fae96]
- Updated dependencies [60fae96]
- Updated dependencies [eca721e]
- react-native-node-api@0.7.0

## 0.5.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/cmake-rn/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cmake-rn",
"version": "0.5.2",
"version": "0.6.0",
"description": "Build React Native Node API modules with CMake",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
Expand All @@ -26,7 +26,7 @@
"dependencies": {
"@react-native-node-api/cli-utils": "0.1.1",
"cmake-file-api": "0.1.0",
"react-native-node-api": "0.6.2",
"react-native-node-api": "0.7.0",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Missing Peer Dependency Causes CMake Configuration Failures

Missing weak-node-api peer dependency. The package now uses find_package(weak-node-api REQUIRED CONFIG) according to the CHANGELOG (commit 60fae96), but doesn't declare weak-node-api as a peer dependency. Since react-native-node-api only has weak-node-api as a peerDependency (not a regular dependency), users of cmake-rn won't have weak-node-api installed automatically, causing CMake configuration failures when it tries to find the package.

Fix in Cursor Fix in Web

"zod": "^4.1.11"
},
"peerDependencies": {
Expand Down
14 changes: 14 additions & 0 deletions packages/ferric/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# ferric-cli

## 0.3.8

### Patch Changes

- 61fff3f: Allow passing --apple-bundle-identifier to specify the bundle identifiers used when creating Apple frameworks.
- Updated dependencies [60fae96]
- Updated dependencies [61fff3f]
- Updated dependencies [61fff3f]
- Updated dependencies [5dea205]
- Updated dependencies [60fae96]
- Updated dependencies [60fae96]
- Updated dependencies [eca721e]
- react-native-node-api@0.7.0

## 0.3.7

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/ferric/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ferric-cli",
"version": "0.3.7",
"version": "0.3.8",
"description": "Rust Node-API Modules for React Native",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
Expand All @@ -18,6 +18,6 @@
"dependencies": {
"@napi-rs/cli": "~3.0.3",
"@react-native-node-api/cli-utils": "0.1.1",
"react-native-node-api": "0.6.2"
"react-native-node-api": "0.7.0"
}
}
6 changes: 6 additions & 0 deletions packages/gyp-to-cmake/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# gyp-to-cmake

## 0.5.0

### Minor Changes

- 60fae96: Use `find_package` instead of `include` to locate "weak-node-api"

## 0.4.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/gyp-to-cmake/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gyp-to-cmake",
"version": "0.4.0",
"version": "0.5.0",
"description": "Convert binding.gyp files to CMakeLists.txt",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
Expand Down
17 changes: 17 additions & 0 deletions packages/host/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# react-native-node-api

## 0.7.0

### Minor Changes

- 61fff3f: Ensure proper escaping when generating a bundle identifier while creating an Apple framework
- 60fae96: Use `find_package` instead of `include` to locate "weak-node-api"
- 60fae96: No longer exporting weakNodeApiPath, import from "weak-node-api" instead

### Patch Changes

- 60fae96: Moved weak-node-api into a separate "weak-node-api" package.
- 61fff3f: Allow passing --apple-bundle-identifier to specify the bundle identifiers used when creating Apple frameworks.
- 5dea205: Add "apple" folder into the package (follow-up to #301)
- eca721e: Don't instruct users to pass --force when vendoring hermes
- Updated dependencies [60fae96]
- weak-node-api@0.0.2

## 0.6.2

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/host/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-node-api",
"version": "0.6.2",
"version": "0.7.0",
"description": "Node-API for React Native",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
Expand Down Expand Up @@ -82,6 +82,6 @@
"peerDependencies": {
"@babel/core": "^7.26.10",
"react-native": "0.79.1 || 0.79.2 || 0.79.3 || 0.79.4 || 0.79.5 || 0.79.6 || 0.79.7 || 0.80.0 || 0.80.1 || 0.80.2 || 0.81.0 || 0.81.1 || 0.81.2 || 0.81.3 || 0.81.4 || 0.81.5",
"weak-node-api": "0.0.1"
"weak-node-api": "0.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/node-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"cmake-rn": "*",
"gyp-to-cmake": "*",
"prebuildify": "^6.0.1",
"react-native-node-api": "^0.6.1",
"react-native-node-api": "^0.7.0",
"read-pkg": "^9.0.1",
"rolldown": "1.0.0-beta.29"
}
Expand Down
7 changes: 7 additions & 0 deletions packages/weak-node-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# weak-node-api

## 0.0.2

### Patch Changes

- 60fae96: Initial release!
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.0.1",
"version": "0.0.2",
"description": "A linkable and runtime-injectable Node-API",
"homepage": "https://github.com/callstackincubator/react-native-node-api",
"repository": {
Expand Down