From 4065b16eedccb8aee87db516b13ffb00321e37bc Mon Sep 17 00:00:00 2001 From: dsinghvi <10870189+dsinghvi@users.noreply.github.com> Date: Fri, 1 May 2026 18:58:34 +0000 Subject: [PATCH] update changelogs --- .../generators/csharp/changelog/2026-05-01.mdx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fern/products/sdks/generators/csharp/changelog/2026-05-01.mdx diff --git a/fern/products/sdks/generators/csharp/changelog/2026-05-01.mdx b/fern/products/sdks/generators/csharp/changelog/2026-05-01.mdx new file mode 100644 index 000000000..3ed9a8903 --- /dev/null +++ b/fern/products/sdks/generators/csharp/changelog/2026-05-01.mdx @@ -0,0 +1,18 @@ +## 2.64.2 +**`(fix):`** Dedup auth-derived headers in the generated client constructor when +multiple auth schemes resolve to the same HTTP header name (for +example, an oauth2 bearer scheme plus an apiKey-in-header scheme +both named `Authorization`). Previously the constructor's +`Dictionary` collection initializer added the same +key twice and threw `System.ArgumentException: An item with the +same key has already been added` at runtime. Earlier auth schemes +win, preserving the ordering established by the IR. + + +**`(fix):`** Fix literal boolean auth-header values being emitted as `"True"` regardless +of the configured value. The generated client constructor's auth-header +dictionary tested the truthiness of the `Literal` discriminated-union +object instead of reading its `boolean` field, so a literal `false` header +incorrectly produced `"True"`. + +