Skip to content

Release 17.9.1: add response decompression#185

Merged
gavinsharp merged 7 commits into
mainfrom
fern-bot/2026-07-10_20-48-27_487
Jul 10, 2026
Merged

Release 17.9.1: add response decompression#185
gavinsharp merged 7 commits into
mainfrom
fern-bot/2026-07-10_20-48-27_487

Conversation

@fern-api

@fern-api fern-api Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

17.9.0 → 17.9.1

Regenerates the Java SDK with a default-client response decompression interceptor. No endpoint or typed API surface changed.

Changed

  • ResponseDecompressionInterceptor — generated default-client interceptor for decoding compressed responses when callers set Accept-Encoding explicitly.

Migration notes

No consumer migration required.

fern-api Bot and others added 4 commits July 10, 2026 20:48
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-java-sdk: 4.13.0
…zip/deflate support

Add a new ResponseDecompressionInterceptor that transparently decompresses
gzip and deflate encoded response bodies. OkHttp only performs transparent
decompression when it adds the Accept-Encoding header itself; this interceptor
ensures responses to requests with an explicitly set Accept-Encoding header
are correctly decompressed rather than returned as raw compressed bytes.

Also updates code-examples.json and openapi.json to reflect the latest spec
commit (adding the /construe/phenocr endpoint examples already shipped in
17.9.0).

Key changes:
- Add `ResponseDecompressionInterceptor` supporting gzip, x-gzip, and deflate Content-Encoding
- Register `ResponseDecompressionInterceptor` in `ClientOptions` OkHttp client builder
- Sync code-examples.json and openapi.json to spec commit 8633a870

🌿 Generated with Fern

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit c34df8c. Configure here.

@gavinsharp gavinsharp changed the title feat: add response decompression interceptor for gzip/deflate support Release 17.9.1: fix response decompression Jul 10, 2026
@gavinsharp gavinsharp changed the title Release 17.9.1: fix response decompression Release 17.9.1: add response decompression Jul 10, 2026
@gavinsharp gavinsharp merged commit 98c8d4b into main Jul 10, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant