diff --git a/AUTHORS.md b/AUTHORS.md index 94877e7..e887f36 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -38,6 +38,7 @@ Neon owes its existence to the contributions of these fine people. * [Robbie Pitts](https://github.com/robbiepitts) * [Thiago Pontes](https://github.com/thiagopnts) * [Sean Prashad](https://github.com/SeanPrashad) +* [Jordan Rose](https://github.com/jrose-signal) * [Antonio Scandurra](https://github.com/as-cii) * [Edward Shaw](https://github.com/EdShaw) * [Nathan Sobo](https://github.com/nathansobo) @@ -53,6 +54,7 @@ Neon owes its existence to the contributions of these fine people. * [Roberto Vidal](https://github.com/jrvidal) * [Georg Vienna](https://github.com/geovie) * [Daijiro Wachi](https://github.com/watilde) +* [Chi Wang](https://github.com/patr0nus) * [wangcong](https://github.com/king6cong) * [Amila Welihinda](https://github.com/amilajack) * [Felix Yan](https://github.com/felixonmars) diff --git a/Cargo.toml b/Cargo.toml index c9e348c..0a264ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon" -version = "0.7.1" +version = "0.8.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.7.1", path = "crates/neon-build" } +neon-build = { version = "=0.8.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.7.1", path = "crates/neon-runtime" } -neon-macros = { version = "=0.7.1", path = "crates/neon-macros", optional = true } +neon-runtime = { version = "=0.8.0", path = "crates/neon-runtime" } +neon-macros = { version = "=0.8.0", path = "crates/neon-macros", optional = true } [features] default = ["legacy-runtime"] diff --git a/MIGRATION_GUIDE.md b/MIGRATION_GUIDE.md index 096cc4f..832c01a 100644 --- a/MIGRATION_GUIDE.md +++ b/MIGRATION_GUIDE.md @@ -40,7 +40,7 @@ As a rule, you should choose the **oldest version of N-API that has the APIs you ```toml [dependencies.neon] -version = "0.7.1" +version = "0.8.0" default-features = false features = ["napi-4"] ``` @@ -192,7 +192,7 @@ The supported mechanism for concurrency is the Event Queue API (`neon::event::Ev ```toml [dependencies.neon] -version = "0.7.1" +version = "0.8.0" default-features = false features = ["napi-4", "event-queue-api"] ``` diff --git a/RELEASES.md b/RELEASES.md index bba6c98..c77ddeb 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,27 @@ +# Version 0.8.0 + +## Fixes + +* `as_slice` and `as_mut_slice` properly handle a `null` pointer from an empty buffer (https://github.com/neon-bindings/neon/pull/681) +* Global drop queue added to avoid panics on N-API 6+ when dropping a `Root` (https://github.com/neon-bindings/neon/pull/700) + +## Features + +* Added `neon::reflect::eval` (https://github.com/neon-bindings/neon/pull/692) +* Added `create-neon` for creating an N-API project (https://github.com/neon-bindings/neon/pull/690) +* Added details to the `README.md` generated by `create-neon` (https://github.com/neon-bindings/neon/pull/697) + +## Improvements + +* Switched N-API tests to `cargo-cp-artifact` (https://github.com/neon-bindings/neon/pull/687) +* Added `impl Finalize for Option` (https://github.com/neon-bindings/neon/pull/680) +* Added a N-API migration guide (https://github.com/neon-bindings/neon/pull/685) + +## Housekeeping + +* Lint fixes (https://github.com/neon-bindings/neon/pull/609) +* Lint CI enforcement and `cargo fmt` (https://github.com/neon-bindings/neon/pull/698) + # Version 0.7.1 ### Features diff --git a/cli/package-lock.json b/cli/package-lock.json index b3261f8..d83d609 100644 --- a/cli/package-lock.json +++ b/cli/package-lock.json @@ -1,6 +1,6 @@ { "name": "neon-cli", - "version": "0.7.1", + "version": "0.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/cli/package.json b/cli/package.json index 2ad6701..5f0debf 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "neon-cli", - "version": "0.7.1", + "version": "0.8.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 a3cf7c6..224ece9 100644 --- a/crates/neon-build/Cargo.toml +++ b/crates/neon-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-build" -version = "0.7.1" +version = "0.8.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.7.1", path = "../neon-sys", optional = true } +neon-sys = { version = "=0.8.0", path = "../neon-sys", optional = true } diff --git a/crates/neon-macros/Cargo.toml b/crates/neon-macros/Cargo.toml index 9682144..725349d 100644 --- a/crates/neon-macros/Cargo.toml +++ b/crates/neon-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-macros" -version = "0.7.1" +version = "0.8.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 c043450..997f15c 100644 --- a/crates/neon-runtime/Cargo.toml +++ b/crates/neon-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-runtime" -version = "0.7.1" +version = "0.8.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 = "1.0.0" libloading = { version = "0.6.5", optional = true } -neon-sys = { version = "=0.7.1", path = "../neon-sys", optional = true } +neon-sys = { version = "=0.8.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 746928e..a931996 100644 --- a/crates/neon-sys/Cargo.toml +++ b/crates/neon-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "neon-sys" -version = "0.7.1" +version = "0.8.0" authors = ["David Herman "] description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API." edition = "2018" diff --git a/create-neon/data/versions.json b/create-neon/data/versions.json index 71d98df..d0dd75a 100644 --- a/create-neon/data/versions.json +++ b/create-neon/data/versions.json @@ -1,5 +1,5 @@ { - "neon": "0.7", + "neon": "0.8", "napi": "6", "cargo-cp-artifact": "0.1" } diff --git a/create-neon/package.json b/create-neon/package.json index 740c4f2..e2f805a 100644 --- a/create-neon/package.json +++ b/create-neon/package.json @@ -1,6 +1,6 @@ { "name": "create-neon", - "version": "0.1.2", + "version": "0.1.3", "description": "Create Neon projects with no build configuration.", "author": "Dave Herman ", "license": "MIT",