Skip to content

chore: sync .NET client with Apify OpenAPI spec v2-2026-08-05T133145Z - #8

Merged
Pijukatel merged 2 commits into
masterfrom
claude/busy-ride-18e9fn
Aug 11, 2026
Merged

chore: sync .NET client with Apify OpenAPI spec v2-2026-08-05T133145Z#8
Pijukatel merged 2 commits into
masterfrom
claude/busy-ride-18e9fn

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Spec sync

Bumps ApifyClientVersion.ApiSpecVersion to v2-2026-08-05T133145Z (from v2-2026-07-13T092445Z). The spec delta is nullable/description/tag/operationId cosmetics plus newly documented error codes already covered by the client's generic error handling - no functional code change is required beyond the version constant.

Reference client parity

Adds TaskClient.PublishAsync() / TaskClient.UnpublishAsync() plus ActorTask.IsPublic / ActorTask.PublicConfig and the new TaskPublicConfig model, mirroring the reference JavaScript client's task publish/unpublish support (apify-client-js#989) that sets isPublic through the existing update endpoint.

Documentation cleanup

Removes the duplicated AI-disclaimer paragraph from docs/README.md and the ApifyClient XML doc comment; it now appears once, in the top-level README.md, per the updated client requirements (apify-client-orchestration#41).

Changes

  • src/Apify.Client/Resources/TaskClient.cs: PublishAsync() / UnpublishAsync().
  • src/Apify.Client/Models/ActorTask.cs: IsPublic / PublicConfig.
  • src/Apify.Client/Models/TaskPublicConfig.cs: new model.
  • src/Apify.Client/ApifyClientVersion.cs / Apify.Client.csproj: ApiSpecVersion bump; ClientVersion / package Version -> 0.2.0 (minor: additive only).
  • docs/tasks.md, docs/models.md: document the new surface.
  • tests/Apify.Client.Tests/Integration/TaskIntegrationTests.cs, tests/Apify.Client.Tests/Unit/RequestShapeTests.cs: new TaskPublishUnpublish integration test and publish/unpublish request-shape unit tests.
  • src/Apify.Client/ApifyClient.cs, docs/README.md: AI-disclaimer de-duplication.
  • CHANGELOG.md: new 0.2.0 entry.

Adds TaskClient.PublishAsync()/UnpublishAsync() and Task.IsPublic/PublicConfig
(TaskPublicConfig), mirroring apify-client-js#989. Deduplicates the AI-disclaimer
paragraph to the top-level README only, per the client requirements.
@github-actions github-actions Bot added this to the 147th sprint - Tooling team milestone Aug 11, 2026
@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Aug 11, 2026
…trengthen its test

UnpublishAsync's doc claimed it needs write permission to the task only,
contradicting apify-client-js's task.ts doc ("both the task and its Actor").
Align with the reference (the sole authority, since the spec doesn't model
isPublic/publicConfig at all), and replace the trivial IsPublic-only
assertion in TaskPublishUnpublish with a response-identity check too.
@Pijukatel
Pijukatel merged commit 349f9be into master Aug 11, 2026
2 checks passed
@Pijukatel
Pijukatel deleted the claude/busy-ride-18e9fn branch August 11, 2026 08:51
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