Skip to content

feat: update client for Apify OpenAPI spec v2-2026-06-23T113219Z - #6

Merged
Pijukatel merged 2 commits into
masterfrom
claude/quirky-mccarthy-60upn4
Jun 24, 2026
Merged

feat: update client for Apify OpenAPI spec v2-2026-06-23T113219Z#6
Pijukatel merged 2 commits into
masterfrom
claude/quirky-mccarthy-60upn4

Conversation

@Pijukatel

Copy link
Copy Markdown
Collaborator

Summary

Synchronizes the Rust client with the latest Apify OpenAPI specification, bumping the targeted spec version from v2-2026-06-18T095846Z to v2-2026-06-23T113219Z.

A full parameter-level audit of every in-scope operation against the existing client confirmed the delta over the in-scope surface is fully additive — no new in-scope endpoints, no removed or renamed parameters, no path changes. The existing client already covers all in-scope endpoints, query/header params and request bodies; response models flatten unknown fields (or are serde-default tolerant), so additive schema changes deserialize cleanly. The documented out-of-scope set (synchronous run-sync*, /v2/tools/*, /v2/browser-info, keyed-POST create variants) still matches the apify-client-js reference scope.

Changes

  • src/version.rsAPI_SPEC_VERSION bumped to v2-2026-06-23T113219Z.
  • Cargo.toml — crate version 0.2.30.2.4 (additive spec sync; also exposed via CLIENT_VERSION).
  • CHANGELOG.md — new [0.2.4] entry.
  • README.md — added a sentence near the first call example explaining the call::<T>(...) input-type parameter / turbofish.
  • examples/get_account.rs — reworded a comment to a user-facing description of monthly_usage_for_date.

Verification

  • cargo fmt --all -- --check and cargo clippy --all-targets -- -D warnings clean.
  • Unit + integration tests pass against the live API (APIFY_TOKEN); cargo test --doc 22 doctests pass; all 7 example programs run end-to-end via the Test examples step.

No public-interface change.


Generated by Claude Code

claude added 2 commits June 23, 2026 21:23
Bump API_SPEC_VERSION from v2-2026-06-18T095846Z to v2-2026-06-23T113219Z and
the crate version 0.2.3 -> 0.2.4.

The spec delta over the in-scope (documented, non-synchronous,
reference-client-matching) API surface is fully additive: no new in-scope
endpoints, no removed or renamed parameters. All in-scope endpoints,
query/header parameters and request bodies declared by the new specification
remain covered, and the response models stay forward-compatible (unknown fields
are captured in each model's `extra` map where present, otherwise ignored by
serde), so additive schema changes deserialize cleanly. No public-interface
changes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PysAtjinByQsN776iVSHX2
…gelog intro

Address the three non-blocking docs/CHANGELOG nits from the orchestrator
review of the v2-2026-06-23T113219Z spec bump:
- README Quick start: explain that the call::<T> type parameter is the
  Actor input body type and the turbofish is only needed because None is
  otherwise untyped.
- examples/get_account.rs: reword the monthly_usage_for_date comment to a
  user-facing description instead of referencing the OpenAPI query param.
- CHANGELOG [0.2.4]: trim the intro paragraph to match the [0.2.0] house
  style (first sentences + Changed bullets).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PysAtjinByQsN776iVSHX2
@Pijukatel Pijukatel added the adhoc Ad-hoc unplanned task added during the sprint. label Jun 24, 2026
@Pijukatel Pijukatel added this to the v0 milestone Jun 24, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Jun 24, 2026
@Pijukatel
Pijukatel merged commit 8f6b842 into master Jun 24, 2026
2 of 3 checks passed
@Pijukatel
Pijukatel deleted the claude/quirky-mccarthy-60upn4 branch July 8, 2026 09: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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants