1.47.2
(fix): Normalize the architecture label in the structured User-Agent (emitted when
includePlatformHeaders is enabled) so the 64-bit x86 aliases (x64,
amd64, x86_64) all report as the canonical x86_64, keeping the value
consistent across generators.
1.47.1
(fix): Decompress gzip-encoded response bodies when the Accept-Encoding header is set
explicitly on the request. Go’s net/http only performs transparent gzip
decompression when it adds the Accept-Encoding header itself, so responses to
requests with a spec-defined Accept-Encoding: gzip header were previously
returned as raw gzip bytes.
1.47.0
(feat): Add opt-in support for a structured User-Agent header on generated SDK
clients for better runtime/platform observability. When enabled, the header
takes the form {sdkName}/{sdkVersion} ({os}; {arch}) Go/{version}, where the
operating system (runtime.GOOS), architecture (runtime.GOARCH), and Go
runtime version (runtime.Version()) are all resolved at runtime; unknown
components are omitted rather than reported as empty. This behavior is gated
behind a new includePlatformHeaders config option and is disabled by
default, so existing generated output is unchanged. When enabled it is still
subject to omitFernHeaders and is omitted when that is set.