Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions fern/products/sdks/overview/rust/changelog/2026-03-21.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## 0.24.0
**`(feat):`** Improve discriminated union design with inlined variants and constructors. When an inner
type is only referenced by a single union variant, its fields are now inlined directly into
the enum variant instead of using a wrapper struct with `#[serde(flatten)]`. All enum
variants now include `#[non_exhaustive]` for forward compatibility, and constructor methods
are generated for every variant (required since `#[non_exhaustive]` prevents direct
construction outside the crate). Empty variants use struct syntax (`Variant {}`) instead
of unit syntax.


## 0.23.0
**`(feat):`** Generate builders for all struct types. The builder pattern is inspired by
other popular Rust SDKs (e.g. AWS), so that users now have the option between the
Expand Down
Loading