Update Rust crate neon to v1 #22
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.10
->1.0
Release Notes
neon-bindings/neon (neon)
v1.1.1
Compare Source
Hotfix for Node-API versions lower than 5 (https://github.com/neon-bindings/neon/pull/1106).
v1.1.0
Compare Source
Continued Commitment to Compatibility
Our strong commitment to compatibility since the 1.0 release remains unchanged. New functionality
that has not yet stabilized is published under feature flags, so the only breaking changes that we
expect to publish are those that affect the unstable features, or, as always, safety bugfixes.
Version 1.1.1
Hotfix for Node-API versions lower than 5 (https://github.com/neon-bindings/neon/pull/1106).
Version 1.1.0
New Features
#[export]
macronpm init neon -- --lib
JsBox::deref()
Handle<'_, JsBox>::as_inner()
Bugfixes
Version 1.1.0-alpha.2
Breaking Changes (unstable features only)
FromArgs
impl onT: TryFromJs
and addcx.{arg, arg_opt}
(https://github.com/neon-bindings/neon/pull/1096)Other
With
(https://github.com/neon-bindings/neon/pull/1086)JsBox::{deref, as_inner}
to get long-lived reference to JsBox contents (https://github.com/neon-bindings/neon/pull/1087)Version 1.1.0-alpha.1
Breaking Changes (unstable features only)
TryIntoJs
andTryFromJs
takeCx
instead of genericContext
(https://github.com/neon-bindings/neon/pull/1062)Bugfixes
Other
Result
types in#[export]
(https://github.com/neon-bindings/neon/pull/1057)Cx
instead of genericContext
(https://github.com/neon-bindings/neon/pull/1048)With
forTryIntoJs
(https://github.com/neon-bindings/neon/pull/1059)#[export]
(https://github.com/neon-bindings/neon/pull/1055)TryIntoJs
andTryFromJs
for common container types (https://github.com/neon-bindings/neon/pull/1066)Cx
in exported functions (https://github.com/neon-bindings/neon/pull/1068)Version 1.1.0-alpha.0
Bugfixes
Other
#[export]
macro (https://github.com/neon-bindings/neon/pull/1025)npm init neon --lib
(https://github.com/neon-bindings/neon/pull/1014 and https://github.com/neon-bindings/neon/pull/1041)v1.0.0
Compare Source
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
JsFunction
(https://github.com/neon-bindings/neon/pull/989)JsArray::new
takes ausize
instead of au32
(https://github.com/neon-bindings/neon/pull/988)Context::global
read a key and addedContext::global_object
(https://github.com/neon-bindings/neon/pull/987)Bug fixes
unhandledRejection
withJsPromise::to_future
(https://github.com/neon-bindings/neon/pull/1008)cargo-cp-artifact
help (https://github.com/neon-bindings/neon/pull/998)Other
https://github.com/neon-bindings/neon/pull/1010
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.