Repository navigation
feat!: add zstd compression and parentRequestId, sync with Apify OpenAPI spec v2-2026-11-09T143926Z - #22
Merged
Conversation
…mpression and parentRequestId, trim docs and comments Adds ZstdHttpCompressor and ActorServerRequestOptions::parentRequestId, bumps the spec version, and removes redundant, outdated and wordy comments and documentation. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
Fails fast for a codec without its extension, names the compressor limits, builds the default compression from the compressors, adds SetRecordOptions to setRecordJson(), adds zstd integration tests and a CI job, and fixes the review comments on prose. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
…n test, raise PHPStan to level 8 Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ocuAJkLeAK9WauXA9zCTU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Syncs the PHP client with OpenAPI spec
v2-2026-11-09T143926Z(apify/apify-docs#3173, #3199) and apify-client-js #1198, #1200 and #1205. Applies requirement updates from apify/apify-client-orchestration#66 and #67, and cleans up docs and comments.CLIENT_VERSIONgoes to 0.14.0 (breaking).Spec sync
zstdis documented as aContent-Encodingvalue.zstd request compression (JS #1200)
ZstdHttpCompressor(levels 1–19, default 3) andcompression: 'zstd'. Needs the PECLzstdextension.integration-zstdCI job. It fails if the extension or the token is missing.parentRequestIdfor Server Actor requests (JS #1198)ActorServerRequestOptions::$parentRequestId, sent asX-Actor-Request-ID.Other changes
setRecordJson()takes an optionalSetRecordOptions.Docs and comments cleanup
src/,tests/,README.md,docs/and the workflows. These edits change no code.Breaking changes
compression: 'brotli','gzip'or'zstd', and the three compressor classes, now throwRuntimeExceptionwhen their PHP extension is missing, instead of sending the body uncompressed. The default setting stays best-effort. Listed in the CHANGELOG.Generated by Claude Code