Skip to content

Sync Rust client with Apify OpenAPI spec v2-2026-08-05T133145Z; add task publish/unpublish - #20

Merged
Pijukatel merged 1 commit into
masterfrom
claude/elegant-lamport-18e9fn
Aug 11, 2026
Merged

Sync Rust client with Apify OpenAPI spec v2-2026-08-05T133145Z; add task publish/unpublish#20
Pijukatel merged 1 commit into
masterfrom
claude/elegant-lamport-18e9fn

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Spec sync

Bumps API_SPEC_VERSION to v2-2026-08-05T133145Z. The spec delta since the previous sync
(v2-2026-07-13T092445Z) is relaxed field nullability (TaggedBuildInfo.buildNumber,
Webhook.requestUrl, WebhookDispatchWebhookSummary.requestUrl) and additional documented
error responses (402/404/408/409) on several endpoints. No code change is needed beyond
the version constant: the affected fields are already modelled as Option<...>, and error
responses are handled generically via a plain HTTP status code.

Reference client parity

Adds TaskClient::publish() / TaskClient::unpublish(), matching new convenience methods in
the reference JavaScript client that set isPublic through the existing update endpoint.

Documentation cleanup

Removes the duplicated "official, but experimental, AI-generated and AI-maintained" notice
from the crate-level rustdoc and docs/README.md; it now appears once, in the top-level
README.md, per the updated client requirements.

Changes

  • src/clients/task.rs: TaskClient::publish() / TaskClient::unpublish().
  • src/version.rs: API_SPEC_VERSION bump.
  • Cargo.toml: 0.6.1 -> 0.7.0 (minor: additive public methods only).
  • docs/tasks.md: documents the two new methods.
  • tests/task.rs: new task_publish_unpublish integration test.
  • src/lib.rs, docs/README.md: AI-disclaimer de-duplication.
  • CHANGELOG.md: new 0.7.0 entry.

… add task publish/unpublish

- Bump API_SPEC_VERSION to v2-2026-08-05T133145Z (spec delta is relaxed field
  nullability and documented error responses only; no code change needed beyond
  the version constant).
- Add TaskClient::publish()/unpublish(), matching the reference client's
  isPublic convenience wrappers around update().
- Remove the duplicated AI-disclaimer paragraph from src/lib.rs and
  docs/README.md; it now appears once, in the top-level README.md.
@github-actions github-actions Bot added this to the 147th sprint - Tooling team milestone Aug 10, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Aug 10, 2026
@Pijukatel
Pijukatel merged commit f088c82 into master Aug 11, 2026
2 checks passed
@Pijukatel
Pijukatel deleted the claude/elegant-lamport-18e9fn branch August 11, 2026 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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