4.16.0
(feat): Add an opt-in runtime-version config flag. When enabled, the SDK version reported
in the telemetry headers (X-Fern-SDK-Version and the version segment of
User-Agent) is resolved at runtime from the jar manifest’s Implementation-Version
attribute instead of being baked in as a literal at generation time. The generated
build.gradle records the project version in the jar manifest, so an external tool such
as release-please only has to rewrite a single version line for the reported version
to track the actually-published artifact — rather than a version the SDK may never
publish. Falls back to the generation-time version when the manifest attribute is
absent (e.g. running from unpackaged classes). Disabled by default, so existing
generated output is unchanged, and subject to omitFernHeaders.
4.15.5
(fix): Resolve the X-Fern-SDK-Name header from the configured Maven coordinate in
GitHub output mode. Previously the header was read from the (Fiddle-synthesized)
publish config, so it emitted com.<org>.fern:<workspace>-sdk instead of the
coordinate the user configured under output.coordinate, leaving it inconsistent
with the User-Agent product token. The header now reads
output.mode.github.publishInfo.maven.coordinate, which is populated for both
remote and --local generation. Also emits X-Fern-SDK-Version in cases where a
coordinate resolves without a version previously being set.