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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.1.1

- Bumped `ApifyClientVersion.ApiSpecVersion` to the Apify OpenAPI spec `v2-2026-07-07T132551Z` and the
project version to `0.1.1`.
- Corrected a wrong `LastRunOptions` doc comment: `Origin` and `Status` are spec-declared query
parameters on the last-run endpoints (the comment had claimed `Origin` was not); `waitForFinish` is
intentionally omitted for parity with the reference client's `lastRun`. Behaviour unchanged.

## 0.1.0

- Initial .NET client for the Apify API (spec `v2-2026-07-02T131926Z`).
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ the `using` directives for whichever ones a file references:

| Namespace | What lives here |
|---|---|
| `Apify.Client` | The entry point (`ApifyClient`), `ApifyClientOptions`, and `ApifyClientVersion`. |
| `Apify.Client.Resources` | Every resource client the entry point returns — `ActorClient`, `RunClient`, `BuildClient`, `DatasetClient`, `KeyValueStoreClient`, `RequestQueueClient`, `TaskClient`, `ScheduleClient`, `LogClient`, `UserClient`, the `…CollectionClient` types, etc. |
| `Apify.Client` | The entry point (`ApifyClient`), `ApifyClientOptions`, `ApifyClientVersion`, and the log-redirection helper `StreamedLog`. |
| `Apify.Client.Resources` | Every resource client the entry point returns — `ActorClient`, `RunClient`, `BuildClient`, `DatasetClient`, `KeyValueStoreClient`, `RequestQueueClient`, `TaskClient`, `ScheduleClient`, `LogClient`, `UserClient`, the `…CollectionClient` types (including `NestedWebhookCollectionClient` and `WebhookDispatchCollectionClient`), etc. |
| `Apify.Client.Models` | Data models returned by the clients — `Actor`, `ActorRun`, `Build`, `Dataset`, `RequestQueueRequest`, `ActorEnvVar`, `PaginationList<T>`, and so on. |
| `Apify.Client.Options` | The option/request objects passed into methods — `ActorStartOptions`, `DatasetListItemsOptions`, `ListOptions`, `SetRecordOptions`, `StorageListOptions`, etc. |
| `Apify.Client.Options` | The option/request objects passed into methods — `ActorStartOptions`, `DatasetListItemsOptions`, `DownloadItemsFormat`, `ListOptions`, `SetRecordOptions`, `StorageListOptions`, etc. |
| `Apify.Client.Exceptions` | `ApifyApiException` and `ApifyTransportException`. |
| `Apify.Client.Http` | The replaceable transport: `IHttpTransport` and the default `HttpClientTransport`. |

Expand Down
2 changes: 1 addition & 1 deletion docs/runs.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ collections).
- `MetamorphAsync(string targetActorId, object? input = null, MetamorphOptions? options = null)` → `ActorRun`.
- `RebootAsync()` → `ActorRun`.
- `ResurrectAsync(RunResurrectOptions? options = null)` → `ActorRun`.
- `ChargeAsync(RunChargeOptions options)` — record pay-per-event charges (idempotent).
- `ChargeAsync(RunChargeOptions options)` → `Task` — record pay-per-event charges (idempotent).
- `WaitForFinishAsync(int? waitSecs = null)` → `ActorRun`.
- `Dataset()`, `KeyValueStore()`, `RequestQueue()` — the run's default storages.
- `Log()` → `LogClient`; `GetStreamedLogAsync()` → `Stream` (live raw log).
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.1.0</Version>
<Version>0.1.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.1.0";
public const string ClientVersion = "0.1.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-07-02T131926Z";
public const string ApiSpecVersion = "v2-2026-07-07T132551Z";
}
8 changes: 5 additions & 3 deletions src/Apify.Client/Options/LastRunOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ namespace Apify.Client.Options;
/// filter unset.
/// </summary>
/// <remarks>
/// <c>Origin</c> is an Apify-platform convenience exposed by the reference client but not documented as a
/// query parameter in the OpenAPI spec; it is included for parity, threaded to the same <c>runs/last</c>
/// endpoint.
/// <c>Status</c> and <c>Origin</c> are both spec-declared query parameters on the last-run endpoints
/// (<c>GET /v2/actors/{actorId}/runs/last</c> and <c>GET /v2/actor-tasks/{actorTaskId}/runs/last</c>),
/// matching the reference client's <c>lastRun({ status, origin })</c>. The spec also declares
/// <c>waitForFinish</c> on those endpoints, but the reference client does not expose it on <c>lastRun</c>,
/// so it is intentionally omitted here for parity.
/// </remarks>
public sealed class LastRunOptions
{
Expand Down
Loading