1.0.0-alpha.17

This commit is contained in:
Graham Esau 2024-12-02 22:19:33 +00:00
parent b54680e7dc
commit ae4fe29592
6 changed files with 13 additions and 8 deletions

View file

@ -1,5 +1,11 @@
# Changelog
## [1.0.0-alpha.17] - 2024-12-02
### Changed
- For newtype variants of internally-tagged enums, prefer referencing the inner type's schema via `$ref` instead of always inlining the schema (https://github.com/GREsau/schemars/pull/355) _(this change was included in the release notes for 1.0.0-alpha.16, but was accidentally excluded from the published crate)_
## [1.0.0-alpha.16] - 2024-11-25
### Removed (_⚠ breaking changes ⚠_)
@ -10,7 +16,6 @@
- MSRV is now 1.70
- [The `example` attribute](https://graham.cool/schemars/deriving/attributes/#example) value is now an arbitrary expression, rather than a string literal identifying a function to call. To avoid silent behaviour changes, the expression must not be a string literal where the value can be parsed as a function path - e.g. `#[schemars(example = "foo")]` is now a compile error, but `#[schemars(example = foo())]` is allowed (as is `#[schemars(example = &"foo")]` if you want the the literal string value `"foo"` to be the example).
- For newtype variants of internally-tagged enums, prefer referencing the inner type's schema via `$ref` instead of always inlining the schema (https://github.com/GREsau/schemars/pull/355)
### Fixed