Skip to content

v1.0.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@kjvalencik kjvalencik released this 11 Jul 20:03
· 257 commits to main since this release
ee475a3

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 general neon::result::ResultExt (#904)

Minor

  • Length APIs (argument, argument_ops, len) use usize instead of i32 (#889)
  • Deprecate feature flags for accepted RFCs (#872)
  • neon::meta::version returns semver@1 version instead of 0.9 (#912)

Features

  • Add Object.freeze and Object.seal (#891)
  • Futures RFC (#872) Implementation (#874)
    • Await JoinHandle from sending an event on a Channel
    • Adapt JsPromise to JsFuture
  • 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 and JsBuffer::external (#897)

Docs

  • Fixed mistake in Object::get docs (#903)
  • Fixed link in README to migration guide (#895)

Internal

  • Moved cargo-cp-artirfact into the monorepo (#905)
  • Decreased the size of the Neon build matrix (#893)
  • Removed scope abstraction from legacy backend (#888)
  • Improved the monorepo structure of neon (#884)