Skip to content

feat: sync Go client with Apify OpenAPI spec v2-2026-08-05T133145Z - #20

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

feat: sync Go client with Apify OpenAPI spec v2-2026-08-05T133145Z#20
Pijukatel merged 2 commits into
masterfrom
claude/eloquent-tesla-18e9fn

Conversation

@Pijukatel

@Pijukatel Pijukatel commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Spec sync

Bumps APISpecVersion to v2-2026-08-05T133145Z. No endpoints, error responses, or enum values in the spec delta required code changes beyond the version constant - the existing generic error handling already covers the newly documented error responses.

Reference client parity

Adds TaskClient.Publish / TaskClient.Unpublish plus Task.IsPublic / Task.PublicConfig and the new TaskPublicConfig type, 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 client.go package doc; it now appears once, in the top-level README.md, per the updated client requirements (apify-client-orchestration#41).

Changes

  • task.go: TaskClient.Publish / TaskClient.Unpublish.
  • models.go: Task.IsPublic, Task.PublicConfig, new TaskPublicConfig type.
  • version.go: APISpecVersion bump; ClientVersion 0.7.1 -> 0.8.0 (minor: additive only).
  • docs/tasks.md: documents the new methods.
  • tests/task_test.go: new TestTaskPublishUnpublish integration test.
  • client.go, docs/README.md: AI-disclaimer de-duplication.
  • CHANGELOG.md: new 0.8.0 entry.

Add TaskClient.Publish/Unpublish and Task.IsPublic/PublicConfig fields
to mirror apify-client-js#989. Remove the duplicated AI-disclaimer
paragraph from docs/README.md and client.go per the updated client
requirements (only the top-level README states it). No API endpoints
were added or removed by this spec bump; the new error responses and
enum values are absorbed by the client's generic error handling.
@github-actions github-actions Bot added this to the 147th sprint - Tooling team milestone Aug 10, 2026
@github-actions github-actions Bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Aug 10, 2026
- Nil-check IsPublic before dereferencing in the docs/tasks.md
  publish/unpublish snippet instead of assuming it is always set.
- Reword IsPublic/PublicConfig doc comments and docs/tasks.md to state
  they are not part of the documented Task schema, rather than implying
  a spec-backed derivation.
- Trim the CHANGELOG 0.8.0 entry to the changes made, dropping the
  out-of-scope/no-change justification.
@Pijukatel
Pijukatel merged commit 78787b6 into master Aug 11, 2026
2 checks passed
@Pijukatel
Pijukatel deleted the claude/eloquent-tesla-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. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants