PackageTrack
Sign in Get early access

napi

N-API bindings

3.12.2 49M downloads/mo #1242 most downloaded on crates.io napi-rs/napi-rs

What this package is like to depend on

Last release 2 days ago

21 Aug 2026

Ships fairly regularly

a new release about every 2 weeks

Rarely documented

notes for 42 of 173 stable releases

4 versions withdrawn

withdrawn after publishing

9 years old

255 releases · first in 2017

32 releases in the last 12 months

see the full history below

Release timeline

255 releases · Nov 2017 to Aug 2026
2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 255
  1. 3.12.2 21 Aug 2026
    Release notes

    Fixed

    • (napi) memory safety in PromiseRaw callbacks and AbortSignal conversion (#3458)
    Open source →
    Release notes

    Fixed

    • (napi) memory safety in PromiseRaw callbacks and AbortSignal conversion (#3458)
    Open source →
  2. 3.12.1 10 Aug 2026
    Release notes

    Fixed

    • (napi) stop unloading addons with live native code, preserve non-Error rejections, and add the wasm teardown barrier (#3423)
    • (wasi) avoid randomness during module registration (#3447)
    Open source →
    Release notes

    Fixed

    • (napi) stop unloading addons with live native code, preserve non-Error rejections, and add the wasm teardown barrier (#3423)
    • (wasi) avoid randomness during module registration (#3447)
    Open source →
  3. 3.12.0 28 Jul 2026
    Release notes

    Added

    • (cli) support non-threaded WASI targets (#3353)
    Open source →
  4. 3.12.0-alpha.0 21 Jul 2026 pre-release withdrawn

    Nothing published for this version

  5. 3.11.0 21 Jul 2026
    Release notes

    Added

    • unforgeable #[napi] class identity via Node object type tags (#3405)
    • (napi) add pluggable async runtime backend (#3352)

    Fixed

    • (napi) release JsDeferred tsfn on null-env teardown drain (#3404 follow-up) (#3408)
    • (napi) guard JsDeferred against env teardown (#3404)
    • (napi) register the async runtime env cleanup hook per registration (#3400)

    Other

    • (napi) share tracing callsite (#3409)
    Open source →
  6. 3.10.5 13 Jul 2026
    Release notes

    Fixed

    • (napi) release FunctionRef off the JS thread via the custom-GC TSFN (#3394)
    Open source →
  7. 3.10.4 12 Jul 2026
    Release notes

    Fixed

    • (cli) align build and project configuration (#3387)

    Other

    • (readme) point sponsors image at napi.rs/sponsors.svg (#3379)
    Open source →
  8. 3.10.3 04 Jul 2026
    Release notes

    Fixed

    • (napi) preserve the JS error object when cloning an Error off-thread (#3375)
    Open source →
  9. 3.10.2 04 Jul 2026
    Release notes

    Fixed

    • (napi) keep message and cause when cloning a JS-exception Error off-thread (#3373)
    Open source →
  10. 3.10.1 03 Jul 2026
    Release notes

    Fixed

    • (napi) release Error's exception reference via the custom GC when dropped off-thread. (#3370)
    • (napi) stop ref exception object in ThreadsafeFunction sync-throw path on wasm targets (#3369)

    Other

    • (napi) share class accessor trampolines (#3364)
    • optimize object field raw property access (#3365)
    Open source →
  11. 3.10.0 01 Jul 2026
    Release notes

    Added

    • (napi) implement To/FromNapiValue for OsString, OsStr, Path and PathBuf (#3339)

    Fixed

    • (napi) route custom-GC Buffer/TypedArray cross-thread drops through the owning isolate (#3357) (#3360)
    Open source →
  12. 3.9.4 24 Jun 2026
    Release notes

    Other

    • (napi-derive) outline #[napi(object)] field-error decoration (#3338)
    Open source →
  13. 3.9.3 18 Jun 2026
    Release notes

    Fixed

    • (napi) sync referred flag when creating a weak ThreadsafeFunction (#3337)

    Other

    • (napi) outline non-generic core of ThreadsafeFunction::create (#3334)
    Open source →
  14. 3.9.2 14 Jun 2026
    Release notes

    Fixed

    • (napi) ReadableStream Reader loses chunks and aborts on errored streams (#3328)
    Open source →
  15. 3.9.1 10 Jun 2026
    Release notes

    Fixed

    • (napi) unify Reference finalize callbacks on Arc (Rc/Arc type confusion) (#3313)
    • (napi) zero-copy external strings, fix WASI double-free (#3308)
    • (napi) experimental node_api_create_object_with_properties (#3304)
    Open source →
  16. 3.9.0 13 May 2026
    Release notes

    Added

    • (napi) add ThreadsafeFunction::call_async_catch to handle errors in callback functions (#3291)

    Fixed

    • (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)
    Open source →
  17. 3.8.6 29 Apr 2026
    Release notes

    Fixed

    • (deps) update rust crate ctor to 0.11.0 (#3270)
    • (napi) Convert #[ctor] calls to declarative form to remove all features (#3257)

    Other

    • (napi) skip duplicate validation (#3268)
    • (napi) clarify unsafe function invariants (#3267)
    Open source →
  18. 3.8.5 15 Apr 2026
    Release notes

    Fixed

    • (napi) preserve generator class methods (#3231)
    • (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) handle ThreadsafeFunction callback errors gracefully during shutdown (#3188)
    • (napi) populate Error::cause from ThreadsafeFunction callee-handled callbacks (#3162)
    • correct typo in Either error message ("non" → "none") (#3183)
    Open source →
  19. 3.8.4 28 Mar 2026
    Release notes

    Fixed

    • (deps) update rust crate ctor to v0.8.0 (#3170)
    • (deps) update rust crate ctor to v0.7.0 (#3169)
    • (napi) check for null error_message in ExtendedErrorInfo::try_from (#3158)
    • (napi) skip nullish error causes when converting from Unknown (#3143)
    Open source →
  20. 3.8.3 14 Feb 2026
    Release notes

    Fixed

    • (napi) prevent async iterator use-after-free during GC (#3120)

    Other

    • replace BufferRef mention with BufferSlice (#3112)
    Open source →
  21. 3.8.2 08 Jan 2026
    Release notes

    Fixed

    • (napi) memory leak in async fn (#3089)
    • (napi) implement TypeName for ArrayBuffer (#3087)
    Open source →
  22. 3.8.1 30 Dec 2025
    Release notes

    Fixed

    • (napi) wasi debug compile error (#3081)
    Open source →
  23. 3.8.0 30 Dec 2025
    Release notes

    Added

    • (napi) support any object types in Stream(#2854)
    • (napi-derive) add #[napi(async_iterator)] macro attribute (#3072)

    Fixed

    • (napi) validate status before copying data in env arraybuffer fallback (#3077)
    • (napi) validate status before copying in remaining TypedArray fallback paths (#3076)
    • (napi) validate status before copying in TypedArray owned ToNapiValue fallback (#3080)
    • (napi) validate status before copying in ArrayBuffer ToNapiValue fallback (#3079)
    • (napi) skip debug buffer tracking on wasm targets (#3078)
    Open source →
  24. 3.7.1 19 Dec 2025
    Release notes

    Other

    • clippy fix for Rust 1.92.0 (#3058)
    Open source →
  25. 3.7.0 09 Dec 2025
    Release notes

    Added

    • (napi) provide unsafe as_mut on ArrayBuffer (#3055)
    • (napi) support Promise.resolve/reject (#3053)
    Open source →
  26. 3.6.1 02 Dec 2025
    Release notes

    Other

    • updated the following local packages: napi-sys
    Open source →
  27. 3.6.0 02 Dec 2025
    Release notes

    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) bigInt comparison (#3039)
    • (napi) shutdown runtime at env cleanup on windows (#3026)

    Other

    • (napi) add back pub NODE_VERSION_* (#3046)
    • (sys) add back non dyn-symbols behavior (#3045)
    • (napi) add Eq and PartialEq trait to BigInt (#3033)
    • update MSRV in README.md (#3023)
    Open source →
  28. 3.5.2 10 Nov 2025
    Release notes

    Other

    • updated the following local packages: napi-build
    Open source →
  29. 3.5.1 07 Nov 2025
    Release notes

    Fixed

    • (napi) TypedArraySlice creation (#3004)

    Other

    • (napi) Promise and ThreadsafeFunction::call_async don't require tokio (#2998)
    Open source →
  30. 3.5.0 06 Nov 2025
    Release notes

    Added

    • (sys) use libloading to load napi symbols at runtime on all platform (#2996)

    Fixed

    • (napi) memory leak in PromiseRaw cleanup callback (#2995)

    Other

    • (napi) mark tsfn data as pub and split SendableResolver to indent file (#2992)
    • (napi) mark SendableResolver and PromiseRaw as pub (#2981)
    • add sponsors
    Open source →
  31. 3.4.0 24 Oct 2025
    Release notes

    Added

    • (napi) add on_abort for AbortSignal (#2942)
    • (cli) add support for loongarch64-unknown-linux-gnu (#2887)

    Fixed

    • (napi) stop ref error object in wasm targets (#2975)
    • (deps) update rust crate ctor to v0.6.0 (#2951)
    • (napi) cleanup memory issues (#2949)
    • (napi) node_api_create_external_string_utf16 on wasm (#2912)

    Other

    • (napi) bump rust-version (#2966)
    Open source →
  32. 3.3.0 08 Sep 2025
    Release notes

    Added

    • (napi) implement from_static on JsStringLatin1 and JsStringUtf16 (#2908)
    • (napi) support external JsStringLatin1 and JsStringUtf16 (#2898)

    Fixed

    • (napi) JsStringUtf8 memory leak (#2911)

    Other

    • (cli) show NAPI options on new command (#2892)
    Open source →
  33. 3.2.4 16 Aug 2025
    Release notes

    Other

    • (napi) extends the Set types interoperability (#2875)
    Open source →
  34. 3.2.3 13 Aug 2025
    Release notes

    Fixed

    • (napi) link issue on cargo test --features noop (#2872)
    • (deps) update rust crate ctor to v0.5.0 (#2865)
    Open source →
  35. 3.2.2 08 Aug 2025
    Release notes

    Fixed

    • (napi) no need to cleanup thread_local stuff (#2851)
    Open source →
  36. 3.2.1 08 Aug 2025 withdrawn
    Release notes

    Fixed

    • (napi) ensure tokio runtime is initialized for dlopen (#2850)
    • (napi) handle the return_if_invalid for Array param (#2846)
    Open source →
  37. 3.2.0 07 Aug 2025
    Release notes

    Added

    • (napi) add ScopeGenerator trait (#2831)
    • make generator an iterator (#2784)
    • (napi) add Error.cause support to napi::Error (#2829)

    Fixed

    • (napi) user_defined_rt can only be used once (#2841)
    Open source →
  38. 3.1.6 01 Aug 2025
    Release notes

    Fixed

    • (napi) async task finally is not called (#2824)
    Open source →
  39. 3.1.5 31 Jul 2025
    Release notes

    Fixed

    • (napi) relax the lifetime restriction in PromiseRaw callbacks (#2819)
    Open source →
  40. 3.1.4 30 Jul 2025
    Release notes

    Fixed

    • (napi) the generic trait rectiction of Env::spawn should be ScopedTask (#2817)
    Open source →
  41. 3.1.3 24 Jul 2025
    Release notes

    Other

    • (napi) optimize HashMap allocation in FromNapiValue implementation for HashMap (#2796)
    Open source →
  42. 3.1.2 22 Jul 2025
    Release notes

    Other

    • (napi) use Vec with_capacity in FromNapiValue (#2793)
    Open source →
  43. 3.1.1 21 Jul 2025
    Release notes

    Other

    • Revert "fix(napi): callback should be Fn rather than FnOnce" (#2791)
    Open source →
  44. 3.1.0 21 Jul 2025
    Release notes

    Added

    • (napi) provide ScopedTask to resolve JsValue with lifetime (#2786)

    Other

    • (napi) add UnwindSafe and RefUnwindSafe back to AbortSignal and AsyncWorkPromise (#2789)
    • pin release-plz action
    Open source →
  45. 3.0.0 17 Jul 2025

    Nothing published for this version

  46. 3.0.0-beta.12 04 Jul 2025 pre-release

    Nothing published for this version

  47. 3.0.0-beta.11 30 Jun 2025 pre-release

    Nothing published for this version

  48. 3.0.0-beta.10 25 Jun 2025 pre-release

    Nothing published for this version

  49. 3.0.0-beta.9 24 Jun 2025 pre-release

    Nothing published for this version

  50. 3.0.0-beta.8 08 Jun 2025 pre-release

    Nothing published for this version

  51. 3.0.0-beta.7 04 Jun 2025 pre-release

    Nothing published for this version

  52. 3.0.0-beta.6 04 Jun 2025 pre-release

    Nothing published for this version

  53. 3.0.0-beta.5 04 Jun 2025 pre-release

    Nothing published for this version

  54. 3.0.0-beta.4 03 Jun 2025 pre-release

    Nothing published for this version

  55. 3.0.0-beta.3 29 May 2025 pre-release

    Nothing published for this version

  56. 3.0.0-beta.2 22 May 2025 pre-release

    Nothing published for this version

  57. 3.0.0-beta.1 19 May 2025 pre-release

    Nothing published for this version

  58. 3.0.0-beta.0 16 May 2025 pre-release

    Nothing published for this version

  59. 3.0.0-alpha.33 17 Mar 2025 pre-release

    Nothing published for this version

  60. 3.0.0-alpha.32 16 Mar 2025 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive