v0.10.0
See the Neon 0.10 Migration Guide for more details about new features and breaking changes.
Features
- New buffer borrowing API
- Added JoinHandle for
Channel::send
JsPromise
andTaskBuilder
- Handle panics and exceptions in Channels and Tasks
- Function call / construct builders
and simplify low level call - Create functions from closures
Minor Improvements
- Performance improvements
- Rename N-API to Node-API in docs to match Node changes
- Remove unused cslice dependency
- Switch to
syn-mid
for faster compile times - Downcast in
Object::get
- Added migration guide
- Added
Object::get_opt
andObject::get_value
Fixes
- [Safety] Make it harder to store and forge Throw
- [Soundness] Make
JsValue
types!Copy
- [Soundness] Tag
Root
with instance id create-neon
no longer leaves partial project on disk- Fix legacy backend on Electron and Windows
- FreeBSD support on legacy backend
Internal Improvements
- Replace Electron tests with Playwright
- Re-organize Neon into an npm workspace
- Fix crates.io badge
- Doc test fixes
- Fix broken link in the README