From ba35a2d61ad72e9867807f977e796213455e8f4b Mon Sep 17 00:00:00 2001 From: thesandlord <8902396+thesandlord@users.noreply.github.com> Date: Mon, 2 Nov 2026 18:46:47 +0000 Subject: [PATCH] update changelogs --- .../sdks/generators/rust/changelog/2026-11-02.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fern/products/sdks/generators/rust/changelog/2026-11-02.mdx diff --git a/fern/products/sdks/generators/rust/changelog/2026-11-02.mdx b/fern/products/sdks/generators/rust/changelog/2026-11-02.mdx new file mode 100644 index 000000000..7aafcd403 --- /dev/null +++ b/fern/products/sdks/generators/rust/changelog/2026-11-02.mdx @@ -0,0 +1,8 @@ +## 0.53.6 +**`(fix):`** Drop the discriminant property from inlined discriminated-union variants. When a variant's object +also declared the discriminant (e.g. an OpenAPI `allOf` member with `protocol: const: API`), the +inlined variant got a `protocol` field next to `#[serde(tag = "protocol")]`, which fails to compile +with "variant field name `protocol` conflicts with internal tag". The variant's generated constructors +no longer take a parameter for the discriminant; serde writes it from the tag. + +