File tree Expand file tree Collapse file tree
fern/products/sdks/overview/rust/changelog Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 0.24.0
2+ ** ` (feat): ` ** Improve discriminated union design with inlined variants and constructors. When an inner
3+ type is only referenced by a single union variant, its fields are now inlined directly into
4+ the enum variant instead of using a wrapper struct with ` #[serde(flatten)] ` . All enum
5+ variants now include ` #[non_exhaustive] ` for forward compatibility, and constructor methods
6+ are generated for every variant (required since ` #[non_exhaustive] ` prevents direct
7+ construction outside the crate). Empty variants use struct syntax (` Variant {} ` ) instead
8+ of unit syntax.
9+
10+
111## 0.23.0
212** ` (feat): ` ** Generate builders for all struct types. The builder pattern is inspired by
313other popular Rust SDKs (e.g. AWS), so that users now have the option between the
You can’t perform that action at this time.
0 commit comments