neon-bindings/neon
### [`v0.7.0`](https://togithub.com/neon-bindings/neon/blob/master/RELEASES.md#Version-070)
[Compare Source](https://togithub.com/neon-bindings/neon/compare/0.6.0...0.7.0)
#### N-API
##### Version Selection
Neon supports a large number of different Node versions which may have different N-API requirements. Neon now supports selecting the minimum required N-API version required by a module. For example, for N-API Version 4:
```toml
neon = { version = "0.7", default-features = false, features = ["napi-4"] }
```
If the Neon module is loaded in an older version of Node that does not support that N-API version, a `panic` message will inform the user.
##### Threadsafe Functions
A prerelease version of `EventQueue` for calling into the main JavaScript thread from Rust threads can be enabled with the `event-queue-api` feature flag. The API is considered unstable and may change in the future until the [RFC](https://togithub.com/neon-bindings/rfcs/pull/32) is merged.
### [`v0.6.0`](https://togithub.com/neon-bindings/neon/blob/master/RELEASES.md#Version-060)
[Compare Source](https://togithub.com/neon-bindings/neon/compare/0.5.3...0.6.0)
The `cx.try_catch(..)` API has been updated to return `T: Sized` instead of `T: Value` ([#631](https://togithub.com/neon-bindings/neon/pull/631)). This API is strictly more powerful and allows users to return both JavaScript and Rust values from `try_catch` closures.
#### N-API
- N-API symbols are now loaded dynamically ([#646](https://togithub.com/neon-bindings/neon/pull/646))
- Build process for N-API is greatly simplified by leveraging dynamic loading ([#647](https://togithub.com/neon-bindings/neon/pull/647))
Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^0.5.3
->^0.7.0
Release Notes
neon-bindings/neon
### [`v0.7.0`](https://togithub.com/neon-bindings/neon/blob/master/RELEASES.md#Version-070) [Compare Source](https://togithub.com/neon-bindings/neon/compare/0.6.0...0.7.0) #### N-API ##### Version Selection Neon supports a large number of different Node versions which may have different N-API requirements. Neon now supports selecting the minimum required N-API version required by a module. For example, for N-API Version 4: ```toml neon = { version = "0.7", default-features = false, features = ["napi-4"] } ``` If the Neon module is loaded in an older version of Node that does not support that N-API version, a `panic` message will inform the user. ##### Threadsafe Functions A prerelease version of `EventQueue` for calling into the main JavaScript thread from Rust threads can be enabled with the `event-queue-api` feature flag. The API is considered unstable and may change in the future until the [RFC](https://togithub.com/neon-bindings/rfcs/pull/32) is merged. ### [`v0.6.0`](https://togithub.com/neon-bindings/neon/blob/master/RELEASES.md#Version-060) [Compare Source](https://togithub.com/neon-bindings/neon/compare/0.5.3...0.6.0) The `cx.try_catch(..)` API has been updated to return `T: Sized` instead of `T: Value` ([#631](https://togithub.com/neon-bindings/neon/pull/631)). This API is strictly more powerful and allows users to return both JavaScript and Rust values from `try_catch` closures. #### N-API - N-API symbols are now loaded dynamically ([#646](https://togithub.com/neon-bindings/neon/pull/646)) - Build process for N-API is greatly simplified by leveraging dynamic loading ([#647](https://togithub.com/neon-bindings/neon/pull/647))Renovate configuration
:date: Schedule: "before 3am on the first day of the month" (UTC).
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.