diff --git a/Cargo.toml b/Cargo.toml index 36b9acfd1..262036c28 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon" -version = "0.5.3" +version = "0.6.0" authors = ["Dave Herman "] description = "A safe abstraction layer for Node.js." readme = "README.md" @@ -11,7 +11,7 @@ exclude = ["neon.jpg"] build = "build.rs" [build-dependencies] -neon-build = { version = "=0.5.3", path = "crates/neon-build" } +neon-build = { version = "=0.6.0", path = "crates/neon-build" } [dev-dependencies] lazy_static = "1.4.0" @@ -22,8 +22,8 @@ semver = "0.9" cslice = "0.2" semver = "0.9.0" smallvec = "1.4.2" -neon-runtime = { version = "=0.5.3", path = "crates/neon-runtime" } -neon-macros = { version = "=0.5.3", path = "crates/neon-macros", optional = true } +neon-runtime = { version = "=0.6.0", path = "crates/neon-runtime" } +neon-macros = { version = "=0.6.0", path = "crates/neon-macros", optional = true } [features] default = ["legacy-runtime"] diff --git a/RELEASES.md b/RELEASES.md index 13aafb3b6..245454413 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,12 @@ +# Version 0.6.0 + +The `cx.try_catch(..)` API has been updated to return `T: Sized` instead of `T: Value` (https://github.com/neon-bindings/neon/pull/631). This API is strictly more powerful and allows users to return both JavaScript and Rust values from `try_catch` closures. + +## N-API + +* N-API symbols are now loaded dynamically (https://github.com/neon-bindings/neon/pull/646) +* Build process for N-API is greatly simplified by leveraging dynamic loading (https://github.com/neon-bindings/neon/pull/647) + # Version 0.5.3 ## Bug Fixes diff --git a/cli/package-lock.json b/cli/package-lock.json index 10608247f..f18480142 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -1,6 +1,6 @@ { "name": "neon-cli", - "version": "0.5.3", + "version": "0.6.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/cli/package.json b/cli/package.json index ef63cb8b3..79df7bde0 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "neon-cli", - "version": "0.5.3", + "version": "0.6.0", "description": "Build and load native Rust/Neon modules.", "author": "Dave Herman ", "repository": { diff --git a/crates/neon-build/Cargo.toml b/crates/neon-build/Cargo.toml index 9407f5832..9c113c5bd 100644 --- a/crates/neon-build/Cargo.toml +++ b/crates/neon-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-build" -version = "0.5.3" +version = "0.6.0" authors = ["Dave Herman "] description = "Build logic required for Neon projects." repository = "https://github.com/neon-bindings/neon" @@ -9,4 +9,4 @@ edition = "2018" build = "build.rs" [dependencies] -neon-sys = { version = "=0.5.3", path = "../neon-sys", optional = true } +neon-sys = { version = "=0.6.0", path = "../neon-sys", optional = true } diff --git a/crates/neon-macros/Cargo.toml b/crates/neon-macros/Cargo.toml index b219ef4e3..6bb9eaeef 100644 --- a/crates/neon-macros/Cargo.toml +++ b/crates/neon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-macros" -version = "0.5.3" +version = "0.6.0" authors = ["Dave Herman "] description = "Procedural macros supporting Neon" repository = "https://github.com/neon-bindings/neon" diff --git a/crates/neon-runtime/Cargo.toml b/crates/neon-runtime/Cargo.toml index f0b05170b..013e27709 100644 --- a/crates/neon-runtime/Cargo.toml +++ b/crates/neon-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-runtime" -version = "0.5.3" +version = "0.6.0" authors = ["Dave Herman "] description = "Bindings to the Node.js native addon API, used by the Neon implementation." repository = "https://github.com/neon-bindings/neon" @@ -10,7 +10,7 @@ edition = "2018" [dependencies] cfg-if = "0.1.9" libloading = { version = "0.6.5", optional = true } -neon-sys = { version = "=0.5.3", path = "../neon-sys", optional = true } +neon-sys = { version = "=0.6.0", path = "../neon-sys", optional = true } smallvec = "1.4.2" [dev-dependencies] diff --git a/crates/neon-sys/Cargo.toml b/crates/neon-sys/Cargo.toml index 7b1c5037f..7d9a550cc 100644 --- a/crates/neon-sys/Cargo.toml +++ b/crates/neon-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-sys" -version = "0.5.3" +version = "0.6.0" authors = ["David Herman "] description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API." edition = "2018"