napi
napi-build@2.2.2
6/30/2025
What's Changed
- fix(build): increase wasi stack size by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2748 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.10...napi-build@2.2.2 (opens in a new tab)
napi@3.0.0-beta.11
6/30/2025
What's Changed
- fix(napi): callback should be Fn rather than FnOnce by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2749 (opens in a new tab)
- fix(napi): remove DerefMut impl for all TypedArray types by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2750 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.10...napi@3.0.0-beta.11 (opens in a new tab)
napi-derive@3.0.0-beta.11
6/30/2025
What's Changed
- fix(napi-derive): generate object key types properly by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2752 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.10...napi-derive@3.0.0-beta.11 (opens in a new tab)
napi@3.0.0-beta.10
6/25/2025
What's Changed
- fix(napi): create external TypedArray in Electron env by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2740 (opens in a new tab)
- style: run clippy on nightly Rust by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2744 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.91...napi@3.0.0-beta.10 (opens in a new tab)
napi-derive@3.0.0-beta.10
6/25/2025
What's Changed
- fix(napi-derive): single parentheses arg is provided in ThreadsafeFunction by @camc314 (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2742 (opens in a new tab)
- style: run clippy on nightly Rust by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2744 (opens in a new tab)
New Contributors
- @camc314 (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2742 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.91...napi-derive@3.0.0-beta.10 (opens in a new tab)
napi@3.0.0-beta.9
6/24/2025
What's Changed
- fix(napi): avoid add finalizer if properties is empty by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2711 (opens in a new tab)
- fix(napi): avoid allocate empty Box if closures is empty by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2712 (opens in a new tab)
- fix(napi): set AbortError name by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2713 (opens in a new tab)
- perf(napi): remove unnecessary wrap in Task by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2714 (opens in a new tab)
- fix(napi): wrong drop impl for TypedArray::with_external_data by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2724 (opens in a new tab)
- fix(napi): prevent panic in ThreadsafeFunctionHandle::drop if ThreadsafeFunction::create fail by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2731 (opens in a new tab)
- test(napi): add complex pub type fixture by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2732 (opens in a new tab)
- test(napi): add fixture for re-export complex class by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2733 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.8...napi@3.0.0-beta.9 (opens in a new tab)
napi-derive@3.0.0-beta.9
6/24/2025 Version bump only
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.90...napi-derive@3.0.0-beta.9 (opens in a new tab)
napi@3.0.0-beta.8
6/8/2025
What's Changed
- feat(napi): support
build_threadsafe_function
variant with error status by @h-a-n-a (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2694 (opens in a new tab) - feat(napi): support setting
error_status
ofThreadsafeFunctionBuilder
by @h-a-n-a (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2695 (opens in a new tab) - fix(napi): memory leak in Object Property by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2699 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.7...napi@3.0.0-beta.8 (opens in a new tab)
napi-derive@3.0.0-beta.8
6/8/2025
What's Changed
- fix(napi-derive): using js_name generating wrong type defs by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2700 (opens in a new tab)
- fix(napi-derive): panic while creating type definition when Rust comment contains escape syntax by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2701 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.6...napi-derive@3.0.0-beta.8 (opens in a new tab)
napi-build@2.2.1
6/4/2025
What's Changed
No significant change, add environment change detection for napi-derive beta versions
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.5...napi-build@2.2.1 (opens in a new tab)
napi@3.0.0-beta.5
6/4/2025
What's Changed
- perf(napi): PersistedPerInstanceHashMap can be thread local by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2681 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.4...napi@3.0.0-beta.5 (opens in a new tab)
napi-derive@3.0.0-beta.5
6/4/2025
What's Changed
- fix: revalidate shared libs if type def not found by @forehalo (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2689 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.4...napi-derive@3.0.0-beta.5 (opens in a new tab)
napi@3.0.0-beta.4
6/3/2025
What's Changed
- feat!(napi): define propertes support symbol as name by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2673 (opens in a new tab)
- perf(napi): hash map by fx hash and no hash hasher by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2671 (opens in a new tab)
- feat!(napi): support custom tsfn error status by @h-a-n-a (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2672 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.3...napi@3.0.0-beta.4 (opens in a new tab)
napi-sys@3.0.0-alpha.3
6/3/2025
What's Changed
- fix(sys): napi10 types by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2682 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@3.0.0-alpha.2...napi-sys@3.0.0-alpha.3 (opens in a new tab)
napi-derive@3.0.0-beta.4
6/3/2025
What's Changed
- fix(napi-derive):
Either<f64, u32>
should generate number ts type by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2683 (opens in a new tab) - fix: type generation for shared libs by @forehalo (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2684 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.3...napi-derive@3.0.0-beta.4 (opens in a new tab)
napi@3.0.0-beta.3
5/29/2025
What's Changed
- feat(napi): serialize BigInt to serde::Value by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2659 (opens in a new tab)
- fix(napi): use Arc in Reference because it is Send by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2668 (opens in a new tab)
- feat(napi): add into_unknown on ToNapiValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2669 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.2...napi@3.0.0-beta.3 (opens in a new tab)
napi-sys@3.0.0-alpha.2
5/29/2025
What's Changed
- feat(sys): sync Node-API version changes by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2661 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.2...napi-sys@3.0.0-alpha.2 (opens in a new tab)
napi-derive@3.0.0-beta.3
5/29/2025
What's Changed
Bump version only
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.2...napi-derive@3.0.0-beta.3 (opens in a new tab)
napi@3.0.0-beta.2
5/22/2025
What's Changed
- fix: ClassInstance as_object lifecycle by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2655 (opens in a new tab)
- fix(napi): wrong error status in ThreadsafeFunction callback by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2656 (opens in a new tab)
- feat(napi): set Error::reason to error message and stack in async context by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2657 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-beta.1...napi@3.0.0-beta.2 (opens in a new tab)
napi-derive@3.0.0-beta.2
5/22/2025
What's Changed
Version bump only
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.1...napi-derive@3.0.0-beta.2 (opens in a new tab)
napi@3.0.0-beta.1
5/19/2025
What's Changed
- fix(napi): cleanup inner Stream when complete by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2643 (opens in a new tab)
- fix!(napi): unsound issues in Error by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2644 (opens in a new tab)
- chore(napi): make Object::from_raw pub by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2645 (opens in a new tab)
- fix(napi): reuse issue on AbortSignal by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2646 (opens in a new tab)
- refactor!(napi): move JsObjectValue into bindgen_runtime by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2649 (opens in a new tab)
- feat(napi): new handle scope API by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2650 (opens in a new tab)
- feat(napi): EscapableHandleScope API by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2652 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.2.0...napi@3.0.0-beta.1 (opens in a new tab)
napi-derive@3.0.0-beta.1
5/19/2025
What's Changed
- fix(napi-derive): #[cfg_attr(feature = "xxx", napi)] by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2640 (opens in a new tab)
- style(napi-derive): clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2647 (opens in a new tab)
- fix(napi-derive): disallow JsValue assign to napi class as a field by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2648 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.0...napi-derive@3.0.0-beta.1 (opens in a new tab)
napi-build@2.2.0
5/16/2025
What's Changed
- feat: auto invalid type gen by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2638 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.1.6...napi-build@2.2.0 (opens in a new tab)
napi@3.0.0-beta.0
5/16/2025
What's Changed
- feat(napi): serde value ref to napi_value by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2550 (opens in a new tab)
- feat(napi): impl
into_unknown
for External by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2598 (opens in a new tab) - refactor!(napi): add lifetime to Array by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2599 (opens in a new tab)
- test: fix flaky by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2601 (opens in a new tab)
- feat(napi): add from_napi_value for
Ref<T: FromNapiValue>
by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2603 (opens in a new tab) - refactor!(napi): introduce JsValue and JsObjectValue trait by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2606 (opens in a new tab)
- refactor!(napi): add lifetime for JsNumber by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2609 (opens in a new tab)
- refactor!(napi): add lifetime for JsSymbol by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2610 (opens in a new tab)
- refactor!(napi): add lifetime to Unkonwn by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2611 (opens in a new tab)
- refactor!(napi): move depracated types behind compat-mode feature flag by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2612 (opens in a new tab)
- refactor!(napi): move JsBigint behind compat-mode feature by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2613 (opens in a new tab)
- refactor!(napi): add lifetime to JsString by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2614 (opens in a new tab)
- refactor!(napi): add lifetime to Object by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2619 (opens in a new tab)
- fix(napi): unused warning on JsString::from_raw by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2622 (opens in a new tab)
- fix(napi): reference leak in DeferredTrace by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2624 (opens in a new tab)
- fix(napi): nested Either and Promise validate logic by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2625 (opens in a new tab)
- feat(napi): impl full Uint8ClampedSlice type by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2626 (opens in a new tab)
- feat(napi): add create_ref on JsObjectValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2627 (opens in a new tab)
- fix(napi): JsObjectValue::get_property signature by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2628 (opens in a new tab)
- feat(napi): support #[napi(module_exports)] by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2631 (opens in a new tab)
- fix(napi): module_exports binding by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2632 (opens in a new tab)
New Contributors
- @sxzz (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2560 (opens in a new tab)
- @inakineitor (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2605 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.1.6...napi@3.0.0-beta.0 (opens in a new tab)
napi-derive@3.0.0-beta.0
5/16/2025
What's Changed
- fix(napi-derive): make_ref with
Vec<&S>
cases by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2589 (opens in a new tab) - feat(napi-derive): auto invalid type gen by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2638 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.1.6...napi-derive@3.0.0-beta.0 (opens in a new tab)
napi@2.16.17
3/22/2025
What's Changed
- fix: backport BigInt changes from #2028 & #2356 by @Wodann (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2524 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.16...napi@2.16.17 (opens in a new tab)
napi-build@2.1.6
3/22/2025
What's Changed
- perf(build): remove
--export-dynamic
flag in wasi compilation by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2523 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.33...napi-build@2.1.6 (opens in a new tab)
napi@3.0.0-alpha.33
3/17/2025
What's Changed
- fix(napi): re-create async runtime by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2519 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.29...napi@3.0.0-alpha.33 (opens in a new tab)
napi@3.0.0-alpha.32
3/16/2025
What's Changed
- fix(deps): update rust crate ctor to 0.4.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2482 (opens in a new tab)
- feat(napi): tokio multi-thread mode on wasi by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2501 (opens in a new tab)
- fix(napi): js call callback in ThreadsafeFunction should not be Send by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2510 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.31...napi@3.0.0-alpha.32 (opens in a new tab)
napi-derive@3.0.0-alpha.29
3/16/2025
What's Changed
- fix(deps): update rust crate ctor to 0.4.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2482 (opens in a new tab)
- fix(deps): update rust crate convert_case to 0.8 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2483 (opens in a new tab)
- fix(napi-derive): add
object_from_js
andobject_to_js
support for enum by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2489 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.31...napi-derive@3.0.0-alpha.29 (opens in a new tab)
napi-build@2.1.5
2/25/2025
What's Changed
- refactor: link crt1-reactor.o as poor man's wasi-exec-model=reactor by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2480 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.30...napi-build@2.1.5 (opens in a new tab)
napi@3.0.0-alpha.31
2/25/2025
What's Changed
- fix(napi): compile error on noop feature by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2478 (opens in a new tab)
- refactor!(napi): link crt1-reactor.o as poor man's wasi-exec-model=reactor by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2480 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.30...napi@3.0.0-alpha.31 (opens in a new tab)
napi@3.0.0-alpha.30
2/24/2025
What's Changed
- fix(napi): compatible with Rust 1.85 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2477 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.29...napi@3.0.0-alpha.30 (opens in a new tab)
napi@3.0.0-alpha.29
2/21/2025
What's Changed
- chore(napi): merge thread cleanup by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2469 (opens in a new tab)
- chore(napi): remove thread_local! in REFERENCE_MAP by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2470 (opens in a new tab)
- fix!(napi): upgrade to ctor 0.3.6 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2472 (opens in a new tab)
New Contributors
- @sigmaSd (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2471 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.28...napi@3.0.0-alpha.29 (opens in a new tab)
napi@2.16.16
2/11/2025
What Changed
- fix(napi): add back tokio runtime reference count on macOS, close https://github.com/napi-rs/napi-rs/issues/2460 (opens in a new tab) by @Brooooooklyn (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.15...napi@2.16.16 (opens in a new tab)
napi@3.0.0-alpha.28
2/11/2025
What's Changed
- chore(napi): expose functions which turn raw pointer into External by @zackradisic (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2449 (opens in a new tab)
- feat(napi-derive): impl #[napi(array)] by @lghuahua (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2459 (opens in a new tab)
- refactor!(napi): TypedArray API surfaces by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2462 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.67...napi@3.0.0-alpha.28 (opens in a new tab)
napi-derive@3.0.0-alpha.26
2/11/2025
What's Changed
- fix(napi-derive): enable tuple fields to support js_name attribute by @lghuahua (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2439 (opens in a new tab)
- feat(napi-derive): impl #[napi(array)] by @lghuahua (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2459 (opens in a new tab)
- refactor!(napi): TypedArray API surfaces by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2462 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.67...napi-derive@3.0.0-alpha.26 (opens in a new tab)
napi@2.16.15
2/4/2025
What's Changed
- fix(napi): Update
from_raw
methods onExternal<T>
by @zackradisic (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2453 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.14...napi@2.16.15 (opens in a new tab)
napi@2.16.14
2/3/2025
What Changed
- chore(napi): expose functions which turn raw pointer into External by @zackradisic (opens in a new tab) (https://github.com/napi-rs/napi-rs/pull/2449 (opens in a new tab))
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.13...napi@2.16.14 (opens in a new tab)
napi@3.0.0-alpha.27
1/12/2025
What's Changed
- fix(napi): add back Buffer/TypedArray custom gc on wasi by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2421 (opens in a new tab)
- feat(napi): allow create ReadableStream from polyfill by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2424 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.25...napi@3.0.0-alpha.27 (opens in a new tab)
napi-derive@3.0.0-alpha.25
1/12/2025
What's Changed
- fix(napi-derive): hide the lifetime recursively in codegen by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2426 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.24...napi-derive@3.0.0-alpha.25 (opens in a new tab)
napi-derive@3.0.0-alpha.24
1/12/2025
What's Changed
- fix(deps): update rust crate convert_case to 0.7 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2422 (opens in a new tab)
- feat(napi): allow create ReadableStream from polyfill by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2424 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.25...napi-derive@3.0.0-alpha.24 (opens in a new tab)
napi@3.0.0-alpha.25
1/4/2025
What's Changed
- perf(napi): JsStringUtf8 take & into_owned & as_str fn by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2404 (opens in a new tab)
- refactor!(napi): arguments tuple behavior by @adespawn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2401 (opens in a new tab)
- fix(napi): Function call with empty tuple should generate empty arguments by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2407 (opens in a new tab)
- feat(napi): add get and try_get for FunctionCallContext by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2409 (opens in a new tab)
- feat(napi): impl ReadableStream and AsyncGenerator by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2418 (opens in a new tab)
New Contributors
- @ganthern (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2402 (opens in a new tab)
- @lghuahua (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2416 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.23...napi@3.0.0-alpha.25 (opens in a new tab)
napi-derive@3.0.0-alpha.23
1/4/2025
What's Changed
- refactor!(napi): arguments tuple behavior by @adespawn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2401 (opens in a new tab)
- fix(napi): Function call with empty tuple should generate empty arguments by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2407 (opens in a new tab)
- feat(napi): add get and try_get for FunctionCallContext by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2409 (opens in a new tab)
- feat(napi-derive): support type on #[napi] by @lghuahua (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2416 (opens in a new tab)
- feat(napi): impl ReadableStream and AsyncGenerator by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2418 (opens in a new tab)
New Contributors
- @ganthern (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2402 (opens in a new tab)
- @lghuahua (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2416 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.23...napi-derive@3.0.0-alpha.23 (opens in a new tab)
napi@3.0.0-alpha.23
12/10/2024
What's Changed
- fix(napi): delete error reference with raw Error by @underfin (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2388 (opens in a new tab)
New Contributors
- @underfin (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2388 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.21...napi@3.0.0-alpha.23 (opens in a new tab)
napi-derive@2.16.13
12/3/2024
What Changed
- fix(napi-derive): undefined feature flags in expanded macro by @Brooooooklyn (opens in a new tab) https://github.com/napi-rs/napi-rs/commit/9581f785e02fd08a2be70d064e6eb167ea729176 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.13...napi-derive@2.16.13 (opens in a new tab)
napi@3.0.0-alpha.22
12/3/2024
What's Changed
- fix(napi): handle nul byte in object key by @hi-ogawa (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2385 (opens in a new tab)
New Contributors
- @hi-ogawa (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2385 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.21...napi@3.0.0-alpha.22 (opens in a new tab)
napi-derive@3.0.0-alpha.21
12/3/2024
What's Changed
- fix(napi-derive): generate correct types for HashMap with RandomState argument by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2384 (opens in a new tab)
- fix(napi-derive): object_from_js / object_to_js for transparent was swapped by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2382 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.21...napi-derive@3.0.0-alpha.21 (opens in a new tab)
napi@3.0.0-alpha.21
11/30/2024
What's Changed
- feat(napi): allow us to create nest function from closure by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2360 (opens in a new tab)
- feat(napi): implement
ValidateNapiValue
for HashMap with any hasher by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2374 (opens in a new tab) - feat(napi): implement
ValidateNapiValue
for HashSet with any hasher by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2377 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.20...napi@3.0.0-alpha.21 (opens in a new tab)
napi-derive@3.0.0-alpha.20
11/30/2024
What's Changed
- fix(backend): fix type when function as object field by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2359 (opens in a new tab)
- feat(napi-derive): allow ts_type in napi fn attrs by @Frank-III (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2362 (opens in a new tab)
- feat(napi-derive): implement
#[napi(transparent)]
by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2376 (opens in a new tab) - chore: Rust 1.83.0 clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2378 (opens in a new tab)
New Contributors
- @Frank-III (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2362 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.19...napi-derive@3.0.0-alpha.20 (opens in a new tab)
napi-derive@3.0.0-alpha.19
11/13/2024
What's Changed
- fix(napi-derive): object lifetime compile issue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2351 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.18...napi-derive@3.0.0-alpha.19 (opens in a new tab)
napi@3.0.0-alpha.20
11/7/2024
What's Changed
- chore(napi): remove Read from Uint8Array by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2346 (opens in a new tab)
- chore(napi): deprecate Env::create_reference by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2347 (opens in a new tab)
- fix(napi): memory leak in PromiseRaw callbacks by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2348 (opens in a new tab)
New Contributors
- @Adjective-Object (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2344 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.17...napi@3.0.0-alpha.20 (opens in a new tab)
napi-derive@3.0.0-alpha.18
11/7/2024
What's Changed
- chore(napi-derive): remove unused dependency
regex
fromnapi-derive-backend
by @Adjective-Object (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2344 (opens in a new tab)
New Contributors
- @Adjective-Object (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2344 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.17...napi-derive@3.0.0-alpha.18 (opens in a new tab)
napi@3.0.0-alpha.18
10/31/2024
What's Changed
- feat(napi): impl
io::Read
forUint8Array
by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2336 (opens in a new tab) - feat(napi): introduce
AsyncBlock
to let user dispose resources after future done by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2338 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.17...napi@3.0.0-alpha.18 (opens in a new tab)
napi-derive@3.0.0-alpha.17
10/31/2024
What's Changed
- feat(napi): introduce AsyncBlock to let user dispose resources after future done by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2338 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@3.0.0-alpha.0...napi-derive@3.0.0-alpha.17 (opens in a new tab)
napi@3.0.0-alpha.17
10/28/2024
What's Changed
- feat(napi): implmenet Set by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2330 (opens in a new tab)
- fix!(sys): Node-API accept
NAPI_AUTO_LENGTH
parameter type should beisize
rather thanusize
by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2331 (opens in a new tab) - feat(napi): support return
*const c_char
to JavaScript directly by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2332 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.15...napi@3.0.0-alpha.17 (opens in a new tab)
napi-sys@3.0.0-alpha.0
10/28/2024
What's Changed
- fix!(sys): Node-API accept
NAPI_AUTO_LENGTH
parameter type should beisize
rather thanusize
by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2331 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.15...napi-sys@3.0.0-alpha.0 (opens in a new tab)
napi-derive@3.0.0-alpha.16
10/28/2024
What's Changed
- fix(napi-derive): ra warning on Rust 1.82 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2329 (opens in a new tab)
- feat(napi): implmenet Set by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2330 (opens in a new tab)
- feat(napi): support return *const c_char to JavaScript directly by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2332 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.15...napi-derive@3.0.0-alpha.16 (opens in a new tab)
napi@2.16.13
10/21/2024
What Changed
- fix(napi): needless cast to
CString
before callnapi_create_string_utf8
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.12...napi@2.16.13 (opens in a new tab)
napi@3.0.0-alpha.16
10/21/2024
What's Changed
- chore(napi): display the real info for TypedArray by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2310 (opens in a new tab)
- fix(napi): before using from_raw_parts should check if data is null by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2311 (opens in a new tab)
- fix(napi): TypedArray is not ArrayBuffer in Deno by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2314 (opens in a new tab)
- fix(napi): needless cast to CString before call napi_create_string_utf8 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2321 (opens in a new tab)
- docs: update n-api version matrix docs url by @selfisekai (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2319 (opens in a new tab)
- chore(deps): update dependency oxlint to ^0.10.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2318 (opens in a new tab)
- refactor!(napi): remove &str FromNapiValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2323 (opens in a new tab)
New Contributors
- @selfisekai (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2319 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.15...napi@3.0.0-alpha.16 (opens in a new tab)
napi-derive@3.0.0-alpha.15
10/21/2024
What's Changed
- refactor!(napi): remove &str FromNapiValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2323 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.14...napi-derive@3.0.0-alpha.15 (opens in a new tab)
napi@3.0.0-alpha.15
10/14/2024
What's Changed
- refactor!(napi): Ref::unref accept &mut self instead of self by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2308 (opens in a new tab)
- refactor!(napi): pass self to Task::finally instread of &mut self by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2309 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.14...napi@3.0.0-alpha.15 (opens in a new tab)
napi@2.16.12
10/13/2024
What Changed
- fix(napi): data maybe null in custom_gc #2304
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.11...napi@2.16.12 (opens in a new tab)
napi@3.0.0-alpha.14
10/13/2024
What's Changed
- chore(napi): env doesn't need to be mut by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2292 (opens in a new tab)
- refactor!(napi): remove clone fn on ThreadsafeFunction by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2291 (opens in a new tab)
- feat(napi,napi-derive): allow lifetime in Class by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2298 (opens in a new tab)
- fix(napi): data maybe null in custom_gc by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2304 (opens in a new tab)
- feat(napi): support arraybuffer for de by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2296 (opens in a new tab)
New Contributors
- @jackyzha0 (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2297 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.13...napi@3.0.0-alpha.14 (opens in a new tab)
napi-derive@3.0.0-alpha.14
10/13/2024
What's Changed
- feat(napi,napi-derive): allow lifetime in Class by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2298 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.13...napi-derive@3.0.0-alpha.14 (opens in a new tab)
napi@3.0.0-alpha.13
10/2/2024
What's Changed
- refactor!(napi,napi-derive): add lifetime to ClassInstance by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2286 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.12...napi@3.0.0-alpha.13 (opens in a new tab)
napi-derive@3.0.0-alpha.13
10/2/2024
What's Changed
- fix(napi-derive-backend): should respect origin name for class factory by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2280 (opens in a new tab)
- refactor!(napi,napi-derive): add lifetime to ClassInstance by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2286 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.12...napi-derive@3.0.0-alpha.13 (opens in a new tab)
napi@3.0.0-alpha.12
9/23/2024
What's Changed
- feat(napi): mark create_buffer as deprecated & use BufferSlice to replace JsBuffer for ser by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2267 (opens in a new tab)
- chore(deps): update dependency esbuild to ^0.24.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2268 (opens in a new tab)
- chore(example): use BufferSlice to replace JsBuffer by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2269 (opens in a new tab)
- feat(napi-derive): add async_runtime attribute by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2270 (opens in a new tab)
- chore(napi): remove once_cell by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2271 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.11...napi@3.0.0-alpha.12 (opens in a new tab)
napi-derive@3.0.0-alpha.12
9/23/2024
What's Changed
- feat(napi-derive): add async_runtime attribute by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2270 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.11...napi-derive@3.0.0-alpha.12 (opens in a new tab)
napi-derive@3.0.0-alpha.11
9/21/2024
What's Changed
- feat(napi-derive): allow napi fn with lifetime by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2266 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.11...napi-derive@3.0.0-alpha.11 (opens in a new tab)
napi@3.0.0-alpha.11
9/20/2024
What's Changed
- refactor(napi-derive): expand order by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2265 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.9...napi@3.0.0-alpha.11 (opens in a new tab)
napi-derive@3.0.0-alpha.10
9/20/2024
What's Changed
- refactor(napi-derive): expand order by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2265 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.9...napi-derive@3.0.0-alpha.10 (opens in a new tab)
napi@2.16.11
9/19/2024
What Changed
- fix(napi): nullptr handling in TypedArrays #2258 @Xanewok (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.10...napi@2.16.11 (opens in a new tab)
napi@3.0.0-alpha.10
9/19/2024
What's Changed
- fix(napi): nullptr handling in
TypedArray
s by @Xanewok (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2258 (opens in a new tab) - chore: enable corepack in Debian base Dockerfile by @stevefan1999-personal (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2252 (opens in a new tab)
- refactor(napi): allow create BufferSlice from external data by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2263 (opens in a new tab)
New Contributors
- @Xanewok (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2258 (opens in a new tab)
- @stevefan1999-personal (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2252 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.8...napi@3.0.0-alpha.10 (opens in a new tab)
napi-derive@3.0.0-alpha.9
9/19/2024
What's Changed
- fix(derive): fix clippy warning with newer rust version by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2262 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.8...napi-derive@3.0.0-alpha.9 (opens in a new tab)
napi@2.16.10
9/12/2024
What Changed
- fix(napi,napi-derive): ffi lifetime and pointer sound issues https://github.com/napi-rs/napi-rs/pull/2216 (opens in a new tab) @cathy-sjh
- chore(napi): mark JsArraybufferValue's value pub https://github.com/napi-rs/napi-rs/pull/2226 (opens in a new tab) @richerfu
- fix(napi): use error_ref should checkout it at first https://github.com/napi-rs/napi-rs/pull/2235 (opens in a new tab) @richerfu
- fix(napi): windows function registration timing https://github.com/napi-rs/napi-rs/pull/2248 (opens in a new tab) @Brooooooklyn
- perf(napi): remove unnecessary checks for strings from napi_get_value_string_utf8 #2247 @SyMind (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.9...napi@2.16.10 (opens in a new tab)
napi-derive@2.16.12
9/12/2024
What Changed
- fix(napi-derive): string enum validate logic #2213 @Brooooooklyn (opens in a new tab)
- fix(napi-derive): warning in empty enum codegen #2214 @Brooooooklyn (opens in a new tab)
- fix(napi,napi-derive): ffi lifetime and pointer sound issues #2216 @cathy-sjh (opens in a new tab)
- fix(napi-derive): replace self when function returns
Result
#2224 @CPunisher (opens in a new tab) - perf(macro): constructor don't support asynchronous function #2239 @richerfu (opens in a new tab)
- fix(napi-derive): call flush on the BufWriter #2242 @richerfu (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.10...napi-derive@2.16.12 (opens in a new tab)
napi@3.0.0-alpha.9
9/12/2024
What's Changed
- test: skip unstable test in WASI env by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2196 (opens in a new tab)
- fix(napi): allow ThreadsafeFunction in Either by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2204 (opens in a new tab)
- chore: implement serde::Serialize for Either by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2209 (opens in a new tab)
- ci: fix Address Sanitizer check by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2212 (opens in a new tab)
- fix(napi,napi-derive): ffi lifetime and pointer sound issues by @cathy-sjh (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2216 (opens in a new tab)
- feat: support structured enum with discriminated unions by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2222 (opens in a new tab)
- feat(napi): mark JsArraybufferValue's value pub by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2226 (opens in a new tab)
- fix(napi): use error_ref should checkout it at first by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2235 (opens in a new tab)
- fix(napi): windows function registration timing by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2248 (opens in a new tab)
- perf(napi): remove unnecessary checks for strings from napi_get_value_string_utf8 by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2247 (opens in a new tab)
- refactor!(napi): Ref should not hold the value ptr by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2243 (opens in a new tab)
New Contributors
- @CPunisher (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2210 (opens in a new tab)
- @cathy-sjh (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2216 (opens in a new tab)
- @markovalenko (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2220 (opens in a new tab)
- @DonIsaac (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2233 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.7...napi@3.0.0-alpha.9 (opens in a new tab)
napi-derive@3.0.0-alpha.8
9/12/2024
What's Changed
- fix: missing impl for FromNapiValue due to object_from_js being false by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2197 (opens in a new tab)
- fix(napi-derive): add more cases for typegen of function args by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2210 (opens in a new tab)
- fix(napi-derive): string enum validate logic by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2213 (opens in a new tab)
- fix(napi-derive): warning in empty enum codegen by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2214 (opens in a new tab)
- fix(napi,napi-derive): ffi lifetime and pointer sound issues by @cathy-sjh (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2216 (opens in a new tab)
- fix(napi-derive): replace self when function returns
Result
by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2224 (opens in a new tab) - feat: support structured enum with discriminated unions by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2222 (opens in a new tab)
- fix(napi-derive): tuple object and enum by @CPunisher (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2227 (opens in a new tab)
- perf(macro): constructor don't support asynchronous function by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2239 (opens in a new tab)
- fix(napi-derive): call flush on the BufWriter by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2242 (opens in a new tab)
New Contributors
- @CPunisher (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2210 (opens in a new tab)
- @cathy-sjh (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2216 (opens in a new tab)
- @markovalenko (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2220 (opens in a new tab)
- @DonIsaac (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2233 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.7...napi-derive@3.0.0-alpha.8 (opens in a new tab)
napi@2.16.9
8/10/2024
What Changed
- chore: implement
serde::Serialize
forEither
by @lbarthon (opens in a new tab) #2209
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.8...napi@2.16.9 (opens in a new tab)
napi-derive@2.16.11
8/10/2024
What Changed
- fix(napi-derive): add more cases for typegen of function args by @CPunisher (opens in a new tab) #2210
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.10...napi-derive@2.16.11 (opens in a new tab)
napi-derive@2.16.10
7/23/2024
What Changed
- fix(napi-derive): call flush on the BufWriter by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2195 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.9...napi-derive@2.16.10 (opens in a new tab)
napi-derive@3.0.0-alpha.7
7/23/2024
What's Changed
- fix(napi-derive): call flush on the BufWriter by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2195 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.6...napi-derive@3.0.0-alpha.7 (opens in a new tab)
napi-derive@2.16.9
7/16/2024
What's Changed
- fix: napi getter macros by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2188 (opens in a new tab)
New Contributors
- @SyMind (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2188 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.8...napi-derive@2.16.9 (opens in a new tab)
napi-derive@3.0.0-alpha.6
7/16/2024
What's Changed
- fix: napi getter macros by @SyMind (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2188 (opens in a new tab)
New Contributors
- @SyMind (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2188 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.59...napi-derive@3.0.0-alpha.6 (opens in a new tab)
napi@3.0.0-alpha.6
7/7/2024
What's Changed
- refactor(napi): simplify Promise implementation by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2171 (opens in a new tab)
- fix(napi): Promise callbacks should require static lifetime by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2172 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.5...napi@3.0.0-alpha.6 (opens in a new tab)
napi@3.0.0-alpha.5
7/6/2024
What's Changed
- feat(napi): impl from_string for Uint8Array by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2167 (opens in a new tab)
- feat(napi): provide PromiseRaw for non-await scenario by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2168 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.56...napi@3.0.0-alpha.5 (opens in a new tab)
napi-derive@2.16.8
7/1/2024
What changed
- fix(napi-derive): missing declare keyword for function
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.7...napi-derive@2.16.8 (opens in a new tab)
napi-derive@3.0.0-alpha.3
7/1/2024
What's Changed
- fix(napi-derive): class constructor and factory should support custom error status by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2161 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.2...napi-derive@3.0.0-alpha.3 (opens in a new tab)
napi@2.16.8
6/27/2024
What Changed
- feat(napi): support chrono datetime with timezones by @naskya (opens in a new tab) (https://github.com/napi-rs/napi-rs/pull/2074 (opens in a new tab))
- chore(napi): let docs.rs generate all documentation by @Gentle (opens in a new tab) #2160
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.7...napi@2.16.8 (opens in a new tab)
napi@3.0.0-alpha.3
7/1/2024
What's Changed
- docs(cli): fix typo by @naskya (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2108 (opens in a new tab)
- chore(deps): update dependency sinon to v18 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2112 (opens in a new tab)
- chore(napi): allow value attribute on enum variants by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2115 (opens in a new tab)
- feat(napi): Function build_thfn support calledhandled mode by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2114 (opens in a new tab)
- fix(typegen): add missing
declare
keyword by @magic-akari (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2117 (opens in a new tab) - fix(deps): update dependency emnapi to v1.2.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2118 (opens in a new tab)
- chore(deps): update dependency vite-plugin-node-polyfills to ^0.22.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2119 (opens in a new tab)
- feat(napi): implement ToNapiValue for Ref as required by TSFN by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2122 (opens in a new tab)
- feat(napi): support External for compact mode by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2125 (opens in a new tab)
- chore(example): remove JsFunction from example by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2123 (opens in a new tab)
- chore(napi): make Ser and De public by @Gentle (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2131 (opens in a new tab)
- chore(deps): update dependency @rollup/plugin-commonjs to v26 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2132 (opens in a new tab)
- Add windows gnu target by @Kreijstal (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2026 (opens in a new tab)
- chore(deps): lock file maintenance by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2129 (opens in a new tab)
- chore(deps): update dependency oxlint to ^0.4.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2126 (opens in a new tab)
- chore(deps): update yarn to v4.3.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2135 (opens in a new tab)
- fix(cli): rename env CC to TARGET_CC avoid proc-macro build failed by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2137 (opens in a new tab)
- chore(deps): update dependency electron to v31 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2136 (opens in a new tab)
- chore(deps): update dependency c8 to v10 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2134 (opens in a new tab)
- fix(napi): JsString should respect \0 character to align with String by @richerfu (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2138 (opens in a new tab)
- feat(error): print anyhow error in debug mode to show trace by @ozgrakkurt (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2140 (opens in a new tab)
- chore: clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2144 (opens in a new tab)
- chore(deps): update docker/build-push-action action to v6 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2142 (opens in a new tab)
- Reduce monomorphization load of various functions by @seritools (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2143 (opens in a new tab)
- fix(deps): update dependency @octokit/rest to v21 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2149 (opens in a new tab)
- chore(deps): update yarn to v4.3.1 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2150 (opens in a new tab)
- chore(deps): update oven-sh/setup-bun action to v2 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2153 (opens in a new tab)
- test(napi): spwan thread in thread by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2139 (opens in a new tab)
- chore(napi): remove stale tokio feature by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2155 (opens in a new tab)
- chore(napi): exclude libuv api on wasm targets by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2156 (opens in a new tab)
- let docs.rs generate all documentation by @Gentle (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2160 (opens in a new tab)
- chore(deps): update dependency oxlint to ^0.5.0 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2159 (opens in a new tab)
New Contributors
- @magic-akari (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2117 (opens in a new tab)
- @Gentle (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2131 (opens in a new tab)
- @Kreijstal (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/2026 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.55...napi@3.0.0-alpha.3 (opens in a new tab)
napi@2.16.7
6/26/2024
What changed
- feat(napi): implement ToNapiValue for Ref as required by TSFN by @richerfu (opens in a new tab) #2122
- feat(napi): support External for compact mode by @richerfu (opens in a new tab) #2125
- chore(napi): make Ser and De public by @Gentle (opens in a new tab) #2131
- fix(napi): JsString should respect \0 character to align with String by @richerfu (opens in a new tab) #2138
- feat(error): print anyhow error in debug mode to show trace by @ozgrakkurt (opens in a new tab) #2140
- chore(napi): reduce monomorphization load of various functions by @seritools (opens in a new tab) #2143
- chore(napi): remove stale tokio feature by @Brooooooklyn (opens in a new tab) #2155
- chore(napi): exclude libuv api on wasm targets by @Brooooooklyn (opens in a new tab) #2156
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.6...napi@2.16.7 (opens in a new tab)
napi@2.16.6
5/7/2024
What's Changed
- fix(napi): panic when deserializing empty buffer with Rust 1.78 by @mischnic (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2094 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.5...napi@2.16.6 (opens in a new tab)
napi@2.16.5
5/6/2024
What's Changed
- Fix panic in JsArrayBufferValue as_ref/as_mut with Rust 1.78 by @tronical (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2083 (opens in a new tab)
- fix(napi): make sure env without exception pending before throw error by @southorange0929 (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2092 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...napi@2.16.5 (opens in a new tab)
napi-derive@2.16.4
5/6/2024
What's Changed
- style: fix clippy errors by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2090 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.3...napi-derive@2.16.4 (opens in a new tab)
napi@2.16.4
4/18/2024
What changed
- feat(napi): allow user defined tokio runtime by @Brooooooklyn (opens in a new tab) #2040
- fix(napi): handle panic in async block by @Brooooooklyn (opens in a new tab) (https://github.com/napi-rs/napi-rs/pull/2050 (opens in a new tab))
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.2...napi@2.16.4 (opens in a new tab)
napi-derive@2.16.3
4/18/2024
What Changed
- fix(napi-derive): bail the unexpected factory directive by @Brooooooklyn (opens in a new tab) #2051
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...napi-derive@2.16.3 (opens in a new tab)
napi@3.0.0-alpha.2
4/15/2024
What's Changed
- feat(napi): allow
&External
to be created from napi value by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2037 (opens in a new tab) - fix(napi): ensure CalleeHandled works as expected by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2039 (opens in a new tab)
- feat(napi): allow user defined tokio runtime by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2040 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.1...napi@3.0.0-alpha.2 (opens in a new tab)
napi@2.16.2
4/10/2024
What Changed
- fix(napi): create_bigint_from_*128 returned incorrect word_count by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2024 (opens in a new tab)
- fix(napi): napi_adjust_external_memory should be hidden with wasm target by @southorange0929 (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2031 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.1...napi@2.16.2 (opens in a new tab)
napi-sys@2.4.0
4/10/2024
What's Changed
- feat(napi-sys): support load Node-API symbols dynamically by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2014 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.1...napi-sys@2.4.0 (opens in a new tab)
napi-derive@2.16.2
4/10/2024
What's Changed
- feat(napi-derive): enhance the error messages in object validator by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2034 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.1...napi-derive@2.16.2 (opens in a new tab)
napi@3.0.0-alpha.1
4/10/2024
What's Changed
- chore(wasm-runtime): upgrade emnapi by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2008 (opens in a new tab)
- fix(napi): no panic when caller stops listening by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2010 (opens in a new tab)
- style: clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2012 (opens in a new tab)
- fix(napi): External should impl FromNapiRef rather than FromNapiValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2013 (opens in a new tab)
- feat(napi-sys): support load Node-API symbols dynamically by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2014 (opens in a new tab)
- fix(cli): wasi Node.js worker template by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2015 (opens in a new tab)
- fix(deps): update dependency emnapi to v1.1.1 by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2017 (opens in a new tab)
- chore(deps-dev): bump vite from 5.1.4 to 5.1.7 by @dependabot (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2025 (opens in a new tab)
- fix:
create_bigint_from_*128
returned incorrect word_count by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2024 (opens in a new tab) - feat(target): add support for armv7-unknown-linux-muslebihf by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2019 (opens in a new tab)
- feat(target): add support for powerpc64le-unknown-linux-gnu by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2023 (opens in a new tab)
- feat(target): add support for s390x-unknown-linux-gnu by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2028 (opens in a new tab)
- docs: update platform support in README by @sapphi-red (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2029 (opens in a new tab)
- chore(deps): lock file maintenance by @renovate (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2018 (opens in a new tab)
- feat(cli): support wasm32-wasipxx targets by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2030 (opens in a new tab)
- chore: use oxlint by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2032 (opens in a new tab)
- fix(napi): napi_adjust_external_memory should be hidden with wasm target by @southorange0929 (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2031 (opens in a new tab)
- ci: fix flaky tests by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2033 (opens in a new tab)
- feat(napi-derive): enhance the error messages in object validator by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2034 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.0...napi@3.0.0-alpha.1 (opens in a new tab)
napi@2.16.1
3/26/2024
What's Changed
- fix(napi): remove useless FromNapiValue bound check for ValidateNapiValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1999 (opens in a new tab)
- feat(napi): support to use tuple with either by @h-a-n-a (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1993 (opens in a new tab)
- feat(napi): implement
From String
forBuffer
by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2002 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.0...napi@2.16.1 (opens in a new tab)
napi-derive@2.16.1
3/26/2024
What's Changed
- feat(napi-derive): add optional enum_string case conversion by @andrewtoth (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1995 (opens in a new tab)
New Contributors
- @andrewtoth (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1995 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...napi-derive@2.16.1 (opens in a new tab)
napi@3.0.0-alpha.0
3/20/2024
What's Changed
- fix(napi): remove useless FromNapiValue bound check for ValidateNapiValue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1999 (opens in a new tab)
- feat(napi-derive): add optional enum_string case conversion by @andrewtoth (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1995 (opens in a new tab)
- feat(napi): support to use tuple with either by @h-a-n-a (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1993 (opens in a new tab)
- feat(napi): implement
From String
forBuffer
by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2002 (opens in a new tab) - feat(napi): support
Return
generic of ThreadsafeFunction by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1997 (opens in a new tab) - chore(napi): add Send and Sync to Reference by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/2007 (opens in a new tab)
New Contributors
- @andrewtoth (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1995 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.0...napi@3.0.0-alpha.0 (opens in a new tab)
napi@2.16.0
2/28/2024
What's Changed
- feat(napi): allow Reference as a class method param by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1966 (opens in a new tab)
- fix(napi): remove useless create_reference in slice => TypedArray impl by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1975 (opens in a new tab)
- feat(napi): impl chained Into for TypedArray types by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1978 (opens in a new tab)
- feat(napi): impl BufferSlice and Uint8ClampedSlice by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1979 (opens in a new tab)
- fix(napi): add back the typecheck logic that was accidentally removed in Object::get_named_property by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1982 (opens in a new tab)
New Contributors
- @sup39 (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1971 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...napi@2.16.0 (opens in a new tab)
napi-derive@2.16.0
2/28/2024
What's Changed
- feat(napi-derive): add use_nullable attribute by @sup39 (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1971 (opens in a new tab)
- style(napi-derive): clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1976 (opens in a new tab)
- fix(napi-derive): HashMap/IndexMap and slice generated types by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1977 (opens in a new tab)
- fix(napi-derive): wrong dependency condition by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1980 (opens in a new tab)
New Contributors
- @sup39 (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1971 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...napi-derive@2.16.0 (opens in a new tab)
napi@2.15.4
2/22/2024
What's Changed
- fix(napi): no hard fail on ThreadsafeFunction::call_async by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1970 (opens in a new tab)
- fix(napi): JsObject.add_finalizer callback being allowed to reference non-static things by @tomb-msft (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1968 (opens in a new tab)
New Contributors
- @tomb-msft (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1968 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.3...napi@2.15.4 (opens in a new tab)
napi@2.15.3
2/21/2024
What's Changed
- fix: remove outdated rustdoc about tokio channels by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1961 (opens in a new tab)
- fix(Buffer): prevent memory leak when Custom GC is used by @lbarthon (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1963 (opens in a new tab)
New Contributors
- @lbarthon (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1961 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.1.1...napi@2.15.3 (opens in a new tab)
napi-build@2.1.1
2/18/2024
What's Changed
- feat(cli,build): support setjmp.h by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1958 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.2...napi-build@2.1.1 (opens in a new tab)
napi@2.15.2
2/17/2024
What's Changed
- feat(napi): extends the Map types interoperability by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1950 (opens in a new tab)
- feat(napi): accept slice as TypedArray by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1951 (opens in a new tab)
- style: apply clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1953 (opens in a new tab)
- fix(napi): memory leak while using Reference by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1954 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.38...napi@2.15.2 (opens in a new tab)
napi-derive@2.15.1
2/8/2024
What's Changed
- fix(napi-derive): serde Number typing by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1941 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.1...napi-derive@2.15.1 (opens in a new tab)
napi@2.15.1
2/1/2024
What's Changed
- fix(napi): Fix buffer corruption and soundness issues by @Janrupf (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1923 (opens in a new tab)
- fix(napi): in "Object::get", return null values wrapped in a "Some" by @jkomyno (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1934 (opens in a new tab)
New Contributors
- @Janrupf (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1923 (opens in a new tab)
- @jkomyno (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1934 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.0...napi@2.15.1 (opens in a new tab)
napi@2.15.0
1/26/2024
What's Changed
- fix(napi): callback in execute_tokio_future does not need to be Send by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1917 (opens in a new tab)
- feat(napi): new Function/FunctionRef API by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1913 (opens in a new tab)
- chore(napi): delete unwrap_from_ref API because it was never work by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1915 (opens in a new tab)
- fix(napi): memory issue while creating external buffer on electron by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1921 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.14.4...napi@2.15.0 (opens in a new tab)
napi-derive@2.15.0
1/26/2024
What's Changed
- feat(napi): new Function/FunctionRef API by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1913 (opens in a new tab)
- fix(napi-derive): JsArrayBuffer generated type by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1922 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.6...napi-derive@2.15.0 (opens in a new tab)
napi@2.14.4
1/24/2024
What's changed
- fix(napi): future in block_on do not need to be send @Brooooooklyn (opens in a new tab) https://github.com/napi-rs/napi-rs/commit/e3322706981414dbdbde0a5021cab1d5f9144620 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.14.3...napi@2.14.4 (opens in a new tab)
napi@2.14.3
1/24/2024
What's Changed
- fix(napi): block_on type by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1911 (opens in a new tab)
- chore(napi): expose spawn_blocking on tokio runtime by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1912 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.35...napi@2.14.3 (opens in a new tab)
napi@2.14.2
12/31/2023
What's Changed
- test(napi): decrease the worker sizes on Linux x64 musl platform by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1823 (opens in a new tab)
- fix(napi): apply clippy suggestions by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1878 (opens in a new tab)
- chore(napi): add status to error messages in AsyncWork by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1880 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.14.1...napi@2.14.2 (opens in a new tab)
napi-derive@2.14.6
12/27/2023
What's Changed
- fix(napi-derive): proc-macro crash on enum by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1870 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.5...napi-derive@2.14.6 (opens in a new tab)
napi-derive@2.14.5
12/27/2023
What's Changed
- fix(napi-derive): catch_unwind on constructor by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1869 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.24...napi-derive@2.14.5 (opens in a new tab)
napi-derive@2.14.4
12/13/2023
What's Changed
- fix(napi-derive): upgrade syn by @forehalo (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1849 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.3...napi-derive@2.14.4 (opens in a new tab)
napi-derive@2.14.3
12/11/2023
What's Changed
- fix(napi-derive,cli): register function cross crates by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1848 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.15...napi-derive@2.14.3 (opens in a new tab)
napi@2.14.1
11/20/2023
What's Changed
- style(napi): clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1815 (opens in a new tab)
- fix(napi): cargo doc build by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1819 (opens in a new tab)
- fix(napi): compile error for wasm32-unknown-unknown target by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1822 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.14.0...napi@2.14.1 (opens in a new tab)
napi-derive@2.14.2
11/20/2023
What's Changed
- fix(napi-derive): compile warning by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1820 (opens in a new tab)
- fix(napi): compile error for wasm32-unknown-unknown target by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1822 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2 (opens in a new tab)
napi-derive@2.14.1
11/8/2023
What's Changed
- fix(napi-derive): async task void output type by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1795 (opens in a new tab)
- fix(napi-derive): async task optional output type by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1796 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1 (opens in a new tab)
napi@2.14.0
11/7/2023
What's Changed
- throw is not a valid identifier when generating getters and setters by @yoogoc (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1701 (opens in a new tab)
- style: clippy fix by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1711 (opens in a new tab)
- feat(napi,sys): implement Symbol.for by @tom-sherman (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1721 (opens in a new tab)
- build: Docker arm64 platform by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1731 (opens in a new tab)
- test: aginst bun by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1730 (opens in a new tab)
- chore(napi): make napi_register_module_v1 pub by @MarkusJx (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1747 (opens in a new tab)
- feat: bump msrv to 1.65 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1755 (opens in a new tab)
- chore(cli): update ci template by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1771 (opens in a new tab)
- test: reduce memory usage while testing aginst worker thread by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1769 (opens in a new tab)
- Integrate with emnapi by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1669 (opens in a new tab)
- fix(napi): potential double free issue by @kuzeyardabulut (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1679 (opens in a new tab)
- feat(napi): impl Default for Buffer by @ozgrakkurt (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1734 (opens in a new tab)
- fix(napi-derive): import FromNapiValue and ToNapiValue from napi::bindgen_prelude when generating an enum by @jzeuzs (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1713 (opens in a new tab)
- fix(napi): asan caught memory safety issue by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1776 (opens in a new tab)
- feat(napi): support async class factory by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1779 (opens in a new tab)
- feat(napi,sys): sync to napi9 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1781 (opens in a new tab)
- feat: add experimental Env::get_module_file_name method by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1783 (opens in a new tab)
- test(napi): add tests for napi9 features by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1784 (opens in a new tab)
- style(napi): fix compile warning by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1785 (opens in a new tab)
- style(napi): as ptr => ptr::cast by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1786 (opens in a new tab)
- fix(napi): add tokio cleanup hook for more platforms by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1790 (opens in a new tab)
- fix(build): rerun if cli version changed by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1789 (opens in a new tab)
- feat(napi): pass the rest of async tests by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1792 (opens in a new tab)
New Contributors
- @yoogoc (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1701 (opens in a new tab)
- @tom-sherman (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1721 (opens in a new tab)
- @kuzeyardabulut (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1679 (opens in a new tab)
- @RaphaelDarley (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1716 (opens in a new tab)
- @ozgrakkurt (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1734 (opens in a new tab)
- @jzeuzs (opens in a new tab) made their first contribution in https://github.com/napi-rs/napi-rs/pull/1713 (opens in a new tab)
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.13.3...napi@2.14.0 (opens in a new tab)
napi-sys@2.3.0
11/7/2023
What's Changed
- fix(napi-sys): missing napi9 load on Windows by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1780 (opens in a new tab)
- feat(napi,sys): sync to napi9 by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1781 (opens in a new tab)
napi-derive@2.14.0
11/7/2023
What's Changed
- fix(napi-derive): throw is not a valid identifier when generating getters and setters by @yoogoc (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1701 (opens in a new tab)
- feat: integrate with emnapi, support wasm32-wasi-preview1-threads target by @Brooooooklyn (opens in a new tab) in https://github.com/napi-rs/napi-rs/pull/1669 (opens in a new tab)