renovate[bot]
e633c472e7
chore(deps): update release-plz/action action to v0.5.114 ( #2909 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-06 02:19:00 +00:00
LongYinan
484ca281dd
feat(napi): implement from_static on JsStringLatin1 and JsStringUtf16 ( #2908 )
2025-09-05 12:48:41 +08:00
renovate[bot]
3c1a64f261
chore(deps): update dependency electron to v38 ( #2904 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 16:12:47 +08:00
Kingsword
c034e1e4f0
fix(cli): fix misuse of configPath as readNapiConfig first argument ( #2900 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-09-04 16:12:31 +08:00
renovate[bot]
df80a8447a
chore(deps): update actions/setup-node action to v5 ( #2906 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-04 16:12:15 +08:00
renovate[bot]
ca17be8309
chore(deps): update release-plz/action action to v0.5.113 ( #2903 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 15:17:57 +00:00
renovate[bot]
38e55faf90
chore(deps): lock file maintenance ( #2901 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-01 23:07:51 +08:00
LongYinan
07380dfe49
feat(napi): support external JsStringLatin1 and JsStringUtf16 ( #2898 )
2025-09-01 10:40:40 +08:00
renovate[bot]
10a736e4f2
chore(deps): update yarn to v4.9.4 ( #2895 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-26 17:03:32 +00:00
MK (fengmk2)
466fd50d4f
chore(cli): show NAPI options on new command ( #2892 )
...
- Fix typo "THis" → "This" in promise.rs documentation
- Add pageSize option to NAPI version selection in CLI new command
Before
```bash
? Minimum node-api version (with node version requirement)
napi1 (>= 8.6.0 < 9 || >= 9.0.0 < 10 || >= 10.0.0)
napi2 (>= 8.10.0 < 9 || >= 9.3.0 < 10 || >= 10.0.0)
❯ napi3 (>= 6.14.2 < 7 || >= 8.11.2 < 9 || >= 9.11.0 < 10 || >= 10.0.0)
napi4 (>= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0)
napi5 (>= 10.17.0 < 11 || >= 12.11.0 < 13 || >= 13.0.0)
napi6 (>= 10.20.0 < 11 || >= 12.17.0 < 13 || >= 14.0.0)
napi7 (>= 10.23.0 < 11 || >= 12.19.0 < 13 || >= 14.12.0 < 15 || >= 15.0.0)
```
After
```bash
? Minimum node-api version (with node version requirement)
napi1 (>= 8.6.0 < 9 || >= 9.0.0 < 10 || >= 10.0.0)
napi2 (>= 8.10.0 < 9 || >= 9.3.0 < 10 || >= 10.0.0)
❯ napi3 (>= 6.14.2 < 7 || >= 8.11.2 < 9 || >= 9.11.0 < 10 || >= 10.0.0)
napi4 (>= 10.16.0 < 11 || >= 11.8.0 < 12 || >= 12.0.0)
napi5 (>= 10.17.0 < 11 || >= 12.11.0 < 13 || >= 13.0.0)
napi6 (>= 10.20.0 < 11 || >= 12.17.0 < 13 || >= 14.0.0)
napi7 (>= 10.23.0 < 11 || >= 12.19.0 < 13 || >= 14.12.0 < 15 || >= 15.0.0)
napi8 (>= 12.22.0 < 13 || >= 14.17.0 < 15 || >= 15.12.0 < 16 || >= 16.0.0)
```
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-23 18:12:26 +08:00
renovate[bot]
7b597bd8b5
chore(deps): update yarn to v4.9.3 ( #2890 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-20 20:03:00 +00:00
Kingsword
39380a9420
refactor(cli): fs utils to use fs/promises API ( #2889 )
2025-08-19 14:35:34 +08:00
github-actions[bot]
93ad5ab916
chore: release ( #2882 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-derive-backend-v2.1.4
napi-derive-v3.2.4
napi-v3.2.4
2025-08-16 17:07:19 +08:00
LongYinan
ff91de0c7f
chore(release): publish
...
- @napi-rs/cli@3.1.5
- @napi-rs/triples@2.0.9
@napi-rs/cli@3.1.5
@napi-rs/triples@2.0.9
2025-08-16 15:45:33 +08:00
renovate[bot]
6b6a488a68
chore(deps): update dependency tinybench to v5 ( #2885 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-16 10:40:42 +08:00
lghuahua
9d338543b9
chore(napi): extends the Set types interoperability ( #2875 )
2025-08-15 19:12:46 -07:00
renovate[bot]
b36479d10f
chore(deps): update release-plz/action action to v0.5.112 ( #2883 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-15 12:29:39 +00:00
LongYinan
cf5807f9f9
fix(napi-derive): codegen issue for &'env [u8] param ( #2881 )
2025-08-15 05:18:51 -07:00
LongYinan
583a2ba5c8
chore(triples): update target list ( #2879 )
...
* chore(triples): update target list
* convert compat tests to esm
* Fix node 20 test
2025-08-15 18:31:56 +08:00
Kingsword
b106ef21ae
fix(triples): include index.cjs in package files for proper CJS support ( #2878 )
2025-08-15 16:30:31 +08:00
LongYinan
0f69c71127
chore: add publish: false to tests crate
2025-08-14 14:25:38 +08:00
LongYinan
db82372302
chore(cli): skip already published native packages ( #2874 )
...
Allow to retry failed CI jobs
2025-08-14 12:16:04 +08:00
renovate[bot]
fe57c05d6b
chore(deps): update release-plz/action action to v0.5.111 ( #2873 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-13 22:54:02 +00:00
github-actions[bot]
264a8797c8
chore: release v3.2.3 ( #2866 )
napi-derive-backend-v2.1.3
napi-derive-v3.2.3
napi-v3.2.3
2025-08-13 10:13:04 -07:00
LongYinan
cdfef770e3
fix(napi): link issue on cargo test --features noop ( #2872 )
2025-08-13 10:08:09 -07:00
LongYinan
71408a010e
chore(release): publish
...
- @napi-rs/cli@3.1.4
- @napi-rs/triples@2.0.8
@napi-rs/cli@3.1.4
@napi-rs/triples@2.0.8
2025-08-13 22:58:45 +08:00
LongYinan
81efe51e2f
chore(cli): support read version in preversion hook ( #2870 )
2025-08-13 02:15:33 -07:00
renovate[bot]
7625570cb2
chore(deps): update actions/checkout action to v5 ( #2868 )
2025-08-11 09:17:28 -07:00
renovate[bot]
3cf39a7005
fix(deps): update rust crate ctor to v0.5.0 ( #2865 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 17:59:10 +00:00
LongYinan
5e2906affa
chore(release): publish
...
- @napi-rs/cli@3.1.3
- @napi-rs/triples@2.0.7
@napi-rs/cli@3.1.3
@napi-rs/triples@2.0.7
2025-08-10 19:10:51 +08:00
LongYinan
364e81648b
fix(cli): generate next method on Iterator ( #2864 )
...
* fix(cli): generate next method on Iterator
* update snapshot
2025-08-10 19:00:03 +08:00
Kevin Deng
8d732027b4
refactor: replace lodash-es with es-toolkit ( #2861 )
...
* refactor: replace `lodash-es` with `es-toolkit`
* @ts-expect-error loc
---------
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-08-10 18:46:43 +08:00
renovate[bot]
9197a570c4
chore(deps): update dependency tsdown to ^0.14.0 ( #2863 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-10 10:18:41 +00:00
Kevin Deng
daad12241e
build: build with tsdown ( #2860 )
2025-08-10 18:08:23 +08:00
LongYinan
c56efa4150
chore(cli): set BINDGEN_EXTRA_CLANG_ARGS in cross build ( #2862 )
2025-08-10 15:47:57 +08:00
LongYinan
75792f883c
docs: add CLAUDE.md ( #2859 )
2025-08-09 23:34:32 +08:00
github-actions[bot]
fa5fa53a76
chore: release ( #2858 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-derive-backend-v2.1.2
napi-derive-v3.2.2
2025-08-09 23:05:46 +08:00
LongYinan
bcef141990
fix(napi-derive): comments idents regression ( #2857 )
2025-08-09 23:02:07 +08:00
renovate[bot]
fb4b878212
chore(deps): update dependency @oxc-node/core to ^0.0.32 ( #2855 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-08 17:14:08 +00:00
LongYinan
3e0cd8f4b3
chore(release): publish
...
- @napi-rs/cli@3.1.2
- @napi-rs/triples@2.0.6
@napi-rs/cli@3.1.2
@napi-rs/triples@2.0.6
2025-08-08 23:04:29 +08:00
LongYinan
b47efee028
fix(cli): wrong condition for the native binding version check ( #2853 )
2025-08-08 23:03:44 +08:00
github-actions[bot]
72ad262a29
chore(napi): release v3.2.2 ( #2852 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-v3.2.2
2025-08-08 22:16:45 +08:00
LongYinan
8cada96703
fix(napi): no need to cleanup thread_local stuff ( #2851 )
2025-08-08 20:57:23 +08:00
github-actions[bot]
ce1fdbcdeb
chore: release ( #2848 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-derive-backend-v2.1.1
napi-derive-v3.2.1
napi-v3.2.1
2025-08-08 20:21:05 +08:00
LongYinan
9f2ed2f8e8
chore(release): publish
...
- @napi-rs/cli@3.1.1
- @napi-rs/triples@2.0.5
- @napi-rs/wasm-runtime@1.0.3
@napi-rs/cli@3.1.1
@napi-rs/triples@2.0.5
@napi-rs/wasm-runtime@1.0.3
2025-08-08 20:16:28 +08:00
LongYinan
913e42f47c
fix(napi): ensure tokio runtime is initialized for dlopen ( #2850 )
...
* fix(napi): ensure tokio runtime is initialized for dlopen
Fixes async functions panic when using nodejs dlopen by ensuring
the tokio runtime is properly initialized before accessing it.
When modules are loaded via dlopen instead of require, the runtime
initialization might not happen through the normal module registration
path. This fix adds start_async_runtime() calls to all runtime access
functions to handle this scenario.
Fixes #2847
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix
* Fix
* Remove
* cargo check
* fix for wasm
---------
Co-authored-by: Claude <noreply@anthropic.com>
2025-08-08 20:12:14 +08:00
LongYinan
eef8221421
fix(cli): don't enforce version check ( #2849 )
2025-08-08 15:31:55 +08:00
Qingyu Wang
991dbf3d90
fix(wasm-runtime): publish dist/*.cjs ( #2845 )
...
* fix(wasm-runtime): publish `dist/*.cjs`
* chore: sort
2025-08-08 15:22:33 +08:00
LongYinan
dca00683d8
fix(napi): handle the return_if_invalid for Array param ( #2846 )
...
* fix(napi): handle the return_if_invalid for Array param
* Update crates/backend/src/codegen/fn.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update crates/backend/src/codegen/fn.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-08 15:10:43 +08:00
github-actions[bot]
fa9d578d3b
chore: release ( #2843 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-derive-backend-v2.1.0
napi-derive-v3.2.0
napi-v3.2.0
2025-08-07 23:39:50 +08:00