Skip to content

Releases: ratchetdesigns/ts-bindgen

v0.5.0

12 Mar 17:30
Compare
Choose a tag to compare

[0.5.0] - 2022-03-12

BREAKING CHANGE

  • generate Vec<> for rust-exposed variadic arguments instead of Box<[]>

Fixed

  • fix variadic argument handling
  • fix handling of voids in overloaded functions

v0.4.0

21 Feb 19:44
Compare
Choose a tag to compare

[0.4.0] - 2022-02-20

BREAKING CHANGE

  • generate typescript union variant names without a "Case" suffix

Fixed

  • fix clippy issues with generated code

v0.3.0

21 Feb 18:22
Compare
Choose a tag to compare

[0.3.0] - 2022-02-19

BREAKING CHANGE

  • js-sys types are now generated as the proper js-sys type instead of as JsValue. #3
  • overloaded functions and methods now have a _FnXToY suffix #4

Added

Fixed

  • fix array serialization

v0.2.0

21 Feb 18:20
Compare
Choose a tag to compare

[0.2.0] - 2022-02-06

BREAKING CHANGE

  • web-sys types are now generated as the proper web-sys type instead of as JsValue. #1

Added

  • recognize and use corresponding web-sys builtins for types. #1

Fixed

  • make type flattening recursive. #2

v0.1.0

31 Jan 04:53
Compare
Choose a tag to compare
chore: fix keywords