napi-derive
napi-derive-v3.5.9
7/3/2026
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v5.1.1
7/3/2026
Other
napi-derive-v3.5.8
7/1/2026
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v5.1.0
7/1/2026
Added
- (napi) implement
To/FromNapiValueforOsString,OsStr,PathandPathBuf(#3339)
napi-derive-v3.5.7
6/24/2026
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v5.0.5
6/24/2026
Other
- (napi-derive) outline #[napi(object)] field-error decoration (#3338)
napi-derive-v3.5.6
5/13/2026
Fixed
- (napi) invalid TypeScript generic syntax for type aliases (#3289)
- (deps) update rust crate ctor to v1 (#3276)
- (deps) update rust crate ctor to 0.13.0 (#3275)
- (deps) update rust crate ctor to 0.12.0 (#3271)
napi-derive-v3.5.5
4/29/2026
Fixed
- (deps) update rust crate ctor to 0.11.0 (#3270)
- (napi) Convert #[ctor] calls to declarative form to remove all features (#3257)
napi-derive-backend-v5.0.4
4/29/2026
Fixed
- (napi-derive) only FnArgs unpacks tuple to variadic params (#3264)
- (napi) Convert #[ctor] calls to declarative form to remove all features (#3257)
napi-derive-v3.5.4
4/15/2026
Fixed
- (deps) update rust crate ctor to v0.10.0 (#3224)
- (deps) disable ctor priority feature (#3209)
- (deps) update rust crate ctor to v0.9.1 (#3204)
napi-derive-backend-v5.0.3
4/15/2026
Fixed
- (napi) preserve generator class methods (#3231)
napi-derive-v3.5.3
3/28/2026
Fixed
napi-derive-v3.5.2
2/14/2026
Fixed
- (deps) update rust crate convert_case to 0.11 (#3114)
napi-derive-backend-v5.0.2
2/14/2026
Fixed
napi-derive-v3.5.1
1/8/2026
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v5.0.1
1/8/2026
Fixed
- (napi) memory leak in async fn (#3089)
napi-derive-v3.5.0
12/30/2025
Added
- (napi-derive) add #[napi(async_iterator)] macro attribute (#3072)
napi-derive-backend-v5.0.0
12/30/2025
Added
- (napi-derive) add #[napi(async_iterator)] macro attribute (#3072)
napi-derive-v3.4.1
12/19/2025
Other
- clippy fix for Rust 1.92.0 (#3058)
napi-derive-backend-v4.0.1
12/19/2025
Fixed
- (napi-derive) class setter param can't be optional (#3066)
napi-derive-v3.4.0
12/2/2025
Added
- (napi-derive) add tracing feature for debug logging NAPI function calls (#3041)
Fixed
- (deps) update rust crate convert_case to 0.10 (#3031)
napi-derive-backend-v4.0.0
12/2/2025
Added
- (napi-derive) add tracing feature for debug logging NAPI function calls (#3041)
- (napi) add node_api_create_object_with_properties support for enum creation (#2990)
Fixed
- (napi-derive) add paren for function types (#3044)
- (deps) update rust crate convert_case to 0.10 (#3031)
napi-derive-v3.3.3
11/10/2025
Fixed
- (deps) update rust crate convert_case to 0.9 (#3001)
Other
- (napi) fix tsdown config (#3010)
napi-derive-backend-v3.0.2
11/10/2025
Fixed
- (deps) update rust crate convert_case to 0.9 (#3001)
Other
- (napi) fix tsdown config (#3010)
napi-derive-v3.3.2
11/7/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-v3.3.1
11/7/2025
Other
- (napi) Promise and ThreadsafeFunction::call_async don't require tokio (#2998)
napi-derive-backend-v3.0.1
11/7/2025
Fixed
- (napi-derive) TypedArray typegen (#3005)
napi-derive-v3.3.0
10/24/2025
Added
- (napi-derive) add
discriminant_caseto allow changing case of discriminant (#2960)
Fixed
- (deps) update rust crate ctor to v0.6.0 (#2951)
Other
- (napi) bump rust-version (#2966)
napi-derive-backend-v3.0.0
10/24/2025
Added
- (napi-derive) add
discriminant_caseto allow changing case of discriminant (#2960)
Fixed
- (napi) stop ref error object in wasm targets (#2975)
Other
napi-derive-v3.2.5
9/8/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v2.2.0
9/8/2025
Added
- (napi) support external JsStringLatin1 and JsStringUtf16 (#2898)
napi-derive-v3.2.4
8/16/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v2.1.4
8/16/2025
Fixed
- (napi-derive) codegen issue for &'env [u8] param (#2881)
Other
- (napi) extends the Set types interoperability (#2875)
napi-derive-v3.2.3
8/13/2025
Fixed
- (napi) link issue on cargo test --features noop (#2872)
- (deps) update rust crate ctor to v0.5.0 (#2865)
napi-derive-backend-v2.1.3
8/13/2025
Fixed
- (napi) link issue on cargo test --features noop (#2872)
napi-derive-v3.2.2
8/9/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v2.1.2
8/9/2025
Fixed
- (napi-derive) comments idents regression (#2857)
napi-derive-v3.2.1
8/8/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v2.1.1
8/8/2025
Fixed
- (napi) handle the return_if_invalid for Array param (#2846)
napi-derive-v3.2.0
8/7/2025
Added
napi-derive-backend-v2.1.0
8/7/2025
Added
- make generator an iterator (#2784)
napi-derive-v3.1.2
7/30/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v2.0.3
7/30/2025
Fixed
- (napi-derive) generate types for threadsafe_function with WEAK=true correctly (#2813)
napi-derive-v3.1.1
7/22/2025
Other
- updated the following local packages: napi-derive-backend
napi-derive-backend-v2.0.2
7/22/2025
Fixed
- (napi-derive) lifetime codegen issue (#2794)
napi-derive-v3.1.0
7/21/2025
Added
- (napi) provide ScopedTask to resolve JsValue with lifetime (#2786)
Other
- pin release-plz action
napi-derive-backend-v2.0.1
7/21/2025
Other
- pin release-plz action
napi-derive@3.0.0-beta.12
7/4/2025
What's Changed
- feat(napi): add napi_ref impl for Object Symbol and External by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2754
- feat(napi): support untyped TypedArray slice by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2762
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.11...napi-derive@3.0.0-beta.12
napi-derive@3.0.0-beta.11
6/30/2025
What's Changed
- fix(napi-derive): generate object key types properly by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2752
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.10...napi-derive@3.0.0-beta.11
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 in https://github.com/napi-rs/napi-rs/pull/2742
- style: run clippy on nightly Rust by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2744
New Contributors
- @camc314 made their first contribution in https://github.com/napi-rs/napi-rs/pull/2742
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
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
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 in https://github.com/napi-rs/napi-rs/pull/2700
- fix(napi-derive): panic while creating type definition when Rust comment contains escape syntax by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2701
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.6...napi-derive@3.0.0-beta.8
napi-derive@3.0.0-beta.5
6/4/2025
What's Changed
- fix: revalidate shared libs if type def not found by @forehalo in https://github.com/napi-rs/napi-rs/pull/2689
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.4...napi-derive@3.0.0-beta.5
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 in https://github.com/napi-rs/napi-rs/pull/2683 - fix: type generation for shared libs by @forehalo in https://github.com/napi-rs/napi-rs/pull/2684
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.3...napi-derive@3.0.0-beta.4
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
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
napi-derive@3.0.0-beta.1
5/19/2025
What's Changed
- fix(napi-derive): #[cfg_attr(feature = "xxx", napi)] by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2640
- style(napi-derive): clippy fix by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2647
- fix(napi-derive): disallow JsValue assign to napi class as a field by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2648
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-beta.0...napi-derive@3.0.0-beta.1
napi-derive@3.0.0-beta.0
5/16/2025
What's Changed
- fix(napi-derive): make_ref with
Vec<&S>cases by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2589 - feat(napi-derive): auto invalid type gen by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2638
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-build@2.1.6...napi-derive@3.0.0-beta.0
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 in https://github.com/napi-rs/napi-rs/pull/2482
- fix(deps): update rust crate convert_case to 0.8 by @renovate in https://github.com/napi-rs/napi-rs/pull/2483
- fix(napi-derive): add
object_from_jsandobject_to_jssupport for enum by @CPunisher in https://github.com/napi-rs/napi-rs/pull/2489
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.31...napi-derive@3.0.0-alpha.29
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 in https://github.com/napi-rs/napi-rs/pull/2439
- feat(napi-derive): impl #[napi(array)] by @lghuahua in https://github.com/napi-rs/napi-rs/pull/2459
- refactor!(napi): TypedArray API surfaces by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2462
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
napi-derive@3.0.0-alpha.25
1/12/2025
What's Changed
- fix(napi-derive): hide the lifetime recursively in codegen by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2426
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.24...napi-derive@3.0.0-alpha.25
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 in https://github.com/napi-rs/napi-rs/pull/2422
- feat(napi): allow create ReadableStream from polyfill by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2424
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.25...napi-derive@3.0.0-alpha.24
napi-derive@3.0.0-alpha.23
1/4/2025
What's Changed
- refactor!(napi): arguments tuple behavior by @adespawn in https://github.com/napi-rs/napi-rs/pull/2401
- fix(napi): Function call with empty tuple should generate empty arguments by @richerfu in https://github.com/napi-rs/napi-rs/pull/2407
- feat(napi): add get and try_get for FunctionCallContext by @richerfu in https://github.com/napi-rs/napi-rs/pull/2409
- feat(napi-derive): support type on #[napi] by @lghuahua in https://github.com/napi-rs/napi-rs/pull/2416
- feat(napi): impl ReadableStream and AsyncGenerator by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2418
New Contributors
- @ganthern made their first contribution in https://github.com/napi-rs/napi-rs/pull/2402
- @lghuahua made their first contribution in https://github.com/napi-rs/napi-rs/pull/2416
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.23...napi-derive@3.0.0-alpha.23
napi-derive@2.16.13
12/3/2024
What Changed
- fix(napi-derive): undefined feature flags in expanded macro by @Brooooooklyn https://github.com/napi-rs/napi-rs/commit/9581f785e02fd08a2be70d064e6eb167ea729176
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.13...napi-derive@2.16.13
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 in https://github.com/napi-rs/napi-rs/pull/2384
- fix(napi-derive): object_from_js / object_to_js for transparent was swapped by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2382
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.21...napi-derive@3.0.0-alpha.21
napi-derive@3.0.0-alpha.20
11/30/2024
What's Changed
- fix(backend): fix type when function as object field by @richerfu in https://github.com/napi-rs/napi-rs/pull/2359
- feat(napi-derive): allow ts_type in napi fn attrs by @Frank-III in https://github.com/napi-rs/napi-rs/pull/2362
- feat(napi-derive): implement
#[napi(transparent)]by @sapphi-red in https://github.com/napi-rs/napi-rs/pull/2376 - chore: Rust 1.83.0 clippy fix by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2378
New Contributors
- @Frank-III made their first contribution in https://github.com/napi-rs/napi-rs/pull/2362
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.19...napi-derive@3.0.0-alpha.20
napi-derive@3.0.0-alpha.19
11/13/2024
What's Changed
- fix(napi-derive): object lifetime compile issue by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2351
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.18...napi-derive@3.0.0-alpha.19
napi-derive@3.0.0-alpha.18
11/7/2024
What's Changed
- chore(napi-derive): remove unused dependency
regexfromnapi-derive-backendby @Adjective-Object in https://github.com/napi-rs/napi-rs/pull/2344
New Contributors
- @Adjective-Object made their first contribution in https://github.com/napi-rs/napi-rs/pull/2344
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.17...napi-derive@3.0.0-alpha.18
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 in https://github.com/napi-rs/napi-rs/pull/2338
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@3.0.0-alpha.0...napi-derive@3.0.0-alpha.17
napi-derive@3.0.0-alpha.16
10/28/2024
What's Changed
- fix(napi-derive): ra warning on Rust 1.82 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2329
- feat(napi): implmenet Set by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2330
- feat(napi): support return *const c_char to JavaScript directly by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2332
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.15...napi-derive@3.0.0-alpha.16
napi-derive@3.0.0-alpha.15
10/21/2024
What's Changed
- refactor!(napi): remove &str FromNapiValue by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2323
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.14...napi-derive@3.0.0-alpha.15
napi-derive@3.0.0-alpha.14
10/13/2024
What's Changed
- feat(napi,napi-derive): allow lifetime in Class by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2298
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.13...napi-derive@3.0.0-alpha.14
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 in https://github.com/napi-rs/napi-rs/pull/2280
- refactor!(napi,napi-derive): add lifetime to ClassInstance by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2286
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.12...napi-derive@3.0.0-alpha.13
napi-derive@3.0.0-alpha.12
9/23/2024
What's Changed
- feat(napi-derive): add async_runtime attribute by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2270
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.11...napi-derive@3.0.0-alpha.12
napi-derive@3.0.0-alpha.11
9/21/2024
What's Changed
- feat(napi-derive): allow napi fn with lifetime by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2266
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@3.0.0-alpha.11...napi-derive@3.0.0-alpha.11
napi-derive@3.0.0-alpha.10
9/20/2024
What's Changed
- refactor(napi-derive): expand order by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2265
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.9...napi-derive@3.0.0-alpha.10
napi-derive@3.0.0-alpha.9
9/19/2024
What's Changed
- fix(derive): fix clippy warning with newer rust version by @richerfu in https://github.com/napi-rs/napi-rs/pull/2262
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.8...napi-derive@3.0.0-alpha.9
napi-derive@2.16.12
9/12/2024
What Changed
- fix(napi-derive): string enum validate logic #2213 @Brooooooklyn
- fix(napi-derive): warning in empty enum codegen #2214 @Brooooooklyn
- fix(napi,napi-derive): ffi lifetime and pointer sound issues #2216 @cathy-sjh
- fix(napi-derive): replace self when function returns
Result#2224 @CPunisher - perf(macro): constructor don't support asynchronous function #2239 @richerfu
- fix(napi-derive): call flush on the BufWriter #2242 @richerfu
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.10...napi-derive@2.16.12
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 in https://github.com/napi-rs/napi-rs/pull/2197
- fix(napi-derive): add more cases for typegen of function args by @CPunisher in https://github.com/napi-rs/napi-rs/pull/2210
- fix(napi-derive): string enum validate logic by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2213
- fix(napi-derive): warning in empty enum codegen by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2214
- fix(napi,napi-derive): ffi lifetime and pointer sound issues by @cathy-sjh in https://github.com/napi-rs/napi-rs/pull/2216
- fix(napi-derive): replace self when function returns
Resultby @CPunisher in https://github.com/napi-rs/napi-rs/pull/2224 - feat: support structured enum with discriminated unions by @CPunisher in https://github.com/napi-rs/napi-rs/pull/2222
- fix(napi-derive): tuple object and enum by @CPunisher in https://github.com/napi-rs/napi-rs/pull/2227
- perf(macro): constructor don't support asynchronous function by @richerfu in https://github.com/napi-rs/napi-rs/pull/2239
- fix(napi-derive): call flush on the BufWriter by @richerfu in https://github.com/napi-rs/napi-rs/pull/2242
New Contributors
- @CPunisher made their first contribution in https://github.com/napi-rs/napi-rs/pull/2210
- @cathy-sjh made their first contribution in https://github.com/napi-rs/napi-rs/pull/2216
- @markovalenko made their first contribution in https://github.com/napi-rs/napi-rs/pull/2220
- @DonIsaac made their first contribution in https://github.com/napi-rs/napi-rs/pull/2233
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.7...napi-derive@3.0.0-alpha.8
napi-derive@2.16.11
8/10/2024
What Changed
- fix(napi-derive): add more cases for typegen of function args by @CPunisher #2210
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.10...napi-derive@2.16.11
napi-derive@2.16.10
7/23/2024
What Changed
- fix(napi-derive): call flush on the BufWriter by @lbarthon in https://github.com/napi-rs/napi-rs/pull/2195
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.9...napi-derive@2.16.10
napi-derive@3.0.0-alpha.7
7/23/2024
What's Changed
- fix(napi-derive): call flush on the BufWriter by @lbarthon in https://github.com/napi-rs/napi-rs/pull/2195
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.6...napi-derive@3.0.0-alpha.7
napi-derive@2.16.9
7/16/2024
What's Changed
- fix: napi getter macros by @SyMind in https://github.com/napi-rs/napi-rs/pull/2188
New Contributors
- @SyMind made their first contribution in https://github.com/napi-rs/napi-rs/pull/2188
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.8...napi-derive@2.16.9
napi-derive@3.0.0-alpha.6
7/16/2024
What's Changed
- fix: napi getter macros by @SyMind in https://github.com/napi-rs/napi-rs/pull/2188
New Contributors
- @SyMind made their first contribution in https://github.com/napi-rs/napi-rs/pull/2188
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
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
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 in https://github.com/napi-rs/napi-rs/pull/2161
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@3.0.0-alpha.2...napi-derive@3.0.0-alpha.3
napi-derive@2.16.4
5/6/2024
What's Changed
- style: fix clippy errors by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2090
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.3...napi-derive@2.16.4
napi-derive@2.16.3
4/18/2024
What Changed
- fix(napi-derive): bail the unexpected factory directive by @Brooooooklyn #2051
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.16.4...napi-derive@2.16.3
napi-derive@2.16.2
4/10/2024
What's Changed
- feat(napi-derive): enhance the error messages in object validator by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/2034
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.1...napi-derive@2.16.2
napi-derive@2.16.1
3/26/2024
What's Changed
- feat(napi-derive): add optional enum_string case conversion by @andrewtoth in https://github.com/napi-rs/napi-rs/pull/1995
New Contributors
- @andrewtoth made their first contribution in https://github.com/napi-rs/napi-rs/pull/1995
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.16.0...napi-derive@2.16.1
napi-derive@2.16.0
2/28/2024
What's Changed
- feat(napi-derive): add use_nullable attribute by @sup39 in https://github.com/napi-rs/napi-rs/pull/1971
- style(napi-derive): clippy fix by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1976
- fix(napi-derive): HashMap/IndexMap and slice generated types by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1977
- fix(napi-derive): wrong dependency condition by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1980
New Contributors
- @sup39 made their first contribution in https://github.com/napi-rs/napi-rs/pull/1971
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.4...napi-derive@2.16.0
napi-derive@2.15.1
2/8/2024
What's Changed
- fix(napi-derive): serde Number typing by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1941
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.15.1...napi-derive@2.15.1
napi-derive@2.15.0
1/26/2024
What's Changed
- feat(napi): new Function/FunctionRef API by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1913
- fix(napi-derive): JsArrayBuffer generated type by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1922
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.6...napi-derive@2.15.0
napi-derive@2.14.6
12/27/2023
What's Changed
- fix(napi-derive): proc-macro crash on enum by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1870
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.5...napi-derive@2.14.6
napi-derive@2.14.5
12/27/2023
What's Changed
- fix(napi-derive): catch_unwind on constructor by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1869
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.24...napi-derive@2.14.5
napi-derive@2.14.4
12/13/2023
What's Changed
- fix(napi-derive): upgrade syn by @forehalo in https://github.com/napi-rs/napi-rs/pull/1849
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.3...napi-derive@2.14.4
napi-derive@2.14.3
12/11/2023
What's Changed
- fix(napi-derive,cli): register function cross crates by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1848
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@3.0.0-alpha.15...napi-derive@2.14.3
napi-derive@2.14.2
11/20/2023
What's Changed
- fix(napi-derive): compile warning by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1820
- fix(napi): compile error for wasm32-unknown-unknown target by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1822
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.14.1...napi-derive@2.14.2
napi-derive@2.14.1
11/8/2023
What's Changed
- fix(napi-derive): async task void output type by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1795
- fix(napi-derive): async task optional output type by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1796
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-sys@2.3.0...napi-derive@2.14.1
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 in https://github.com/napi-rs/napi-rs/pull/1701
- feat: integrate with emnapi, support wasm32-wasi-preview1-threads target by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1669
napi-derive@2.12.5
4/26/2023
What's Changed
- fix(napi-derive): increase initial ref count in async fn by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1577
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.4...napi-derive@2.12.5
napi-derive@2.12.4
4/25/2023
What's Changed
- feat: clean napi-derive noop feature code path by @forehalo in https://github.com/napi-rs/napi-rs/pull/1571
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.12.5...napi-derive@2.12.4
napi-derive@2.12.3
4/11/2023
Core features
#[napi(string_enum)]
pub enum Status {
Pristine,
Loading,
Ready,
}
⬇️⬇️⬇️⬇️⬇️
export const enum Status {
Pristine = 'Pristine',
Loading = 'Loading',
Ready = 'Ready'
}
What's Changed
- feat(napi-derive): add support for string enums by @nebarf in https://github.com/napi-rs/napi-rs/pull/1551
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.2...napi-derive@2.12.3
napi-derive@2.12.2
3/22/2023
What's Changed
- fix(cli,napi-derive): backward compatible with older cli with #1531 by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1536
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.1...napi-derive@2.12.2
napi-derive@2.12.1
3/21/2023
What's Changed
- fix(cli,napi-derive): re-export types from shared crate by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1531
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.12.0...napi-derive@2.12.1
napi-derive@2.12.0
3/21/2023
What's Changed
- feat: export registers in wasm32 target by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1529
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.11.4...napi-derive@2.12.0
napi-derive@2.11.2
3/14/2023
What's Changed
- chore(napi-derive): remove thread_local from dependenies by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1506
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.11.1...napi-derive@2.11.2
napi-derive@2.11.1
2/18/2023
Changes
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.14.8...napi-derive@2.11.1
napi-derive@2.10.1
1/31/2023
What's Changed
- fix(napi-derive): incorrect Task output type in some cases by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1466
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.10.0...napi-derive@2.10.1
napi-derive@2.10.0
1/24/2023
Highlights
ThreadsafeFunction as params and object fields
#[napi]
pub fn accept_callback(callback: ThreadsafeFunction<u32>) {
std::thread::spawn(move || {
callback.call(200);
});
}
⬇️⬇️⬇️⬇️⬇️
export function acceptCallback(callback: (err: Error | null, value: number) -> any)
Disable ToNapiValue for Object
With the object_to_js = false filed, the ThreadsafeFunction could be set as an Object field.
#[napi(object, object_to_js = false)]
pub struct Options {
pub enable_jsx: bool,
pub on_data: ThreadsafeFunction<Vec<u8>>,
}
What's Changed
- feat(napi-derive): generate ThreadsafeFunction types by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1449
- feat(napi-derive): allow partial implement From/To Napivalue for Object by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1448
- chore(napi-derive): allow unsafe async &mut self by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1453
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.14.4...napi-derive@2.10.0
napi-derive@2.9.5
1/14/2023
What's Changed
- fix(napi-derive): fix union type generation for ts function notation by @h-a-n-a in https://github.com/napi-rs/napi-rs/pull/1439
Full Changelog: https://github.com/napi-rs/napi-rs/compare/@napi-rs/cli@2.14.3...napi-derive@2.9.5
napi-derive@2.9.4
1/13/2023
What's Changed
- fix(napi-derive): remove ts type on field attrs for feature
noopby @h-a-n-a in https://github.com/napi-rs/napi-rs/pull/1436
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.10.6...napi-derive@2.9.4
napi-derive@2.9.3
12/9/2022
What's Changed
- Better error message for
#[napi(catch_unwind)]by @simonvandel in https://github.com/napi-rs/napi-rs/pull/1383
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.9.2...napi-derive@2.9.3
napi-derive@2.9.1
9/8/2022
What's Changed
- fix(napi-derive): should not generate this types for Constructor/Getter/Setter by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1291
- pin minimum usable version of dependency syn by @mat-if in https://github.com/napi-rs/napi-rs/pull/1293
New Contributors
- @mat-if made their first contribution in https://github.com/napi-rs/napi-rs/pull/1293
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.9.0...napi-derive@2.9.1
napi-derive@2.9.0
8/23/2022
What's Changed
- fix(napi-derive): fix macro expansion naming shadow by @JSerFeng in https://github.com/napi-rs/napi-rs/pull/1278
- feat(napi-derive): catch_unwind attribute by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1280
New Contributors
- @JSerFeng made their first contribution in https://github.com/napi-rs/napi-rs/pull/1278
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.8.0...napi-derive@2.9.0
napi-derive@2.8.0
8/17/2022
What's Changed
- feat(napi-derive): implement instance_of for Class by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1272
- feat(napi-derive): support inject
This<Value>into raw function by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1273
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.7.0...napi-derive@2.8.0
napi-derive@2.7.0
8/7/2022
What's Changed
- feat(napi-derive): support set property attribute in napi macro by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1257
- feat(napi-derive): Support
#[napi(strict)]on&Tand&mut Tby @Hywan in https://github.com/napi-rs/napi-rs/pull/1238
napi-derive@2.6.0
7/6/2022
What's Changed
- feat(napi-derive): support return_if_invalid by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1219
- feat(napi-derive): allow injecting this in class method by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1221
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.5.0...napi-derive@2.6.0
napi-derive@2.5.0
6/10/2022
What's Changed
- Add
rust-versionfield toCargo.tomls by @messense in https://github.com/napi-rs/napi-rs/pull/1190 - feat(napi-derive): add ts_arg_type attribute to override individual args on functions by @jose-acevedoflores in https://github.com/napi-rs/napi-rs/pull/1192
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.4.1...napi-derive@2.5.0
napi-derive@2.3.3
4/27/2022
What's Changed
- fix(napi-derive): invalid TypeScript return type by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1155
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.3.2...napi-derive@2.3.3
napi-derive@2.3.2
4/27/2022
What's Changed
- fix(napi-derive): should transform struct case on Impl by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1148
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.3.1...napi-derive@2.3.2
napi-derive@2.3.1
4/25/2022
What's Changed
- Add build option to not include the header in dts file by @ceifa in https://github.com/napi-rs/napi-rs/pull/1140
- Simplify the optional values in generated declaration file by @ceifa in https://github.com/napi-rs/napi-rs/pull/1141
- Add u64 to BigInt conversion through From trait by @ceifa in https://github.com/napi-rs/napi-rs/pull/1143
New Contributors
- @ceifa made their first contribution in https://github.com/napi-rs/napi-rs/pull/1140
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.3.1...napi-derive@2.3.1
napi-derive@2.1.0
2/9/2022
What's Changed
- feat(napi-derive): add
ts_typeattribute to override typescript type for fields in structs by @jose-acevedoflores in https://github.com/napi-rs/napi-rs/pull/1041 - fix(napi-derive): an
Optionin front of a required parameter is no … by @JoostK in https://github.com/napi-rs/napi-rs/pull/1043 - feat(napi-derive):
get_js_functionby @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1048
New Contributors
- @JoostK made their first contribution in https://github.com/napi-rs/napi-rs/pull/1043
- @AlCalzone made their first contribution in https://github.com/napi-rs/napi-rs/pull/1052
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.8...napi-derive@2.1.0
napi-derive@2.0.8
1/18/2022
What's Changed
- Correctly escape backslash in type definition doc comments by @timfish in https://github.com/napi-rs/napi-rs/pull/1034
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.7...napi-derive@2.0.8
napi-derive@2.0.7
1/7/2022
What's Changed
- fix(napi-derive): BigInt in TypeScript should be bigint by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1015
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.6...napi-derive@2.0.7
napi-derive@2.0.6
1/6/2022
What's Changed
- fix(napi-derive): should throw rather than panic if object mismatched by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1010
- fix(napi-derive): implement missing trait for JsClass reference by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1011
- chore(napi-derive): update convert_case by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/1012
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.5...napi-derive@2.0.6
napi-derive@2.0.5
1/4/2022
What's Changed
- Unraw rust identifiers before sending it to js. by @fluxxu in https://github.com/napi-rs/napi-rs/pull/987
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.4...napi-derive@2.0.5
napi-derive@2.0.4
12/24/2021
What's Changed
- fix(napi-derive): missing wrap in NAPI-RS created class instance by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/967
- fix(napi-derive): ignore warnings on generated fn by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/969
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.3...napi-derive@2.0.4
napi-derive@2.0.3
12/24/2021
What's Changed
- Fix return instance from non-default constructor
Classby @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/966
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.2...napi-derive@2.0.3
napi-derive@2.0.2
12/23/2021
What's Changed
- fix(napi-derive): return
Class instanceinfnby @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/964
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.1...napi-derive@2.0.2
napi-derive@2.0.1
12/21/2021
What's Changed
- fix(napi-derive-backend): Null and Undefined return type by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/940
- Add
skip_typescriptattribute for macro by @h-a-n-a in https://github.com/napi-rs/napi-rs/pull/947
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.0...napi-derive@2.0.1
napi-derive@2.0.0-beta.5
12/8/2021
Bugfix
- Missing crate prefix in generated
classhttps://github.com/napi-rs/napi-rs/commit/cd7c7a342f1c74f9a31a3499aac98dd8303d6d10 @Brooooooklyn
napi-derive@2.0.0-beta.4
12/8/2021
Feature
- Add
noopfeature to disable codegen of#[napi]@Brooooooklyn
This feature is useful for sharing code between Node.js native addon and wasm
napi-derive@2.0.0-beta.3
12/7/2021
What's Changed
- Skip set object property if it is
Nonehttps://github.com/napi-rs/napi-rs/pull/917 @Brooooooklyn
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi@2.0.0-beta.3...napi-derive@2.0.0-beta.3
napi-derive@2.0.0-beta.2
12/6/2021
What's Changed
- fix(napi-derive): disable register logic in rust test by @Brooooooklyn in https://github.com/napi-rs/napi-rs/pull/906
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.0-beta.1...napi-derive@2.0.0-beta.2
napi-derive@2.0.0-beta.1
12/2/2021
Bugfix
- Correct the aliased type generation https://github.com/napi-rs/napi-rs/pull/902/commits/b2fea4d5b3aef4a4df4ccecca7cf7f5a30659e40 @Brooooooklyn
- Do not unwrap
Optionvalue in object getter if the type of field is Optionhttps://github.com/napi-rs/napi-rs/pull/902/commits/6d4b4af36f9c37ed1cff694f2a267668a1b843de @Brooooooklyn
napi-derive@2.0.0-alpha.10
11/29/2021
Features
- Output Rust doc comments in definitions as jsdoc comments #885 @timfish
/// `constructor` option for `struct` requires all fields to be public,
/// otherwise tag impl fn as constructor
/// #[napi(constructor)]
#[napi]
pub struct Animal {
#[napi(readonly)]
/// Kind of animal
pub kind: Kind,
name: String,
}
#[napi]
impl Animal {
/// This is the constructor
#[napi(constructor)]
pub fn new(kind: Kind, name: String) -> Self {
Animal { kind, name }
}
/// This is a factory method
#[napi(factory)]
pub fn with_kind(kind: Kind) -> Self {
Animal {
kind,
name: "Default".to_owned(),
}
}
#[napi(getter)]
pub fn get_name(&self) -> &str {
self.name.as_str()
}
#[napi(setter)]
pub fn set_name(&mut self, name: String) {
self.name = name;
}
/// This is a
/// multi-line comment
/// with an emoji 🚀
#[napi]
pub fn whoami(&self) -> String {
match self.kind {
Kind::Dog => {
format!("Dog: {}", self.name)
}
Kind::Cat => format!("Cat: {}", self.name),
Kind::Duck => format!("Duck: {}", self.name),
}
}
#[napi]
/// This is static...
pub fn get_dog_kind() -> Kind {
Kind::Dog
}
}
⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️
/**
* `constructor` option for `struct` requires all fields to be public,
* otherwise tag impl fn as constructor
* #[napi(constructor)]
*/
export class Animal {
/** Kind of animal */
readonly kind: Kind
/** This is the constructor */
constructor(kind: Kind, name: string)
/** This is a factory method */
static withKind(kind: Kind): Animal
get name(): string
set name(name: string)
/**
* This is a
* multi-line comment
* with an emoji 🚀
*/
whoami(): string
/** This is static... */
static getDogKind(): Kind
}
napi-derive@2.0.0-alpha.9
11/26/2021
Features
- Support rename function args and return type #884 @Brooooooklyn
use napi::bindgen_prelude::*;
use napi_derive::napi;
#[napi(ts_args_type = "a: { foo: number }", ts_return_type = "string[]")]
fn ts_rename(a: Object) -> Result<Object> {
a.get_property_names()
}
⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️⬇️
export function tsRename(a: { foo: number }): string[]
napi-derive@2.0.0-alpha.6
11/16/2021
What's Changed
- Generate TypeScript
optional typesfrom RustOption
#[napi]
fn map_option(val: Option<u32>) -> Option<u32> {
val.map(|v| v + 1)
}
export function mapOption(val?: number | undefined | null): number | undefined | null
#[napi]
pub struct Context {
data: String,
pub maybe_need: Option<bool>,
}
export class Context {
maybeNeed?: boolean | undefined | null
}
#[napi]
fn read_file<T: Fn(Result<()>, Option<String>) -> Result<()>>(callback: T) {
match read_file_content() {
Ok(s) => callback(Ok(()), Some(s)),
Err(e) => callback(Err(e), None),
}
.unwrap();
}
export function readFile(callback: (arg0: Error | undefined, arg1?: string | undefined | null) => void): void
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.0-alpha.5...napi-derive@2.0.0-alpha.6
napi-derive@2.0.0-alpha.5
11/16/2021
What's Changed
- fix(napi-derive-backend): JsBuffer should map to Buffer type https://github.com/napi-rs/napi-rs/commit/b8bcdd9c0459cbaf255387da2c2373216dc8cd87 @Brooooooklyn
Full Changelog: https://github.com/napi-rs/napi-rs/compare/napi-derive@2.0.0-alpha.4...napi-derive@2.0.0-alpha.5
napi-derive@2.0.0-alpha.3
11/10/2021
Bugfix
- fix(napi-derive-backend): wrong restrict on Result return type 413a555 @Brooooooklyn
napi-derive-backend@1.0.1
10/1/2021
Perf
- ignore callback info while no arguments e69a763
napi-derive@1.1.0
4/1/2021
Feature
- refactor(napi): split NapiRaw trait from NapiValue https://github.com/napi-rs/napi-rs/pull/524