Skip to content

v8.1.0

Compare
Choose a tag to compare
@NyxCode NyxCode released this 22 Mar 13:55
· 51 commits to main since this release

v8.1.0 is a mostly a small follow-up to v8.0.0, fixing a couple of rough edges.

We expect v8.1.0 to be fully compatible to v8.0.0.

Additionally, we've added support for serde_json behind the serde-json-impl cargo feature.
This might seem like a small change, but a lot of work over the past months has now paid off and made cleanly supporting serde_json::Value possible.

Features

  • Add #[ts(crate = "..")] to allow usage of #[derive(TS)] from other proc-macro crates (#274)
  • Add support types from serde_json behind cargo feature serde-json-impl (#276)
  • HashMap and similar types are now represented as { [key: K]: V } instead of Record<K, V> (#277)

Fixes

  • Macro expansion for types with generic parameters now works without the TS trait in scope (#281)
  • Fix flattening a struct that contains a flattened enum (#282)

Full Changelog: v8.0.0...v8.1.0