Skip to content

feat: add zstd compression and parentRequestId, sync with Apify OpenAPI spec v2-2026-11-09T143926Z - #29

Merged
Pijukatel merged 8 commits into
masterfrom
claude/bold-wright-d87ffi
Nov 11, 2026
Merged

Pijukatel merged 8 commits into
masterfrom
claude/bold-wright-d87ffi

Conversation

@Pijukatel

Copy link
Copy Markdown
Collaborator

Summary

Syncs the Java client with OpenAPI spec v2-2026-11-09T143926Z (apify/apify-docs#3084, #3173, #3199) and apify-client-js #1198, #1200 and #1205. Applies requirement updates from apify/apify-client-orchestration#66 and #67, cleans up docs and comments, and fixes StreamedLog stop and close bugs. The version goes to 0.14.0.

Spec sync

  • The spec adds zstd as a Content-Encoding value. The other changes are description-only.
  • #3084: actorPath was already modelled.

zstd request compression (JS #1200)

  • New ZstdHttpCompressor (levels 1–19, default 3). Needs the optional com.github.luben:zstd-jni dependency.
  • Opt-in. Brotli stays the default.

parentRequestId for Server Actor requests (JS #1198)

  • ActorServerRequestOptions.parentRequestId(String) sends X-Actor-Request-ID and replaces a duplicate set through header(...).
  • Documented in the README and docs/ with a snippet.
  • JS #1205 only regenerates JS types, so nothing was ported.

StreamedLog fixes

  • Stopping no longer interrupts a running consumer.
  • close() called from the consumer no longer deadlocks against another closer.
  • An interrupted stop() no longer leaks the reader.
  • Behavior change: after a stop from the consumer, start() throws until a stop() or close() from another thread has joined the reader.
  • Each fix has a regression test.

Docs and comments cleanup

  • Removed reference-client provenance, history remarks and JS-client references from javadoc, comments, tests and docs.
  • Shortened the longest comment blocks and replaced em dashes in the README and docs/.
  • Removed the log-race workaround in IntegrationBase, which StreamedLog no longer needs.

Generated by Claude Code

…ion and parentRequestId, trim comments

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
…ocs, stop interrupting the log consumer

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
…gistered after a stop from the consumer

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
@Pijukatel Pijukatel added adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. labels Nov 10, 2026 — with Claude
@apify-service-account apify-service-account added the tested Temporary label used only programatically for some analytics. label Nov 10, 2026
@Pijukatel
Pijukatel merged commit b965b93 into master Nov 11, 2026
2 of 6 checks passed
@Pijukatel
Pijukatel deleted the claude/bold-wright-d87ffi branch November 11, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants