Skip to content

Commit

Permalink
Merge pull request #615 from neon-bindings/0.5.0
Browse files Browse the repository at this point in the history
v0.5.0
  • Loading branch information
kjvalencik committed Oct 12, 2020
2 parents 299a206 + 40a8aeb commit 7b09564
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon"
version = "0.4.2"
version = "0.5.0"
authors = ["Dave Herman <david.herman@gmail.com>"]
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.4.2", path = "crates/neon-build" }
neon-build = { version = "=0.5.0", path = "crates/neon-build" }

[dev-dependencies]
lazy_static = "1.4.0"
Expand All @@ -21,7 +21,7 @@ semver = "0.9"
[dependencies]
cslice = "0.2"
semver = "0.9.0"
neon-runtime = { version = "=0.4.2", path = "crates/neon-runtime" }
neon-runtime = { version = "=0.5.0", path = "crates/neon-runtime" }

[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3.9", features = ["minwindef", "libloaderapi", "ntdef"] }
Expand Down
16 changes: 16 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
# Version 0.5.0

_Re-publish_

Versions `0.4.1` and `0.4.2` included a breaking change in `neon-runtime`. At the time, this was considered acceptable because `neon-runtime` is considered an internal crate and not part of the public API. However, it was discovered, after publishing, that `neon-serde`, a commonly used crate in the `neon` ecosystem, contained a direct dependency on `neon-runtime`. In order to best support users, versions `0.4.1` and `0.4.2` were "yanked" and re-published as `0.5.0`.

Additionally, the team is working with the authors of `neon-serde` to remove the dependency on `neon-runtime` to prevent future issues.

## Bug Fixes

* Fix stack overflow in `DowncastError` `Display` impl (https://github.com/neon-bindings/neon/pull/606)

# Version 0.4.2

_Unpublished / Yanked_

## Bug Fixes

* Fix memory leak and race condition in `EventHandler`

# Version 0.4.1

_Unpublished / Yanked_

## Features

### Try Catch
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.4.2",
"version": "0.5.0",
"description": "Build and load native Rust/Neon modules.",
"author": "Dave Herman <david.herman@gmail.com>",
"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,14 +1,14 @@
[package]
name = "neon-build"
version = "0.4.2"
version = "0.5.0"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "Build logic required for Neon projects."
repository = "https://github.com/neon-bindings/neon"
license = "MIT/Apache-2.0"
build = "build.rs"

[dependencies]
neon-sys = { version = "=0.4.2", path = "../neon-sys", optional = true }
neon-sys = { version = "=0.5.0", path = "../neon-sys", optional = true }
cfg-if = "0.1.9"

[build-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/neon-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[package]
name = "neon-runtime"
version = "0.4.2"
version = "0.5.0"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "Bindings to the Node.js native addon API, used by the Neon implementation."
repository = "https://github.com/neon-bindings/neon"
license = "MIT/Apache-2.0"

[dependencies]
cfg-if = "0.1.9"
neon-sys = { version = "=0.4.2", path = "../neon-sys", optional = true }
neon-sys = { version = "=0.5.0", path = "../neon-sys", optional = true }
nodejs-sys = { version = "0.7.0", optional = true }

[features]
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.4.2"
version = "0.5.0"
authors = ["David Herman <david.herman@gmail.com>"]
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
edition = "2018"
Expand Down

0 comments on commit 7b09564

Please sign in to comment.