4.13.0
(feat): Add opt-in support for a structured User-Agent header on generated SDK clients,
of the form {sdkName}/{sdkVersion} ({os}; {arch}) {runtime}/{runtimeVersion}
(e.g. com.fern:sdk/0.0.1 (linux; amd64) Java/17.0.13). The os
(System.getProperty("os.name"), lowercased), arch (System.getProperty("os.arch")),
and runtime version (System.getProperty("java.version")) are resolved at runtime;
any segment that cannot be determined is omitted rather than emitted as null.
This is gated behind a new includePlatformHeaders config option and is disabled by
default, so existing generated output is unchanged. When enabled, the header is still
subject to omit-fern-headers.
4.12.1
(fix): Decompress gzip and deflate encoded response bodies via a new
ResponseDecompressionInterceptor added to the generated OkHttpClient.
OkHttp 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.