diff --git a/fern/products/sdks/generators/csharp/changelog/2026-07-16.mdx b/fern/products/sdks/generators/csharp/changelog/2026-07-16.mdx index 6ebb029ab..9caeeecc6 100644 --- a/fern/products/sdks/generators/csharp/changelog/2026-07-16.mdx +++ b/fern/products/sdks/generators/csharp/changelog/2026-07-16.mdx @@ -1,10 +1,16 @@ +## 2.76.3 +**`(fix):`** The README "Environments" usage example now passes the client options via the +`clientOptions:` named argument so the generated snippet compiles. The root +client constructor's first positional parameter is the auth token string, so +the previous `new Client(new ClientOptions { ... })` snippet passed +`ClientOptions` where a `string?` token was expected. + + ## 2.76.2 -**`(fix):`** A generated nested type whose name matches the SDK's root namespace segment (e.g. -a union variant `acme` that produces a nested `Acme` struct inside -`ConnectionResponse` in the `Acme.Api` namespace) now emits `global::`-qualified -references. Previously such a nested type shadowed the namespace root within its -enclosing type's body, so references like `Acme.Api.SomeType` resolved to the -nested type and failed to compile with CS0426. The `global::` qualifier is applied +**`(fix):`** A generated nested type whose name matches the SDK's root namespace segment now emits +`global::`-qualified references. Previously such a nested type shadowed the namespace +root within its enclosing type's body, so references like `Acme.Api.SomeType` resolved to the +nested type and failed to compile. The `global::` qualifier is applied only to references written inside the enclosing type where the shadow is visible, so unrelated references to the same root segment elsewhere in the SDK are left unqualified.