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
LongYinan
db71fbfad6
chore(release): publish
...
- @napi-rs/cli@3.1.0
- @napi-rs/triples@2.0.4
- @napi-rs/wasm-runtime@1.0.2
@napi-rs/cli@3.1.0
@napi-rs/triples@2.0.4
@napi-rs/wasm-runtime@1.0.2
2025-08-07 23:22:41 +08:00
LongYinan
0c3589d7ba
ci: publish manually
2025-08-07 23:21:07 +08:00
LongYinan
98968764d0
ci: --no-verify-access when publish
2025-08-07 22:32:30 +08:00
Mikaël Francoeur
83389a186b
feat(napi): add ScopeGenerator trait ( #2831 )
...
* add lifetime to iterator
* Add ScopedIterator
* fix type gen
* Clippy fix
---------
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-08-07 21:44:01 +08:00
LongYinan
b997c4eeaf
fix(napi): user_defined_rt can only be used once ( #2841 )
2025-08-07 02:58:03 -07:00
Mikaël Francoeur
88fca29e3b
feat: make generator an iterator ( #2784 )
...
* make the generator an iterator
* add JSDoc for generators
* prevent naming conflicts
* add JSDoc struct
* update snapshot
* clippy
* Update typedef
* update fmt
* Apply code review
* test compatible
---------
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-08-07 08:03:37 +00:00
LongYinan
1e30088198
fix(wasm-runtime): avoid wasm-util from tree shaking by rollup ( #2810 )
...
* fix(wasm-runtime): avoid wasm-util from tree shaking by rollup
* fix filename
2025-08-07 12:55:48 +08:00
LongYinan
ce4699025b
chore(napi): align the subsystem target triple parsing ( #2838 )
2025-08-07 12:55:05 +08:00
CPunisher
946f8929fc
fix(wasm-runtime): add constructors for nested values in objects ( #2827 )
...
* Fix
* Pass processed recursively
2025-08-07 12:35:00 +08:00
LongYinan
ec889e566a
ci: use npm trusted publisher ( #2839 )
2025-08-07 12:20:47 +08:00
LongYinan
310581a5f8
feat(cli): validate the native binding versions ( #2837 )
2025-08-07 11:58:56 +08:00
renovate[bot]
5611735775
chore(deps): update actions/download-artifact action to v5 ( #2834 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-07 10:33:24 +08:00
翠
cddf31fbad
test(napi): add more tests for Error.cause support ( #2835 )
2025-08-07 10:33:10 +08:00
翠
7f5013eee3
feat(napi): add Error.cause support to napi::Error ( #2829 )
...
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-08-05 12:53:36 +08:00
Kingsword
04aacf4abc
chore(ci): use mlugg/setup-zig instead of unmaintained action ( #2828 )
2025-08-04 09:03:43 -07:00
github-actions[bot]
b35ff14e77
chore(napi): release v3.1.6 ( #2825 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-v3.1.6
2025-08-01 15:10:53 +08:00
renovate[bot]
f73d7b6ec4
chore(deps): lock file maintenance ( #2822 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-08-01 15:05:22 +08:00
LongYinan
e175512d43
fix(napi): async task finally is not called ( #2824 )
2025-08-01 15:05:08 +08:00
github-actions[bot]
e44329a059
chore(napi): release v3.1.5 ( #2820 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-v3.1.5
2025-07-31 09:53:58 +08:00
LongYinan
10416f1b43
fix(napi): relax the lifetime restriction in PromiseRaw callbacks ( #2819 )
2025-07-31 09:51:10 +08:00
github-actions[bot]
045f0afedd
chore(napi): release v3.1.4 ( #2818 )
napi-v3.1.4
2025-07-31 07:01:10 +08:00
LongYinan
7a26a98ee9
fix(napi): the generic trait rectiction of Env::spawn should be ScopedTask ( #2817 )
2025-07-31 00:49:24 +08:00
github-actions[bot]
a40e2368e6
chore: release ( #2814 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
napi-derive-backend-v2.0.3
napi-derive-v3.1.2
2025-07-30 11:56:41 +08:00
renovate[bot]
642b5aba1c
chore(deps): update dependency cross-env to v10 ( #2811 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-30 11:10:02 +08:00