Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.6.0 #648

Merged
merged 1 commit into from
Dec 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon"
version = "0.5.3"
version = "0.6.0"
authors = ["Dave Herman <[email protected]>"]
description = "A safe abstraction layer for Node.js."
readme = "README.md"
Expand All @@ -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"
Expand All @@ -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"]
Expand Down
9 changes: 9 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion cli/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions crates/neon-build/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon-build"
version = "0.5.3"
version = "0.6.0"
authors = ["Dave Herman <[email protected]>"]
description = "Build logic required for Neon projects."
repository = "https://github.com/neon-bindings/neon"
Expand All @@ -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 }
2 changes: 1 addition & 1 deletion crates/neon-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon-macros"
version = "0.5.3"
version = "0.6.0"
authors = ["Dave Herman <[email protected]>"]
description = "Procedural macros supporting Neon"
repository = "https://github.com/neon-bindings/neon"
Expand Down
4 changes: 2 additions & 2 deletions crates/neon-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon-runtime"
version = "0.5.3"
version = "0.6.0"
authors = ["Dave Herman <[email protected]>"]
description = "Bindings to the Node.js native addon API, used by the Neon implementation."
repository = "https://github.com/neon-bindings/neon"
Expand All @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion crates/neon-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon-sys"
version = "0.5.3"
version = "0.6.0"
authors = ["David Herman <[email protected]>"]
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
edition = "2018"
Expand Down