v1.0.0-alpha.1
Pre-release
Pre-release
kjvalencik
released this
11 Jul 20:03
·
341 commits
to main
since this release
Pre-release of a major milestone for Neon. 1.0.
Breaking Changes
Major
- Removed the legacy backend; only Node-API is supported going forward (#881)
- Removed
neon::result::JsResultExt
in favor of more generalneon::result::ResultExt
(#904)
Minor
- Length APIs (
argument
,argument_ops
,len
) useusize
instead ofi32
(#889) - Deprecate feature flags for accepted RFCs (#872)
neon::meta::version
returnssemver@1
version instead of0.9
(#912)
Features
- Add
Object.freeze
andObject.seal
(#891) - Futures RFC (#872) Implementation (#874)
- Await
JoinHandle
from sending an event on aChannel
- Adapt
JsPromise
toJsFuture
- Await
- API for thread-local data (i.e., instance data) (#902)
- Add Object::call_with() convenience method to call a method on an object (#879)
Bug Fixes
- Relax the lifetime constraints on
TypedArray
borrows (#877) - Allowing missing symbols at load time to support bun (#914)
- Prevent a panic when an async event is called after the JavaScript runtime has stopped (#913)
- Fix a soundness hole in
JsArrayBuffer::external
andJsBuffer::external
(#897)