v8.1.0
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 featureserde-json-impl
(#276) HashMap
and similar types are now represented as{ [key: K]: V }
instead ofRecord<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