Skip to content
Merged

v1.1.0 #1103

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,37 @@

`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`.

# Version 1.1.0 (Alpha)
# Version 1.1.0

## Continued Commitment to Compatibility

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

## Version 1.1.0

### New Features

* [Extractors API](https://docs.rs/neon/1/neon/types/extract/index.html)
* [`#[export]` macro](https://docs.rs/neon/1/neon/attr.export.html)
* [`npm init neon -- --lib`](https://www.npmjs.com/package/create-neon)
* [`JsBox::deref()`](https://docs.rs/neon/1/neon/types/struct.JsBox.html#method.deref)
* [`Handle<'_, JsBox>::as_inner()`](https://docs.rs/neon/1/neon/handle/struct.Handle.html#method.as_inner)

### Bugfixes

* Fix panic when borrowing empty buffer or typed array (https://github.com/neon-bindings/neon/pull/1058)
* Fix build script behavior based on cargo diagnostics format change (https://github.com/neon-bindings/neon/pull/1039)

## Version 1.1.0-alpha.2

## Breaking Changes (unstable features only)
### Breaking Changes (unstable features only)

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

## Other
### Other

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

## Version 1.1.0-alpha.1

## Breaking Changes (unstable features only)
### Breaking Changes (unstable features only)

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

## Bugfixes
### Bugfixes

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

## Other
### Other

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

## Version 1.1.0-alpha.0

## Bugfixes
### Bugfixes

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

## Other
### Other

* Added Extractors API (https://github.com/neon-bindings/neon/pull/1024)
* Added `#[export]` macro (https://github.com/neon-bindings/neon/pull/1025)
Expand Down
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 = "1.1.0-alpha.2"
version = "1.1.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/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "neon"
version = "1.1.0-alpha.2"
version = "1.1.0"
authors = ["Dave Herman <[email protected]>"]
description = "A safe abstraction layer for Node.js."
readme = "../../README.md"
Expand Down Expand Up @@ -31,7 +31,7 @@ linkme = "0.3.33"
semver = "1.0.20"
smallvec = "1.11.2"
once_cell = "1.18.0"
neon-macros = { version = "=1.1.0-alpha.2", path = "../neon-macros" }
neon-macros = { version = "=1.1.0", path = "../neon-macros" }
aquamarine = { version = "0.3.2", optional = true }
easy-cast = { version = "0.5.2", optional = true }
doc-comment = { version = "0.3.3", optional = true }
Expand Down