Repository navigation
feat: sync Rust client with Apify OpenAPI spec v2-2026-10-01T153946Z - #27
Merged
Merged
Conversation
Adds Build::image_digest, raw-bytes Actor/run input (start_raw/call_raw/ metamorph_raw), Dataset::create_items_public_url_with_format, ApiError status predicates, and a base_url /v2 double-append fix, matching the reference JS client's current master. Also skips compressing already-compressed request bodies and fixes LogClient::stream to surface a structured ApiError on failure. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STUGToGEaEFoBGRbWTvF4m
Per review: the Changed bullet described an out-of-scope/not-implemented spec delta (rate-limiting doc prose, a dropped contact-support note), which the changelog content rules forbid. Keep only the spec/crate version bumps. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01STUGToGEaEFoBGRbWTvF4m
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 Rust client from OpenAPI spec
v2-2026-09-24T114302Ztov2-2026-10-01T153946Z(apify/apify-docs#2975, apify/apify-docs#3024, apify/apify-docs#3037) and ports the Rust-relevant changes from the referenceapify-client-jsv3 batch (apify/apify-client-js#985 … #1104). JS PRs that were doc-only, JS-internal refactors, or already covered by earlier syncs needed no Rust change.Build::image_digestfield (spec #3037)./v2being appended twice inApifyClientBuilder::base_url/public_base_url(matches JStoApiBaseUrl, apify-client-js#1077).ActorClient::start_raw/call_rawandRunClient::metamorph_rawfor raw-bytes Actor input (apify-client-js#1099). Not added toTaskClient, since task input stays object-only in JS.DatasetClient::create_items_public_url_with_format(apify-client-js#1100).LogClient::stream/stream_with_optionsnow return a structuredApiErroron failure instead of a generic transport error (apify-client-js#1055).ApiError::is_not_found/is_rate_limited/is_server_erroretc., the idiomatic counterpart of JS's new error subclasses.src/lib.rs/README.mdas the Rust counterpart of JS'sAbortSignalsupport (apify-client-js#1081).Tests added or updated in
tests/unit_http.rs,tests/client_meta.rs,tests/build.rs,tests/actor_run.rsandsrc/client.rs. Docs (docs/actors.md,docs/runs.md,docs/storages.md,README.md) andCHANGELOG.mdupdated. Crate version bumped0.10.2→0.11.0(minor, new API surface).Review
Reviewed via
/review-client: one round rejected (a CHANGELOG entry referenced out-of-scope spec prose), fixed in8c535ff, then Approved with no open items.Test plan
cargo fmt --all -- --checkcargo clippy --all-targets -- -D warningscargo testagainst the live API withAPIFY_TOKEN(all pass)cargo test --docand theTest examplesstep (all pass)Generated by Claude Code