Skip to content

Latest commit

 

History

History
127 lines (76 loc) · 4.54 KB

CHANGELOG.md

File metadata and controls

127 lines (76 loc) · 4.54 KB

Changelog

[6.1.0] - 2024-09-06

  • Add support SafeBuffer

[6.0.2] - 2023-11-17

  • Consider undefined/null for rust type Option

[6.0.1] - 2023-09-27

  • doc update

[6.0.0] - 2023-09-27

  • Fix segfault exposed due to node api implementation changes #259

[5.1.0] - 2023-01-24

Improvements

  • Add cross compilation support to nj-cli. (#182).
  • Add option to configure a custom logging backend (#174)
    • Note: without this global initialization applications need to setup their own logging infrastructure at startup
    • See the logging example that uses a custom logger

[5.0.0] - 2021-07-15

Improvements

  • Added support for automatic conversion of structs and enums into the JS representation by decorating their definition with #[node_bindgen] (#148 and #155)
  • Defined a NjError::Native Error payload, which allows errors to return structured data to JS
  • Result<T, E> converts the error value to JS using TryIntoJs for structured error payloads
  • Add support for passing tuples between Node and Rust (#142)
  • Bump electron from 9.3.1 to 9.4.0 in /examples/electron (#135)
  • Update JSArrayBuffer to be usable in env.convert_to_rust (#136)
  • Added missing unsigned and signed integer conversions to JS #158
  • serde_json is automatically serialized to it's JS representation (#159)
  • uuids are automatically serialized to JS (#160)

[4.3.0] - 2021-03-13

Improvements

  • update trybuild to point to infinyon repo
  • update dependencies
  • Bump dependency on nj-core to 4.1.3
  • Rename to_js to into_js in pub trait IntoJs

[4.2.2] - 2021-01-06

Fixed

  • Fix lifetime in JSValue for &str.

[4.2.1] - 2020-12-29

Improvements

  • Implement JSValue for &str (#126)
  • Add lifetime support for procedural macro (#127)

[4.1.1] - 2020-12-29

Improvements

  • Implement JSArrayBuffer with managed lifecycle of of ArrayBuffer directly (#121)
  • Add impl<T> TryIntoJs for Option<T> where T: TryIntoJs (#122)

Fixed

  • Fix arm64 builds (#120)

[4.1.0] - 2020-12-23

Improvements

  • Support for Dynamic Stream (#110)
  • Enforce Cargo fmt in CI (#113)

Fixed

  • Fixed multiple mutable borrow isse (#[115])
  • Made nj-cli exit non-zero when cargo build fails (#[105])

[4.0.0] - 2020-11-20

Improvements

Fixed

  • Fixed race condition for promise (#102)

[3.0.0] - 2020-10-14

  • Support for Passing Buffer to Rust
  • Support for Env cleanup

[2.1.0] - 2020-05-15

Improvements

  • Support for Typed Array Buffer (#24)
  • Support for Array (#26)

Fixed

  • Fixed conversion of () (#31)

[2.0.0] - 2020-05-011

Improvements

  • Refactor procedure macro (#21)
  • Support optional argument

Fixed

  • Proper support for boolean (#19)