Skip to content

Commit 29d8f21

Browse files
committed
neon 0.10 and create-neon 0.2
1 parent b386ec2 commit 29d8f21

File tree

11 files changed

+63
-16
lines changed

11 files changed

+63
-16
lines changed

AUTHORS.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Neon owes its existence to the contributions of these fine people.
77
* [Nerijus Arlauskas](https://github.com/Nercury)
88
* [Igor Artamonov](https://github.com/splix)
99
* [Peter Atashian](https://github.com/retep998)
10+
* [Alexander Azarov](https://github.com/alaz)
1011
* [David Baker](https://github.com/dbkr)
1112
* [Sean Billig](https://github.com/sbillig)
1213
* [Tim Blair](https://github.com/tblair)
@@ -15,6 +16,7 @@ Neon owes its existence to the contributions of these fine people.
1516
* [Eduard-Mihai Burtescu](https://github.com/eddyb)
1617
* [Gabriel Castro](https://github.com/GabrielCastro)
1718
* [Lin Clark](https://github.com/linclark)
19+
* [ComplexSpaces](https://github.com/complexspaces)
1820
* [Nathaniel Daniel](https://github.com/adumbidiot)
1921
* [Joey Ezechiëls](https://github.com/jjpe)
2022
* [Cory Forsyth](https://github.com/bantic)
@@ -35,10 +37,13 @@ Neon owes its existence to the contributions of these fine people.
3537
* [Simon Liang](https://github.com/lhr0909)
3638
* [Terence Lee](https://github.com/hone)
3739
* [Milan Loveless](https://github.com/MilanLoveless)
40+
* [Mikuroさいな](https://github.com/MikuroXina)
41+
* [MikaelUrankar](https://github.com/MikaelUrankar)
3842
* [Darin Morrison](https://github.com/freebroccolo)
3943
* [Martin Muñoz](https://github.com/mmun)
4044
* [Kayo Phoenix](https://github.com/katyo)
4145
* [Mike Piccolo](https://github.com/mfpiccolo)
46+
* [Jan Piotrowski](https://github.com/janpio)
4247
* [Robbie Pitts](https://github.com/robbiepitts)
4348
* [Thiago Pontes](https://github.com/thiagopnts)
4449
* [Sean Prashad](https://github.com/SeanPrashad)
@@ -52,6 +57,7 @@ Neon owes its existence to the contributions of these fine people.
5257
* [Andrew Stucki](https://github.com/andrewstucki)
5358
* [Martin Svanberg](https://github.com/msvbg)
5459
* [A2ZH (theJian)](https://github.com/theJian)
60+
* [Alex Touchet](https://github.com/atouchet)
5561
* [Corbin Uselton](https://github.com/corbinu)
5662
* [K.J. Valencik](https://github.com/kjvalencik)
5763
* [Velithris](https://github.com/Zireael-N)

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "neon"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
authors = ["Dave Herman <[email protected]>"]
55
description = "A safe abstraction layer for Node.js."
66
readme = "README.md"
@@ -12,7 +12,7 @@ build = "build.rs"
1212
edition = "2018"
1313

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

1717
[dev-dependencies]
1818
lazy_static = "1.4.0"
@@ -24,8 +24,8 @@ failure = "0.1.5" # used for a doc example
2424
[dependencies]
2525
semver = "0.9.0"
2626
smallvec = "1.4.2"
27-
neon-runtime = { version = "=0.9.1", path = "crates/neon-runtime" }
28-
neon-macros = { version = "=0.9.1", path = "crates/neon-macros", optional = true }
27+
neon-runtime = { version = "=0.10.0", path = "crates/neon-runtime" }
28+
neon-macros = { version = "=0.10.0", path = "crates/neon-macros", optional = true }
2929

3030
[features]
3131
default = ["legacy-runtime"]

RELEASES.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
# Version 0.10
2+
3+
See the [Neon 0.10 Migration Guide](MIGRATION_GUIDE_0.10.md) for more details about new features and breaking changes.
4+
5+
## Features
6+
7+
* New [buffer borrowing API](https://github.com/neon-bindings/neon/pull/780)
8+
* Added [JoinHandle](https://github.com/neon-bindings/neon/pull/787) for `Channel::send`
9+
* [`JsPromise` and `TaskBuilder`](https://github.com/neon-bindings/neon/pull/789)
10+
* Handle [panics and exceptions](https://github.com/neon-bindings/neon/pull/808) in Channels and Tasks
11+
* [Function call / construct builders](https://github.com/neon-bindings/neon/pull/829)
12+
and [simplify low level call](https://github.com/neon-bindings/neon/pull/825)
13+
* Create [functions from closures](https://github.com/neon-bindings/neon/pull/811)
14+
15+
## Minor Improvements
16+
17+
* [Performance improvements](https://github.com/neon-bindings/neon/pull/815)
18+
* [Rename N-API to Node-API](https://github.com/neon-bindings/neon/pull/753) in docs to match Node changes
19+
* Remove unused [cslice dependency](https://github.com/neon-bindings/neon/pull/794)
20+
* Switch to [`syn-mid`](https://github.com/neon-bindings/neon/pull/814) for faster compile times
21+
* Downcast in [`Object::get`](https://github.com/neon-bindings/neon/pull/839)
22+
* Added [migration guide](https://github.com/neon-bindings/neon/pull/859)
23+
* Added [`Object::get_opt` and `Object::get_value`](https://github.com/neon-bindings/neon/pull/867)
24+
25+
## Fixes
26+
27+
* [Safety] Make it harder to store and forge [Throw](https://github.com/neon-bindings/neon/pull/797)
28+
* [Soundness] [Make `JsValue` types `!Copy`](https://github.com/neon-bindings/neon/pull/832)
29+
* [Soundness] [Tag `Root`](https://github.com/neon-bindings/neon/pull/847) with instance id
30+
* `create-neon` no longer [leaves partial project on disk](https://github.com/neon-bindings/neon/pull/840)
31+
* Fix legacy backend on [Electron and Windows](https://github.com/neon-bindings/neon/pull/785)
32+
* [FreeBSD support](https://github.com/neon-bindings/neon/pull/856) on legacy backend
33+
34+
## Internal Improvements
35+
36+
* Replace Electron tests [with Playwright](https://github.com/neon-bindings/neon/pull/835)
37+
* Re-organize Neon into an [npm workspace](https://github.com/neon-bindings/neon/pull/852)
38+
* [Fix crates.io badge](https://github.com/neon-bindings/neon/pull/781)
39+
* [Doc test fixes](https://github.com/neon-bindings/neon/pull/800)
40+
* Fix [broken link](https://github.com/neon-bindings/neon/pull/804) in the README
41+
142
# Version 0.9.1
243

344
* Expose the `Finalize` trait as `neon::types::Finalize` so that docs are visible

cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "neon-cli",
3-
"version": "0.9.1",
3+
"version": "0.10.0",
44
"description": "Build and load native Rust/Neon modules.",
55
"author": "Dave Herman <[email protected]>",
66
"repository": {

crates/neon-build/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "neon-build"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
authors = ["Dave Herman <[email protected]>"]
55
description = "Build logic required for Neon projects."
66
repository = "https://github.com/neon-bindings/neon"
@@ -9,4 +9,4 @@ edition = "2018"
99
build = "build.rs"
1010

1111
[dependencies]
12-
neon-sys = { version = "=0.9.1", path = "../neon-sys", optional = true }
12+
neon-sys = { version = "=0.10.0", path = "../neon-sys", optional = true }

crates/neon-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "neon-macros"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
authors = ["Dave Herman <[email protected]>"]
55
description = "Procedural macros supporting Neon"
66
repository = "https://github.com/neon-bindings/neon"

crates/neon-runtime/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "neon-runtime"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
authors = ["Dave Herman <[email protected]>"]
55
description = "Bindings to the Node.js native addon API, used by the Neon implementation."
66
repository = "https://github.com/neon-bindings/neon"
@@ -10,7 +10,7 @@ edition = "2018"
1010
[dependencies]
1111
cfg-if = "1.0.0"
1212
libloading = { version = "0.6.5", optional = true }
13-
neon-sys = { version = "=0.9.1", path = "../neon-sys", optional = true }
13+
neon-sys = { version = "=0.10.0", path = "../neon-sys", optional = true }
1414
smallvec = "1.4.2"
1515

1616
[dev-dependencies]

crates/neon-sys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name = "neon-sys"
3-
version = "0.9.1"
3+
version = "0.10.0"
44
authors = ["David Herman <[email protected]>"]
5-
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
5+
description = "Exposes the low-level V8/NAN C/C++ APIs. Will be superseded by N-API."
66
edition = "2018"
77
license = "MIT/Apache-2.0"
88
links = "neon" # libneon.{a,obj} gets linked in with this package

create-neon/data/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"neon": "0.9",
2+
"neon": "0.10",
33
"napi": "6",
44
"cargo-cp-artifact": "0.1"
55
}

create-neon/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "create-neon",
3-
"version": "0.1.5",
3+
"version": "0.2.0",
44
"description": "Create Neon projects with no build configuration.",
55
"author": "Dave Herman <[email protected]>",
66
"license": "MIT",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)