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 <[email protected]>"]
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 <[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.9.1"
version = "0.10.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.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 <[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.9.1"
version = "0.10.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 = "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 <[email protected]>"]
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 <[email protected]>",
"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.