Repository navigation
Conversation
…and port the apify-client-js v3 changes Spec sync: deployment filter on run lists, includeInputSchema on the Store list, user limits and monthly usage by user id, Run.standby (Server Actor tenancy) and the other new model fields. Ported from apify-client-js (v3 branch): timeout tiers (#1046), configurable request compression (#1065), default headers (#1058), normalized format:uri fields (#1045), pushItems shape check (#1066), raw byte[]/String Actor input (#1078), path-segment encoding of resource ids (#1011), serialize-once batchAddRequests (#1051), RunClient.iterateDatasetItems (#1085) and the listing replica-lag wait of the integration tests (#1090).
…normalization, tail probe)
…d polls under withTimeout, document cancellation
… still opening, exempt polls from withTimeout
…ed just after the call ended
…eoutMax, stream cancel leak, copy isolation)
…e copy() follow JDK contract
This branch has not been deployed
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.
Syncs the Java client with the Apify OpenAPI specification
v2-2026-10-29T100357Z(apify-docs #3115, #3117, #3118, #3125, #3130; apify-client-js #1176, #1178). It also ports the apify-client-js PRs that targeted the deletedv3branch. Version 0.12.0. This PR replaces #26 and adds the fixes from a later full review.Highlights
SHORT/MEDIUM/LONG/NO_TIMEOUT/of(Duration), with builder setters andApifyClient.withTimeout(Timeout). AwaitForFinishhold extends its request's timeout and is no longer silently dropped.BrotliHttpCompressorandGzipHttpCompressor(default level 6). Default headers are set withApifyClientBuilder.header(...).RunListOptions.deployment,StoreListOptions.includeInputSchema, user limits and usage for any user id, and new typed model fields (incl.ActorRun.getStandby()).format: urifields are normalized.pushItems: shape validation, and no retry after a timeout.batchAddRequests: each request is serialized once.call()'s log redirection.CancellableFuture.copy()cancels only the copy, and a streaming response that races a cancel is closed.RunClient.iterateDatasetItems(...): iterates a run's default dataset while the run is still producing items.ApifyClientBuilder.timeout(Duration)andBuild.getChangelog()are deprecated.See
CHANGELOG.md(0.12.0) for the full list.Testing
mvn spotless:checkandmvn clean verify spotbugs:checkwithAPIFY_TOKENpass: 354 tests, including the live integration, examples and doc-snippet tests, with 0 SpotBugs findings.Generated by Claude Code