3097 Commits

Author SHA1 Message Date
LongYinan
1402327d4b
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.80
 - @napi-rs/triples@2.0.0-alpha.42
@napi-rs/cli@3.0.0-alpha.80 @napi-rs/triples@2.0.0-alpha.42
2025-05-20 11:42:42 +08:00
LongYinan
446a65489c
fix(cli): do not create wasi binding in non-wasi packages (#2654) 2025-05-20 11:41:40 +08:00
renovate[bot]
d2d8d31c68
chore(deps): update cross-platform-actions/action action to v0.28.0 (#2653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 17:53:23 +00:00
LongYinan
62a1051589
Release independent packages
- napi@3.0.0-beta.1
- napi-derive@3.0.0-beta.1
napi-derive@3.0.0-beta.1 napi@3.0.0-beta.1
2025-05-19 19:53:20 +08:00
LongYinan
7182db3a81
feat(napi): EscapableHandleScope API (#2652) 2025-05-19 19:52:21 +08:00
LongYinan
92b094e487
feat(napi): new handle scope API (#2650) 2025-05-18 23:16:40 +08:00
LongYinan
18816c710c
refactor!(napi): move JsObjectValue into bindgen_runtime (#2649) 2025-05-18 22:29:45 +08:00
LongYinan
a9c8ae0f99
fix(napi-derive): disallow JsValue assign to napi class as a field (#2648) 2025-05-18 21:04:30 +08:00
LongYinan
0dd473d52b
style(napi-derive): clippy fix (#2647) 2025-05-18 16:08:28 +08:00
LongYinan
74f349c180
fix(napi): reuse issue on AbortSignal (#2646)
- Close https://github.com/napi-rs/napi-rs/issues/2141
2025-05-18 15:57:10 +08:00
LongYinan
229128c3a7
chore(napi): make Object::from_raw pub (#2645)
- Close https://github.com/napi-rs/napi-rs/issues/2641
2025-05-17 22:47:23 +08:00
LongYinan
b1fb82dade
fix!(napi): unsound issues in Error (#2644)
- Close https://github.com/napi-rs/napi-rs/issues/1640
2025-05-17 22:44:24 +08:00
LongYinan
fddf6109b0
fix(napi): cleanup inner Stream when complete (#2643)
- Close https://github.com/napi-rs/napi-rs/issues/2604
2025-05-17 22:41:22 +08:00
LongYinan
4407678a25
fix(napi-derive): #[cfg_attr(feature = "xxx", napi)] (#2640) 2025-05-17 20:37:36 +08:00
LongYinan
bbe3666233
Release independent packages
- napi@3.0.0-beta.0
- napi-derive@3.0.0-beta.0
- napi-build@2.2.0
napi-build@2.2.0 napi-derive@3.0.0-beta.0 napi@3.0.0-beta.0
2025-05-16 22:51:58 +08:00
LongYinan
c8c073a348
chore(release): publish
- @napi-rs/cli@3.0.0-alpha.79
 - @napi-rs/triples@2.0.0-alpha.41
 - @napi-rs/wasm-runtime@0.2.10
@napi-rs/cli@3.0.0-alpha.79 @napi-rs/triples@2.0.0-alpha.41 @napi-rs/wasm-runtime@0.2.10
2025-05-16 22:50:52 +08:00
LongYinan
21982a1508
feat(napi-derive): auto invalid type gen (#2638) 2025-05-16 22:30:27 +08:00
LongYinan
46bd338093
chore(bench): migrate to vitest (#2637) 2025-05-16 22:27:23 +08:00
LongYinan
8e481c1eba
style: clippy fix (#2639) 2025-05-16 22:24:11 +08:00
LongYinan
5d360e89fc
chore(cli): remove outdated WASI_REGISTER_TMP_PATH (#2633) 2025-05-14 15:24:33 +08:00
LongYinan
ce990542b9
fix(napi): module_exports binding (#2632) 2025-05-13 19:54:25 +08:00
LongYinan
8cd752db86
feat(napi): support #[napi(module_exports)] (#2631) 2025-05-13 17:47:52 +08:00
Toyo Li
620035804b
fix(wasm-runtime): fs-proxy test failed on s390x platform (#2629) 2025-05-12 15:29:21 +08:00
LongYinan
0a9980bad5
fix(napi): JsObjectValue::get_property signature (#2628)
* fix(napi): JsObjectValue::get_property signature

* debug
2025-05-12 12:20:06 +08:00
LongYinan
6548414b8f
feat(napi): add create_ref on JsObjectValue (#2627) 2025-05-12 00:38:31 +08:00
LongYinan
be00a9b017
feat(napi): impl full Uint8ClampedSlice type (#2626) 2025-05-12 00:35:34 +08:00
LongYinan
7a972425b8
fix(napi): nested Either and Promise validate logic (#2625)
- Close https://github.com/napi-rs/napi-rs/issues/2578
2025-05-12 00:33:14 +08:00
LongYinan
1c0f127178
fix(napi): reference leak in DeferredTrace (#2624) 2025-05-12 00:31:07 +08:00
LongYinan
5956a00b39
chore(memory-testing): js style fix (#2623) 2025-05-11 22:58:54 +08:00
LongYinan
653212ac7a
fix(napi): unused warning on JsString::from_raw (#2622)
* fix(napi): unused warning on JsString::from_raw

* Fix compile
2025-05-11 22:18:47 +08:00
renovate[bot]
d42548d5e8
chore(deps): update dependency lint-staged to v16 (#2620)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-11 21:39:08 +08:00
LongYinan
9de545e7a2
refactor!(napi): add lifetime to Object (#2619) 2025-05-11 19:51:29 +08:00
LongYinan
65fe29c854
refactor!(napi): add lifetime to JsString (#2614) 2025-05-08 13:20:09 +08:00
LongYinan
c808386a8f
refactor!(napi): move JsBigint behind compat-mode feature (#2613)
* refactor!(napi): move JsBigint behind compat-mode feature

* reduce asan flaky
2025-05-08 12:04:02 +08:00
LongYinan
813c51e16a
refactor!(napi): move depracated types behind compat-mode feature flag (#2612) 2025-05-07 22:34:26 +08:00
LongYinan
23e9de2caa
refactor!(napi): add lifetime to Unkonwn (#2611)
Remove JsUnknown
2025-05-07 22:32:24 +08:00
LongYinan
ed9ca20daa
refactor!(napi): add lifetime for JsSymbol (#2610) 2025-05-07 20:12:19 +08:00
LongYinan
a456fcdbc7
refactor!(napi): add lifetime for JsNumber (#2609) 2025-05-07 20:11:33 +08:00
LongYinan
8f852442cf
test: fix bun test runner (#2607) 2025-05-07 00:06:07 +08:00
LongYinan
95832ff168
refactor!(napi): introduce JsValue and JsObjectValue trait (#2606)
Add lifetime for JsGlobal JsTimeout and JSON
2025-05-06 23:45:37 +08:00
Iñaki Arango
7010f6059b
fix(cli): path escaping issue in metadata parser (#2605)
* fix: Fix path escaping issue in metadata parser

* fix: changed import from execSync to spawnSync
2025-05-06 11:32:20 +08:00
LongYinan
bcf5e14aa8
feat(napi): add from_napi_value for Ref<T: FromNapiValue> (#2603) 2025-05-05 23:38:46 +08:00
LongYinan
d942a6bab9
test: fix flaky (#2601) 2025-05-05 14:56:07 +08:00
LongYinan
55bed7e3fb
test(example): join all threads before return (#2600) 2025-05-05 14:30:53 +08:00
LongYinan
674d7c7b56
refactor!(napi): add lifetime to Array (#2599) 2025-05-05 14:16:53 +08:00
LongYinan
4681ac927c
feat(napi): impl into_unknown for External (#2598) 2025-05-05 12:29:29 +08:00
renovate[bot]
407a400ca0
chore(deps): update dependency @oxc-node/core to ^0.0.27 (#2595)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 16:17:48 +00:00
renovate[bot]
4baae8dfb2
chore(deps): update dependency @oxc-node/core to ^0.0.25 (#2588)
* chore(deps): update dependency @oxc-node/core to ^0.0.25

* Update oxnode

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
2025-05-03 08:55:22 +00:00
renovate[bot]
67c7f08834
chore(deps): lock file maintenance (#2587)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 16:30:25 +08:00
renovate[bot]
69a092eb43
chore(deps): update dependency electron to v36 (#2577)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-03 15:51:53 +08:00