3.80.1
(fix): Make the structured User-Agent (emitted when includePlatformHeaders is
enabled) comply with the RFC 7230 token grammar. The npm package name is now
percent-encoded in the product token so the @ and / of a scoped package
are escaped (e.g. @dummy/sdk/0.0.1 becomes %40dummy%2Fsdk/0.0.1); the
original name can be recovered by URL-decoding. The architecture label is also
normalized so the 64-bit x86 aliases (x64, amd64, x86_64) all report as
the canonical x86_64.
3.80.0
(feat): Add opt-in support for a structured User-Agent header of the form
{sdkName}/{version} ({os}; {arch}) {runtime}/{runtimeVersion}, matching the
Twilio helper-library shape. This is gated behind the includePlatformHeaders
config option and is disabled by default, so existing generated output is
unchanged. When enabled, the platform + runtime information is consolidated
into the User-Agent and the discrete X-Fern-Runtime / X-Fern-Runtime-Version
headers are omitted. The platform group and runtime segment are dropped
gracefully in environments where they cannot be determined (e.g. browsers),
and the header remains subject to omitFernHeaders.