diff --git a/CHANGELOG.md b/CHANGELOG.md index fce6d7a..4be78a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # master -- Remove support for "skip_serializing", "skip_serializing_if" and "skip_deserializing". +### Breaking +- Export types as `type` instead of `ìnterface` ([#203](https://github.com/Aleph-Alpha/ts-rs/pull/203)) +- Automatically export all dependencies when using `#[ts(export)]`, add `TS::dependency_types()` ([#221](https://github.com/Aleph-Alpha/ts-rs/pull/221)) +- Remove support for "skip_serializing", "skip_serializing_if" and "skip_deserializing". ([#204](https://github.com/Aleph-Alpha/ts-rs/pull/204)) - Initially supporting these by skipping a field was a mistake. If a user wishes to skip a field, they can still - annotate it with `#[ts(skip)]` \ No newline at end of file + annotate it with `#[ts(skip)]` + +### Features +- Implement `#[ts(as = "..")]` ([#174](https://github.com/Aleph-Alpha/ts-rs/pull/174)) +- For small arrays, generate tuples instead of `Array` ([#209](https://github.com/Aleph-Alpha/ts-rs/pull/209)) +- Implement `#[ts(optional = nullable)]` ([#213](https://github.com/Aleph-Alpha/ts-rs/pull/213)) +- Allow inlining of fields with generic types ([#212](https://github.com/Aleph-Alpha/ts-rs/pull/212), [#215](https://github.com/Aleph-Alpha/ts-rs/pull/215), [#216](https://github.com/Aleph-Alpha/ts-rs/pull/216)) +- Allow flattening enum fields ([#206](https://github.com/Aleph-Alpha/ts-rs/pull/206)) +- Add `semver-impl` cargo feature with support for the *semver* crate ([#176](https://github.com/Aleph-Alpha/ts-rs/pull/176)) +- Support `HashMap` with custom hashers ([#173](https://github.com/Aleph-Alpha/ts-rs/pull/173)) +- Add `import-esm` cargo feature to import files with a `.js` extension ([#192](https://github.com/Aleph-Alpha/ts-rs/pull/192)) + +### Fixes +- `rename_all` with `camelCase` produces wrong names if fields were already in camelCase ([#198](https://github.com/Aleph-Alpha/ts-rs/pull/198)) +- Improve support for references ([#199](https://github.com/Aleph-Alpha/ts-rs/pull/199)) +