Skip to content

chore(deps): update rust crate napi to v3.16.3 - #181

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/napi-3.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/napi-3.x

Conversation

@renovate

@renovate renovate Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
napi workspace.dependencies minor =3.8.3 → =3.16.3

Release Notes

napi-rs/napi-rs (napi)

v3.16.3

Compare Source

Fixed
  • (napi) nest dotted namespaces at runtime (#​3735)
  • (napi) retain JS values and names stored in Property (#​3726)
  • (napi) deserialize whole numbers outside the i64 range as f64 (#​3705)
  • (cli,macro,napi) harden type-def cache keying, locking, rollback, and emission (#​3725)
Other
  • (napi) transcode non-ASCII strings before creating them (#​3732)
  • (napi) drop the global locks from class method calls (#​3730)
  • (napi) skip the borrow scope allocation on calls that don't borrow (#​3731)
  • (napi) reuse property keys when reading maps (#​3733)
  • Merge commit from fork
  • Merge commit from fork
  • (napi) omit unused JS callback in custom-GC TSFN and reverse-scan env registrations (#​3728)
  • (napi) polish future erasure bridge, docs, and tests (#​3723)
  • (napi) erase the future type before the future → Promise bridge (#​3717)
  • (napi) JsStringUtf8 avoid memory copies in into_owned and take (#​3711)
  • (napi) JsStringUtf8 contain a String (#​3710)
  • (napi) owned_string_without_coercion use unchecked string conversion (#​3709)
  • (napi) avoid zero-initializing string conversion buffers (#​3708)
  • (napi) drop mem::forget round-trip in JsString::into_* (#​3707)
  • (napi) clarify naming and comments in string conversions (#​3706)

v3.16.2

Compare Source

Fixed
  • (napi) per-env teardown for multi-load addons and leak-free AsyncTask promises (#​3689)

v3.16.1

Compare Source

Fixed
  • (napi) avoid a deadlock when a worker loads the addon during block_on (#​3670)

v3.16.0

Compare Source

Added
  • (napi) support well-known symbol keys for class members (#​3665)
  • (napi) support symbol_for keys for class members (#​3661)
Fixed
  • (napi) compact class identity metadata (#​3667)
  • (napi) keep the registered classes when a later load fails (#​3666)
  • (napi) free define_class closures, honour static flags, avoid TS1016 in constructors (#​3662)
  • (napi) free threadsafe function call data when the call fails (#​3656)

v3.15.0

Compare Source

Added
  • (napi) cancel a ReadableStream through its Reader, and fix ReadableStream::cancel (#​3623)
Fixed
  • (napi) set the custom GC aborted flag before Node closes its tsfn (#​3626)
  • (napi) TypedArray input leaks and compat buffer copies on wasm (#​3612)
  • (napi) copy managed array inputs (#​3607)
  • (napi) reject a value of another class on builds without type tags (#​3610)
  • (napi) drop unadopted class value and reset factory flag on failed conversion (#​3603)
  • (napi) join the Tokio runtime threads at env teardown (#​3592)
  • (napi) keep borrowed class args alive across AsyncTask/AsyncBlock (#​3584)
Other
  • (cli) cover FreeBSD arm64 (#​3620)
  • (cli) record the design behind the threaded WASI heap sync (#​3581)

v3.14.2

Compare Source

Fixed
  • (napi) register the wasm cleanup through the env cleanup hook (#​3571)
  • (napi) own NativeBorrowScope storage via NonNull to fix aliasing violation (#​3573)
  • (napi) bound serde_json::Value conversion depth at 128 levels (#​3568)

v3.14.1

Compare Source

Fixed
  • (napi) create objects with napi_define_properties on every Node version (#​3560)

v3.14.0

Compare Source

Added
  • (napi) lock the allocator on threaded WASI and never hang after a worker crash (#​3552)

v3.13.0

Compare Source

Added
  • (async-runtime) offer the MultiThread flavor on wasm32-wasip1-threads (#​3541)
Fixed
  • (napi) validate native payload provenance for External and instance data (#​3540)

v3.12.7

Compare Source

Fixed
  • (napi) guard AsyncTask completion against env teardown (#​3536)

v3.12.6

Compare Source

Fixed
  • (cli) drain outstanding async work before disposing a WASI binding (#​3528)

v3.12.5

Compare Source

Fixed
  • fatal_exception noop in optimized builds (#​3509)

v3.12.4

Compare Source

Security
  • Object::unwrap and Object::remove_wrapped (and the deprecated Env::unwrap / Env::drop_wrapped) read a TypeId out of a payload that is not a TaggedObject, giving a heap out-of-bounds read and a JavaScript-forgeable out-of-bounds write; payload provenance is now validated before dereferencing. See GHSA-rhpj-pggq-896v, fixed in #​3506.
  • The serde deserializer reached unreachable!() on ordinary JavaScript values and aborted the process instead of returning an error. See GHSA-f334-75xc-qxv3, fixed in #​3507.
  • ArrayBuffer::from_external, TypedArraySlice::from_external and Uint8ClampedSlice::from_external (plus the compat-mode Env::create_arraybuffer_with_borrowed_data) built their slice from freed memory on runtimes without external buffers. See GHSA-32mm-r9wp-hrvc, fixed in #​3503.
Fixed
  • (napi) return errors from the serde deserializer for unexpected JS value shapes (#​3507)
  • (napi) validate wrapped payload provenance in Object::unwrap/remove_wrapped (#​3506)
  • (napi) point from_external slices at the engine-owned copy after finalize reclaims the source (#​3503)

v3.12.3

Compare Source

Fixed
  • CurrentThread waker-stack deadlocks and threadless-wasm Buffer detachment (#​3489)
  • (napi) catch panics in closure trampolines instead of aborting (#​3473)
Other
  • (napi) keep anyhow error cause when converting (#​3477)
  • (napi) outline threadsafe callback dispatch (#​3465)
  • (napi) outline class instance construction (#​3464)

v3.12.2

Compare Source

Fixed
  • (napi) memory safety in PromiseRaw callbacks and AbortSignal conversion (#​3458)

v3.12.1

Compare Source

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)

v3.12.0

Compare Source

Added
  • (cli) support non-threaded WASI targets (#​3353)

v3.11.0

Compare Source

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)

v3.10.5

Compare Source

Fixed
  • (napi) release FunctionRef off the JS thread via the custom-GC TSFN (#​3394)

v3.10.4

Compare Source

Fixed
  • (cli) align build and project configuration (#​3387)
Other
  • (readme) point sponsors image at napi.rs/sponsors.svg (#​3379)

v3.10.3

Compare Source

Fixed
  • (napi) preserve the JS error object when cloning an Error off-thread (#​3375)

v3.10.2

Compare Source

Fixed
  • (napi) keep message and cause when cloning a JS-exception Error off-thread (#​3373)

v3.10.1

Compare Source

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)

v3.10.0

Compare Source

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)

v3.9.4

Compare Source

Other
  • (napi-derive) outline #[napi(object)] field-error decoration (#​3338)

v3.9.3

Compare Source

Fixed
  • (napi) sync referred flag when creating a weak ThreadsafeFunction (#​3337)
Other
  • (napi) outline non-generic core of ThreadsafeFunction::create (#​3334)

v3.9.2

Compare Source

Fixed
  • (napi) ReadableStream Reader loses chunks and aborts on errored streams (#​3328)

v3.9.1

Compare Source

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)

v3.9.0

Compare Source

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)

v3.8.6

Compare Source

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)

v3.8.5

Compare Source

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)

v3.8.4

Compare Source

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)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot

changeset-bot Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: fa8dc7e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate
renovate Bot force-pushed the renovate/napi-3.x branch from 6ef8224 to 8a40b99 Compare September 20, 2026 04:23
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.12.6 chore(deps): update rust crate napi to v3.12.7 Sep 20, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch from 8a40b99 to c306424 Compare September 23, 2026 01:49
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.12.7 chore(deps): update rust crate napi to v3.13.0 Sep 23, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch 2 times, most recently from b0bae60 to 5ed319e Compare October 1, 2026 03:58
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch from 5ed319e to 2d1eec6 Compare October 1, 2026 17:34
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.13.0 chore(deps): update rust crate napi to v3.14.0 Oct 1, 2026
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.14.0 chore(deps): update rust crate napi to v3.14.1 Oct 5, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch 2 times, most recently from b2e8111 to 0261d97 Compare October 6, 2026 10:44
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.14.1 chore(deps): update rust crate napi to v3.14.2 Oct 6, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch 2 times, most recently from 38044cc to abf4856 Compare October 13, 2026 16:18
@renovate

renovate Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
    Updating crates.io index
error: failed to select a version for `napi-build`.
    ... required by package `napi v3.16.3`
    ... which satisfies dependency `napi = "=3.16.3"` of package `astro2tsx v0.1.0 (/tmp/renovate/repos/github/withastro/compiler-rs/crates/astro2tsx)`
versions that meet the requirements `^2.7.0` are: 2.7.0

all possible versions conflict with previously selected packages

  previously selected package `napi-build v2.3.1`
    ... which satisfies dependency `napi-build = "=2.3.1"` of package `astro2tsx v0.1.0 (/tmp/renovate/repos/github/withastro/compiler-rs/crates/astro2tsx)`

failed to select a version for `napi-build` which could resolve this conflict

@renovate
renovate Bot force-pushed the renovate/napi-3.x branch 2 times, most recently from bbf3cc3 to 30a175c Compare October 22, 2026 07:32
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.14.2 chore(deps): update rust crate napi to v3.15.0 Oct 22, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch 2 times, most recently from 7d40334 to 56ced1b Compare October 30, 2026 06:50
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.15.0 chore(deps): update rust crate napi to v3.16.0 Oct 30, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch from 56ced1b to 2ba304d Compare October 31, 2026 06:32
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.16.0 chore(deps): update rust crate napi to v3.16.1 Oct 31, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch from 2ba304d to f7c1b74 Compare November 11, 2026 04:00
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.16.1 chore(deps): update rust crate napi to v3.16.2 Nov 11, 2026
@renovate
renovate Bot force-pushed the renovate/napi-3.x branch from f7c1b74 to fa8dc7e Compare November 23, 2026 18:50
@renovate renovate Bot changed the title chore(deps): update rust crate napi to v3.16.2 chore(deps): update rust crate napi to v3.16.3 Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants