Skip to content

Commit

Permalink
neon 0.10 and create-neon 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvalencik committed Mar 7, 2022
1 parent b386ec2 commit 29d8f21
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 16 deletions.
6 changes: 6 additions & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Neon owes its existence to the contributions of these fine people.
* [Nerijus Arlauskas](https://github.com/Nercury)
* [Igor Artamonov](https://github.com/splix)
* [Peter Atashian](https://github.com/retep998)
* [Alexander Azarov](https://github.com/alaz)
* [David Baker](https://github.com/dbkr)
* [Sean Billig](https://github.com/sbillig)
* [Tim Blair](https://github.com/tblair)
Expand All @@ -15,6 +16,7 @@ Neon owes its existence to the contributions of these fine people.
* [Eduard-Mihai Burtescu](https://github.com/eddyb)
* [Gabriel Castro](https://github.com/GabrielCastro)
* [Lin Clark](https://github.com/linclark)
* [ComplexSpaces](https://github.com/complexspaces)
* [Nathaniel Daniel](https://github.com/adumbidiot)
* [Joey Ezechiëls](https://github.com/jjpe)
* [Cory Forsyth](https://github.com/bantic)
Expand All @@ -35,10 +37,13 @@ Neon owes its existence to the contributions of these fine people.
* [Simon Liang](https://github.com/lhr0909)
* [Terence Lee](https://github.com/hone)
* [Milan Loveless](https://github.com/MilanLoveless)
* [Mikuroさいな](https://github.com/MikuroXina)
* [MikaelUrankar](https://github.com/MikaelUrankar)
* [Darin Morrison](https://github.com/freebroccolo)
* [Martin Muñoz](https://github.com/mmun)
* [Kayo Phoenix](https://github.com/katyo)
* [Mike Piccolo](https://github.com/mfpiccolo)
* [Jan Piotrowski](https://github.com/janpio)
* [Robbie Pitts](https://github.com/robbiepitts)
* [Thiago Pontes](https://github.com/thiagopnts)
* [Sean Prashad](https://github.com/SeanPrashad)
Expand All @@ -52,6 +57,7 @@ Neon owes its existence to the contributions of these fine people.
* [Andrew Stucki](https://github.com/andrewstucki)
* [Martin Svanberg](https://github.com/msvbg)
* [A2ZH (theJian)](https://github.com/theJian)
* [Alex Touchet](https://github.com/atouchet)
* [Corbin Uselton](https://github.com/corbinu)
* [K.J. Valencik](https://github.com/kjvalencik)
* [Velithris](https://github.com/Zireael-N)
Expand Down
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.9.1"
version = "0.10.0"
authors = ["Dave Herman <david.herman@gmail.com>"]
description = "A safe abstraction layer for Node.js."
readme = "README.md"
Expand All @@ -12,7 +12,7 @@ build = "build.rs"
edition = "2018"

[build-dependencies]
neon-build = { version = "=0.9.1", path = "crates/neon-build" }
neon-build = { version = "=0.10.0", path = "crates/neon-build" }

[dev-dependencies]
lazy_static = "1.4.0"
Expand All @@ -24,8 +24,8 @@ failure = "0.1.5" # used for a doc example
[dependencies]
semver = "0.9.0"
smallvec = "1.4.2"
neon-runtime = { version = "=0.9.1", path = "crates/neon-runtime" }
neon-macros = { version = "=0.9.1", path = "crates/neon-macros", optional = true }
neon-runtime = { version = "=0.10.0", path = "crates/neon-runtime" }
neon-macros = { version = "=0.10.0", path = "crates/neon-macros", optional = true }

[features]
default = ["legacy-runtime"]
Expand Down
41 changes: 41 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
# Version 0.10

See the [Neon 0.10 Migration Guide](MIGRATION_GUIDE_0.10.md) for more details about new features and breaking changes.

## Features

* New [buffer borrowing API](https://github.com/neon-bindings/neon/pull/780)
* Added [JoinHandle](https://github.com/neon-bindings/neon/pull/787) for `Channel::send`
* [`JsPromise` and `TaskBuilder`](https://github.com/neon-bindings/neon/pull/789)
* Handle [panics and exceptions](https://github.com/neon-bindings/neon/pull/808) in Channels and Tasks
* [Function call / construct builders](https://github.com/neon-bindings/neon/pull/829)
and [simplify low level call](https://github.com/neon-bindings/neon/pull/825)
* Create [functions from closures](https://github.com/neon-bindings/neon/pull/811)

## Minor Improvements

* [Performance improvements](https://github.com/neon-bindings/neon/pull/815)
* [Rename N-API to Node-API](https://github.com/neon-bindings/neon/pull/753) in docs to match Node changes
* Remove unused [cslice dependency](https://github.com/neon-bindings/neon/pull/794)
* Switch to [`syn-mid`](https://github.com/neon-bindings/neon/pull/814) for faster compile times
* Downcast in [`Object::get`](https://github.com/neon-bindings/neon/pull/839)
* Added [migration guide](https://github.com/neon-bindings/neon/pull/859)
* Added [`Object::get_opt` and `Object::get_value`](https://github.com/neon-bindings/neon/pull/867)

## Fixes

* [Safety] Make it harder to store and forge [Throw](https://github.com/neon-bindings/neon/pull/797)
* [Soundness] [Make `JsValue` types `!Copy`](https://github.com/neon-bindings/neon/pull/832)
* [Soundness] [Tag `Root`](https://github.com/neon-bindings/neon/pull/847) with instance id
* `create-neon` no longer [leaves partial project on disk](https://github.com/neon-bindings/neon/pull/840)
* Fix legacy backend on [Electron and Windows](https://github.com/neon-bindings/neon/pull/785)
* [FreeBSD support](https://github.com/neon-bindings/neon/pull/856) on legacy backend

## Internal Improvements

* Replace Electron tests [with Playwright](https://github.com/neon-bindings/neon/pull/835)
* Re-organize Neon into an [npm workspace](https://github.com/neon-bindings/neon/pull/852)
* [Fix crates.io badge](https://github.com/neon-bindings/neon/pull/781)
* [Doc test fixes](https://github.com/neon-bindings/neon/pull/800)
* Fix [broken link](https://github.com/neon-bindings/neon/pull/804) in the README

# Version 0.9.1

* Expose the `Finalize` trait as `neon::types::Finalize` so that docs are visible
Expand Down
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.9.1",
"version": "0.10.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,6 +1,6 @@
[package]
name = "neon-build"
version = "0.9.1"
version = "0.10.0"
authors = ["Dave Herman <david.herman@gmail.com>"]
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.9.1", path = "../neon-sys", optional = true }
neon-sys = { version = "=0.10.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.9.1"
version = "0.10.0"
authors = ["Dave Herman <david.herman@gmail.com>"]
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.9.1"
version = "0.10.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"
Expand All @@ -10,7 +10,7 @@ edition = "2018"
[dependencies]
cfg-if = "1.0.0"
libloading = { version = "0.6.5", optional = true }
neon-sys = { version = "=0.9.1", path = "../neon-sys", optional = true }
neon-sys = { version = "=0.10.0", path = "../neon-sys", optional = true }
smallvec = "1.4.2"

[dev-dependencies]
Expand Down
4 changes: 2 additions & 2 deletions crates/neon-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "neon-sys"
version = "0.9.1"
version = "0.10.0"
authors = ["David Herman <david.herman@gmail.com>"]
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
edition = "2018"
license = "MIT/Apache-2.0"
links = "neon" # libneon.{a,obj} gets linked in with this package
Expand Down
2 changes: 1 addition & 1 deletion create-neon/data/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"neon": "0.9",
"neon": "0.10",
"napi": "6",
"cargo-cp-artifact": "0.1"
}
2 changes: 1 addition & 1 deletion create-neon/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-neon",
"version": "0.1.5",
"version": "0.2.0",
"description": "Create Neon projects with no build configuration.",
"author": "Dave Herman <david.herman@gmail.com>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

0 comments on commit 29d8f21

Please sign in to comment.