napi-derive breaking changes
napi-derive 3.0.0-alpha.8 (July 17, 2025) is its newest release with breaking changes. The first: Removed constructor. Every breaking API change we have recorded in napi-derive on crates.io: 4 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 3.7.2, released November 23, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
- From 2.0.0 to 3.0.0-alpha.8: 1 breaking change in 1 version.
napi-derive 3.0.0-alpha.8 breaking changes
- Removed
constructor
Class constructors can no longer be asynchronous functions, so async constructors must be restructured. github.com
napi-derive 2.0.0 breaking changes
- Signature changed
napi_derive::contextless_function
Was fn contextless_function(_attr: TokenStream, input: TokenStream) -> TokenStream; now fn contextless_function(_attr: RawStream, input: RawStream) -> RawStream. crates.io - Signature changed
napi_derive::js_function
Was fn js_function(attr: TokenStream, input: TokenStream) -> TokenStream; now fn js_function(attr: RawStream, input: RawStream) -> RawStream. crates.io - Signature changed
napi_derive::module_exports
Was fn module_exports(_attr: TokenStream, input: TokenStream) -> TokenStream; now fn module_exports(_attr: RawStream, input: RawStream) -> RawStream. crates.io
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.