Skip to content

Commit eb6a55b

Browse files
committed
chore: sync Go client with Apify OpenAPI spec v2-2026-06-30T091455Z
Version-only sync from v2-2026-06-29T142258Z. An independent operation- and parameter-level audit of the new spec (131 paths / 231 operations), with the apify-client-js reference as the in-scope parity authority, found no change to the in-scope API surface. Bumps the version constants to 0.4.3 (patch) and fixes documentation/changelog consistency flagged by review. - version.go: API_SPEC_VERSION -> v2-2026-06-30T091455Z; CLIENT_VERSION -> 0.4.3 - CHANGELOG.md: [0.4.3] entry (API_SPEC_VERSION, CLIENT_VERSION, README sync) - README.md: Versioning section spec version synced to version.go - docs/actors.md: document nil waitSecs behavior for Call
1 parent c3d1830 commit eb6a55b

4 files changed

Lines changed: 26 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,28 @@ All notable changes to the Apify Go client are documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.4.3] - 2026-06-30
9+
10+
Synchronized with Apify OpenAPI specification `v2-2026-06-30T091455Z` (previously
11+
`v2-2026-06-29T142258Z`). An independent operation- and parameter-level audit of the new
12+
specification (131 paths / 231 operations) against the exposed client surface — with the
13+
`apify-client-js` reference client as the parity authority for which endpoints are in scope — found
14+
**no change to the in-scope API surface**: same paths, operations, query/header parameters, request
15+
bodies and response schemas. Spot-checks of the highest-churn endpoints (`POST /v2/actors/{actorId}/runs`,
16+
`GET /v2/store`, `GET /v2/datasets/{datasetId}/items`, `GET /v2/actor-runs` including the
17+
`startedAfter`/`startedBefore` filters, `POST /v2/actor-runs/{runId}/charge`,
18+
`POST /v2/actor-runs/{runId}/resurrect`) confirmed every documented parameter remains covered. The
19+
endpoints not exposed by the client (`run-sync` / `run-sync-get-dataset-items`,
20+
`/v2/tools/encode-and-sign` & `/v2/tools/decode-and-verify`, `/v2/browser-info`, and the keyed `POST`
21+
create variants that duplicate the covered `PUT` writes) remain out of scope, matching the reference
22+
client. No public API surface change, so this is a patch release.
23+
24+
### Changed
25+
- Bumped `API_SPEC_VERSION` to `v2-2026-06-30T091455Z`.
26+
- Bumped `CLIENT_VERSION` to `0.4.3` (patch; spec-sync only, no public API change).
27+
- Updated the `v2-2026-06-29T142258Z` reference in the `README.md` "Versioning" section to
28+
`v2-2026-06-30T091455Z` so it matches `version.go`.
29+
830
## [0.4.2] - 2026-06-29
931

1032
Synchronized with Apify OpenAPI specification `v2-2026-06-29T142258Z` (previously

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func main() {
179179

180180
- `apify.CLIENT_VERSION` — the semantic version of this library.
181181
- `apify.API_SPEC_VERSION` — the Apify OpenAPI spec version this client was built against
182-
(`v2-2026-06-29T142258Z`).
182+
(`v2-2026-06-30T091455Z`).
183183

184184
### Releasing
185185

docs/actors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The `Actor` value returned by `Get`/`Create`/`Update` and listed by `List`:
8080
| `Update(ctx, newFields any) (Actor, error)` | Update the Actor. |
8181
| `Delete(ctx) error` | Delete the Actor. |
8282
| `Start(ctx, input any, ActorStartOptions) (ActorRun, error)` | Start a run, return immediately. |
83-
| `Call(ctx, input any, ActorStartOptions, waitSecs *int64) (ActorRun, error)` | Start and wait for the run to finish. |
83+
| `Call(ctx, input any, ActorStartOptions, waitSecs *int64) (ActorRun, error)` | Start and wait for the run to finish. `waitSecs` bounds the client-side wait; pass `nil` to wait indefinitely (until the run reaches a terminal state). |
8484
| `Build(ctx, versionNumber string, ActorBuildOptions) (Build, error)` | Build a version. |
8585
| `DefaultBuild(ctx, waitForFinish *int64) (*BuildClient, error)` | Resolve the default build. |
8686
| `ValidateInput(ctx, input any) (json.RawMessage, error)` | Validate input against the `latest` build's schema. |

version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ package apify
44
//
55
// It follows Semantic Versioning (https://semver.org/). Changes to the public
66
// interface (other than additive ones) are considered breaking changes.
7-
const CLIENT_VERSION = "0.4.2"
7+
const CLIENT_VERSION = "0.4.3"
88

99
// API_SPEC_VERSION is the version of the Apify OpenAPI specification that this
1010
// client was generated and verified against.
1111
//
1212
// It corresponds to the `info.version` field of the Apify OpenAPI document.
13-
const API_SPEC_VERSION = "v2-2026-06-29T142258Z"
13+
const API_SPEC_VERSION = "v2-2026-06-30T091455Z"

0 commit comments

Comments
 (0)