v1.0.0
Commitment to Compatibility
The release of Neon 1.0 marks our commitment to backwards-compatibility: starting with 1.0.0, Neon users can be confident that future upgrades to Neon 1.x versions should never require code changes (with the possible exception of safety bugfixes, which we expect to be rare). We also do not anticipate releasing new major versions often and do not have any plans to do so for now.
Breaking Changes
- Remove the generic parameter from
JsFunction(https://github.com/neon-bindings/neon/pull/989) JsArray::newtakes ausizeinstead of au32(https://github.com/neon-bindings/neon/pull/988)- Made
Context::globalread a key and addedContext::global_object(https://github.com/neon-bindings/neon/pull/987) - Deprecated feature flags were removed
Bug fixes
- Fix
unhandledRejectionwithJsPromise::to_future(https://github.com/neon-bindings/neon/pull/1008) - Typo in
cargo-cp-artifacthelp (https://github.com/neon-bindings/neon/pull/998) - Typo in README (https://github.com/neon-bindings/neon/pull/1012)
Other
https://github.com/neon-bindings/neon/pull/1010
- Relaxed error behavior on missing Node-API symbols. Neon will panic on first use instead of aborting the process at module load time.
- Bumped dependency versions
- Changed to edition 2021
- Updated support matrix to Node 18, 20, and 21