Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Changelog

## 0.7.1

- Bumped `ApifyClientVersion.ApiSpecVersion` to the Apify OpenAPI spec `v2-2026-10-26T112451Z` and
the project version to `0.7.1`.
- Regenerated the embedded response schemas: the Actor definition accepts the new optional `title`,
`description`, `meta`, `output`, `storages.datasets`, `storages.keyValueStore`, `webServerSchema` and
`webServerMcpPath` properties.
- Documented the run statuses (`SUCCEEDED`, `FAILED`, `ABORTED`, `TIMED-OUT`) that `RunClient.ResurrectAsync`
accepts.

## 0.7.0

- Bumped `ApifyClientVersion.ApiSpecVersion` to the Apify OpenAPI spec `v2-2026-10-20T121847Z` and
Expand Down
4 changes: 2 additions & 2 deletions docs/runs.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ collections).
- `AbortAsync(bool? gracefully = null)` → `ActorRun`.
- `MetamorphAsync(string targetActorId, object? input = null, MetamorphOptions? options = null)` → `ActorRun`.
- `RebootAsync()` → `ActorRun`.
- `ResurrectAsync(RunResurrectOptions? options = null)` → `ActorRun`.
- `ResurrectAsync(RunResurrectOptions? options = null)` → `ActorRun` — resurrects a finished run (status `SUCCEEDED`, `FAILED`, `ABORTED` or `TIMED-OUT`) and restarts it with the same storages.
- `ChargeAsync(RunChargeOptions options)` → `Task` — record pay-per-event charges (idempotent).
- `WaitForFinishAsync(int? waitSecs = null)` → `ActorRun` — client-side polling until terminal (`null`
waits indefinitely). A run id that keeps answering 404 for 3 seconds straight (replica lag resolves
Expand Down Expand Up @@ -75,7 +75,7 @@ await foreach (var item in client.Run(run.Id!).IterateDatasetItemsAsync(new RunI
| Property | Type | Description |
|---|---|---|
| `EventName` | `string` | Name of the pay-per-event event to charge for (required, non-empty). |
| `Count` | `int?` | Number of event occurrences to charge (defaults to 1 server-side). |
| `Count` | `int?` | Number of event occurrences to charge (defaults to 1). |
| `IdempotencyKey` | `string?` | Key that deduplicates retried charges; auto-generated when omitted. |
| `RequestId` | `string?` | ID of the Server Actor request being charged (the `X-Actor-Request-ID` header of the incoming request); required for multi-tenant Server Actor runs. Set via object initializer. |

Expand Down
2 changes: 1 addition & 1 deletion src/Apify.Client/Apify.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- NuGet package metadata (see the publish workflow). -->
<PackageId>Apify.Client</PackageId>
<Version>0.7.0</Version>
<Version>0.7.1</Version>
<Authors>Apify</Authors>
<Company>Apify</Company>
<Product>Apify API client for .NET</Product>
Expand Down
4 changes: 2 additions & 2 deletions src/Apify.Client/ApifyClientVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ public static class ApifyClientVersion
/// The semantic version of this client library (see https://semver.org/). Changes to the public
/// interface other than additive ones are considered breaking changes.
/// </summary>
public const string ClientVersion = "0.7.0";
public const string ClientVersion = "0.7.1";

/// <summary>
/// The version of the Apify OpenAPI specification this client was generated and verified against.
/// Corresponds to the <c>info.version</c> field of the Apify OpenAPI document.
/// </summary>
public const string ApiSpecVersion = "v2-2026-10-20T121847Z";
public const string ApiSpecVersion = "v2-2026-10-26T112451Z";
}
2 changes: 1 addition & 1 deletion src/Apify.Client/Internal/ResponseSchemas.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion src/Apify.Client/Resources/RunClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ public async Task<ActorRun> RebootAsync(CancellationToken cancellationToken = de
return new ActorRun(await _ctx.PostWithBodyAsync("reboot", new QueryParams(), null, "", RequestTier.Medium, cancellationToken).ConfigureAwait(false));
}

/// <summary>Resurrects a finished run, starting it again from the beginning.</summary>
/// <summary>
/// Resurrects a finished run (status <c>SUCCEEDED</c>, <c>FAILED</c>, <c>ABORTED</c> or <c>TIMED-OUT</c>) and
/// restarts its container with the same storages.
/// </summary>
/// <param name="options">Optional resurrect options.</param>
/// <param name="cancellationToken">A token to cancel the request.</param>
public async Task<ActorRun> ResurrectAsync(RunResurrectOptions? options = null, CancellationToken cancellationToken = default)
Expand Down
Loading