Skip to content

Commit b4826a9

Browse files
authored
v1.1.0 (#1103)
v1.1.0
1 parent 0c9d57b commit b4826a9

File tree

3 files changed

+26
-11
lines changed

3 files changed

+26
-11
lines changed

RELEASES.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,37 @@
22

33
`0.1.9` supports a [breaking change in `cargo`](https://github.com/rust-lang/cargo/issues/13867) that converts artifact names from `kebab-case` to `snake_case`.
44

5-
# Version 1.1.0 (Alpha)
5+
# Version 1.1.0
66

77
## Continued Commitment to Compatibility
88

99
Our strong commitment to compatibility since the 1.0 release remains unchanged. New functionality
1010
that has not yet stabilized is published under feature flags, so the only breaking changes that we
1111
expect to publish are those that affect the unstable features, or, as always, safety bugfixes.
1212

13+
## Version 1.1.0
14+
15+
### New Features
16+
17+
* [Extractors API](https://docs.rs/neon/1/neon/types/extract/index.html)
18+
* [`#[export]` macro](https://docs.rs/neon/1/neon/attr.export.html)
19+
* [`npm init neon -- --lib`](https://www.npmjs.com/package/create-neon)
20+
* [`JsBox::deref()`](https://docs.rs/neon/1/neon/types/struct.JsBox.html#method.deref)
21+
* [`Handle<'_, JsBox>::as_inner()`](https://docs.rs/neon/1/neon/handle/struct.Handle.html#method.as_inner)
22+
23+
### Bugfixes
24+
25+
* Fix panic when borrowing empty buffer or typed array (https://github.com/neon-bindings/neon/pull/1058)
26+
* Fix build script behavior based on cargo diagnostics format change (https://github.com/neon-bindings/neon/pull/1039)
27+
1328
## Version 1.1.0-alpha.2
1429

15-
## Breaking Changes (unstable features only)
30+
### Breaking Changes (unstable features only)
1631

1732
* Convert snake_case to camelCase when exporting functions (https://github.com/neon-bindings/neon/pull/1084)
1833
* Remove `FromArgs` impl on `T: TryFromJs` and add `cx.{arg, arg_opt}` (https://github.com/neon-bindings/neon/pull/1096)
1934

20-
## Other
35+
### Other
2136

2237
* Relax lifetime constraints on `With` (https://github.com/neon-bindings/neon/pull/1086)
2338
* Add `JsBox::{deref, as_inner}` to get long-lived reference to JsBox contents (https://github.com/neon-bindings/neon/pull/1087)
@@ -26,15 +41,15 @@ expect to publish are those that affect the unstable features, or, as always, sa
2641

2742
## Version 1.1.0-alpha.1
2843

29-
## Breaking Changes (unstable features only)
44+
### Breaking Changes (unstable features only)
3045

3146
* `TryIntoJs` and `TryFromJs` take `Cx` instead of generic `Context` (https://github.com/neon-bindings/neon/pull/1062)
3247

33-
## Bugfixes
48+
### Bugfixes
3449

3550
* Fix panic when borrowing empty buffer or typed array (https://github.com/neon-bindings/neon/pull/1058)
3651

37-
## Other
52+
### Other
3853

3954
* More reliable checking for `Result` types in `#[export]` (https://github.com/neon-bindings/neon/pull/1057)
4055
* Allow users to take `Cx` instead of generic `Context` (https://github.com/neon-bindings/neon/pull/1048)
@@ -45,11 +60,11 @@ expect to publish are those that affect the unstable features, or, as always, sa
4560

4661
## Version 1.1.0-alpha.0
4762

48-
## Bugfixes
63+
### Bugfixes
4964

5065
* Fix build script behavior based on cargo diagnostics format change (https://github.com/neon-bindings/neon/pull/1039)
5166

52-
## Other
67+
### Other
5368

5469
* Added Extractors API (https://github.com/neon-bindings/neon/pull/1024)
5570
* Added `#[export]` macro (https://github.com/neon-bindings/neon/pull/1025)

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 = "1.1.0-alpha.2"
3+
version = "1.1.0"
44
authors = ["Dave Herman <[email protected]>"]
55
description = "Procedural macros supporting Neon"
66
repository = "https://github.com/neon-bindings/neon"

crates/neon/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"
3-
version = "1.1.0-alpha.2"
3+
version = "1.1.0"
44
authors = ["Dave Herman <[email protected]>"]
55
description = "A safe abstraction layer for Node.js."
66
readme = "../../README.md"
@@ -31,7 +31,7 @@ linkme = "0.3.33"
3131
semver = "1.0.20"
3232
smallvec = "1.11.2"
3333
once_cell = "1.18.0"
34-
neon-macros = { version = "=1.1.0-alpha.2", path = "../neon-macros" }
34+
neon-macros = { version = "=1.1.0", path = "../neon-macros" }
3535
aquamarine = { version = "0.3.2", optional = true }
3636
easy-cast = { version = "0.5.2", optional = true }
3737
doc-comment = { version = "0.3.3", optional = true }

0 commit comments

Comments
 (0)