Skip to content

Commit c7d32a2

Browse files
committed
Merge branch 'master' into ci/regenerate-models
Conflicts in the generated src/apify_client/_models.py are resolved by regenerating from the current published OpenAPI spec (v2-2026-08-14T072928Z).
2 parents f387f67 + 00ce055 commit c7d32a2

42 files changed

Lines changed: 17340 additions & 15827 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/_checks.yaml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
python-version: ${{ env.PYTHON_VERSION }}
6464

6565
- name: Set up uv package manager
66-
uses: astral-sh/setup-uv@v9.0.0
66+
uses: astral-sh/setup-uv@v10.0.1
6767
with:
6868
python-version: ${{ env.PYTHON_VERSION }}
6969

@@ -86,7 +86,7 @@ jobs:
8686
node-version: ${{ env.NODE_VERSION }}
8787

8888
- name: Install pnpm and website dependencies
89-
uses: apify/actions/pnpm-install@v1.4.0
89+
uses: apify/actions/pnpm-install@v1.4.1
9090
with:
9191
working-directory: website
9292

@@ -107,7 +107,7 @@ jobs:
107107
node-version: ${{ env.NODE_VERSION }}
108108

109109
- name: Install pnpm and website dependencies
110-
uses: apify/actions/pnpm-install@v1.4.0
110+
uses: apify/actions/pnpm-install@v1.4.1
111111
with:
112112
working-directory: website
113113

@@ -199,7 +199,7 @@ jobs:
199199
python-version: ${{ matrix.python-version }}
200200

201201
- name: Set up uv package manager
202-
uses: astral-sh/setup-uv@v9.0.0
202+
uses: astral-sh/setup-uv@v10.0.1
203203
with:
204204
python-version: ${{ matrix.python-version }}
205205

@@ -233,15 +233,15 @@ jobs:
233233
uses: actions/checkout@v7
234234

235235
- name: Set up uv package manager
236-
uses: astral-sh/setup-uv@v9.0.0
236+
uses: astral-sh/setup-uv@v10.0.1
237237
with:
238238
python-version: "3.14"
239239

240240
- name: Build sdist and wheel
241241
run: uv run poe build
242242

243243
- name: Verify built package
244-
uses: apify/actions/python-package-check@v1.4.0
244+
uses: apify/actions/python-package-check@v1.4.1
245245
with:
246246
package_name: apify_client
247247
dist_dir: dist

‎.github/workflows/manual_release_beta.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
checks: read
2525
steps:
2626
- name: Wait for checks
27-
uses: apify/actions/wait-for-checks@v1.4.0
27+
uses: apify/actions/wait-for-checks@v1.4.1
2828
with:
2929
ref: ${{ github.sha }}
3030
check-regexp: '^Checks'
@@ -37,7 +37,7 @@ jobs:
3737
version_number: ${{ steps.release_prepare.outputs.version_number }}
3838
changelog: ${{ steps.release_prepare.outputs.changelog }}
3939
steps:
40-
- uses: apify/actions/git-cliff-release@v1.4.0
40+
- uses: apify/actions/git-cliff-release@v1.4.1
4141
id: release_prepare
4242
name: Release prepare
4343
with:
@@ -67,15 +67,15 @@ jobs:
6767
url: https://pypi.org/project/apify-client
6868
steps:
6969
- name: Prepare distribution
70-
uses: apify/actions/prepare-pypi-distribution@v1.4.0
70+
uses: apify/actions/prepare-pypi-distribution@v1.4.1
7171
with:
7272
package_name: apify-client
7373
is_prerelease: "yes"
7474
version_number: ${{ needs.release_prepare.outputs.version_number }}
7575
ref: ${{ needs.changelog_update.outputs.changelog_commitish }}
7676

7777
- name: Verify built package
78-
uses: apify/actions/python-package-check@v1.4.0
78+
uses: apify/actions/python-package-check@v1.4.1
7979
with:
8080
package_name: apify_client
8181
dist_dir: dist

‎.github/workflows/manual_release_docs.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# skipped when called from another workflow.
4444
- name: Wait for checks
4545
if: github.event_name == 'workflow_dispatch'
46-
uses: apify/actions/wait-for-checks@v1.4.0
46+
uses: apify/actions/wait-for-checks@v1.4.1
4747
with:
4848
ref: ${{ github.sha }}
4949
check-regexp: '^Checks'
@@ -65,23 +65,23 @@ jobs:
6565
python-version: ${{ env.PYTHON_VERSION }}
6666

6767
- name: Set up uv package manager
68-
uses: astral-sh/setup-uv@v9.0.0
68+
uses: astral-sh/setup-uv@v10.0.1
6969
with:
7070
python-version: ${{ env.PYTHON_VERSION }}
7171

7272
- name: Install Python dependencies
7373
run: uv run poe install-dev
7474

7575
- name: Install pnpm and website dependencies
76-
uses: apify/actions/pnpm-install@v1.4.0
76+
uses: apify/actions/pnpm-install@v1.4.1
7777
with:
7878
working-directory: website
7979

8080
- name: Update docs theme
8181
run: uv run poe update-docs-theme
8282

8383
- name: Commit the updated package.json and lockfile
84-
uses: apify/actions/signed-commit@v1.4.0
84+
uses: apify/actions/signed-commit@v1.4.1
8585
with:
8686
message: "chore: Automatic docs theme update [skip ci]"
8787
add: 'website/package.json website/pnpm-lock.yaml'

‎.github/workflows/manual_release_stable.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
checks: read
3838
steps:
3939
- name: Wait for checks
40-
uses: apify/actions/wait-for-checks@v1.4.0
40+
uses: apify/actions/wait-for-checks@v1.4.1
4141
with:
4242
ref: ${{ github.sha }}
4343
check-regexp: '^Checks'
@@ -52,7 +52,7 @@ jobs:
5252
changelog: ${{ steps.release_prepare.outputs.changelog }}
5353
release_notes: ${{ steps.release_prepare.outputs.release_notes }}
5454
steps:
55-
- uses: apify/actions/git-cliff-release@v1.4.0
55+
- uses: apify/actions/git-cliff-release@v1.4.1
5656
name: Release prepare
5757
id: release_prepare
5858
with:
@@ -100,15 +100,15 @@ jobs:
100100
url: https://pypi.org/project/apify-client
101101
steps:
102102
- name: Prepare distribution
103-
uses: apify/actions/prepare-pypi-distribution@v1.4.0
103+
uses: apify/actions/prepare-pypi-distribution@v1.4.1
104104
with:
105105
package_name: apify-client
106106
is_prerelease: ""
107107
version_number: ${{ needs.release_prepare.outputs.version_number }}
108108
ref: ${{ needs.changelog_update.outputs.changelog_commitish }}
109109

110110
- name: Verify built package
111-
uses: apify/actions/python-package-check@v1.4.0
111+
uses: apify/actions/python-package-check@v1.4.1
112112
with:
113113
package_name: apify_client
114114
dist_dir: dist

‎.github/workflows/manual_version_docs.yaml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
# skipped when called from another workflow.
4444
- name: Wait for checks
4545
if: github.event_name == 'workflow_dispatch'
46-
uses: apify/actions/wait-for-checks@v1.4.0
46+
uses: apify/actions/wait-for-checks@v1.4.1
4747
with:
4848
ref: ${{ github.sha }}
4949
check-regexp: '^Checks'
@@ -64,15 +64,15 @@ jobs:
6464
python-version: ${{ env.PYTHON_VERSION }}
6565

6666
- name: Set up uv package manager
67-
uses: astral-sh/setup-uv@v9.0.0
67+
uses: astral-sh/setup-uv@v10.0.1
6868
with:
6969
python-version: ${{ env.PYTHON_VERSION }}
7070

7171
- name: Install Python dependencies
7272
run: uv run poe install-dev
7373

7474
- name: Install pnpm and website dependencies
75-
uses: apify/actions/pnpm-install@v1.4.0
75+
uses: apify/actions/pnpm-install@v1.4.1
7676
with:
7777
working-directory: website
7878

@@ -123,7 +123,7 @@ jobs:
123123
uv run pnpm exec docusaurus api:version "$MAJOR_MINOR_VERSION"
124124
125125
- name: Commit and push versioned docs
126-
uses: apify/actions/signed-commit@v1.4.0
126+
uses: apify/actions/signed-commit@v1.4.1
127127
with:
128128
message: "docs: Version docs for v${{ steps.snapshot.outputs.version }} [skip ci]"
129129
add: 'website/versioned_docs website/versioned_sidebars website/versions.json'

‎.github/workflows/on_master.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,6 @@ jobs:
6363
actions: write # Required by execute-workflow.
6464
steps:
6565
- name: Dispatch beta release workflow
66-
uses: apify/actions/execute-workflow@v1.4.0
66+
uses: apify/actions/execute-workflow@v1.4.1
6767
with:
6868
workflow: manual_release_beta.yaml

‎.github/workflows/on_pull_request.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: PR title check
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: apify/actions/pr-title-check@v1.4.0
16+
- uses: apify/actions/pr-title-check@v1.4.1
1717

1818
checks:
1919
name: Checks

‎.github/workflows/on_schedule_regenerate_models.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
fetch-depth: 0
4747

4848
- name: Set up uv package manager
49-
uses: astral-sh/setup-uv@v9.0.0
49+
uses: astral-sh/setup-uv@v10.0.1
5050
with:
5151
python-version: ${{ env.PYTHON_VERSION }}
5252

@@ -144,7 +144,7 @@ jobs:
144144
- name: Commit the regenerated models
145145
id: commit
146146
if: steps.changes.outputs.has-changes == 'true' && steps.review.outputs.is-new == 'true'
147-
uses: apify/actions/signed-commit@v1.4.0
147+
uses: apify/actions/signed-commit@v1.4.1
148148
with:
149149
message: ${{ env.PR_TITLE }}
150150
add: >-

‎.rules.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ Docstrings are written on sync clients and **automatically copied** to async cli
6060

6161
### HTTP Client Abstraction
6262

63-
- `HttpClient`/`HttpClientAsync` — abstract base classes in `_http_clients/_base.py`
63+
- `HttpClient`/`HttpClientAsync` — base classes in `http_clients/_base.py` holding the shared request pipeline (retries,
64+
timeouts, API errors); transports implement the `send_request`, error-classification, and lifecycle hooks
6465
- `ImpitHttpClient`/`ImpitHttpClientAsync` — default implementation (Rust-based Impit)
6566
- `HttpResponse` — Protocol (not a concrete class) for response objects
6667
- Users can plug in custom HTTP clients via `ApifyClient.with_custom_http_client()`

‎CHANGELOG.md‎

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,26 @@
33
All notable changes to this project will be documented in this file.
44

55
<!-- git-cliff-unreleased-start -->
6-
## 3.1.3 - **not yet released**
6+
## 3.1.4 - **not yet released**
7+
8+
### 🚀 Features
9+
10+
- Add Actor task publication endpoints ([#985](https://github.com/apify/apify-client-python/pull/985)) ([139a426](https://github.com/apify/apify-client-python/commit/139a42691c6d8aae4ccff02911b554da6ccc8a4a)) by [@apify-service-account](https://github.com/apify-service-account)
11+
12+
13+
<!-- git-cliff-unreleased-end -->
14+
## [3.1.3](https://github.com/apify/apify-client-python/releases/tag/v3.1.3) (2026-08-18)
715

816
### 🐛 Bug Fixes
917

1018
- Require value in EnvVarRequest and allow null error messages in request dicts ([#1001](https://github.com/apify/apify-client-python/pull/1001)) ([4540199](https://github.com/apify/apify-client-python/commit/45401992edd31f2f4273eed5549fd9615226f17b)) by [@apify-service-account](https://github.com/apify-service-account)
1119
- Warn when a requested timeout is capped at timeout_max ([#962](https://github.com/apify/apify-client-python/pull/962)) ([4281530](https://github.com/apify/apify-client-python/commit/4281530f0637215d00c2cb186c7917a5742e0bb8)) by [@vdusek](https://github.com/vdusek)
20+
- Do not mask unrelated import errors when guarding optional dependencies ([#1009](https://github.com/apify/apify-client-python/pull/1009)) ([f57e9e7](https://github.com/apify/apify-client-python/commit/f57e9e7338503d700f0b675ae7097a369e65734f)) by [@vdusek](https://github.com/vdusek)
21+
- Keep HttpResponse isinstance checks from consuming streamed responses ([#1010](https://github.com/apify/apify-client-python/pull/1010)) ([8a2bb7b](https://github.com/apify/apify-client-python/commit/8a2bb7bfb9e0078e1d1633e567760bb431ef60b4)) by [@vdusek](https://github.com/vdusek)
22+
- Fail fast on transport errors a retry cannot fix ([#1019](https://github.com/apify/apify-client-python/pull/1019)) ([ab63eff](https://github.com/apify/apify-client-python/commit/ab63effe9da2ee0ef60729c10ee3b132d85cb60b)) by [@vdusek](https://github.com/vdusek)
23+
- Classify and retry failures while reading a streamed error body ([#1020](https://github.com/apify/apify-client-python/pull/1020)) ([2760aa6](https://github.com/apify/apify-client-python/commit/2760aa67c7b2acc61cc69996f412120fabccc3d4)) by [@vdusek](https://github.com/vdusek)
1224

1325

14-
<!-- git-cliff-unreleased-end -->
1526
## [3.1.2](https://github.com/apify/apify-client-python/releases/tag/v3.1.2) (2026-08-10)
1627

1728
### 🐛 Bug Fixes
@@ -637,4 +648,4 @@ All notable changes to this project will be documented in this file.
637648

638649
## [0.0.1](https://github.com/apify/apify-client-python/releases/tag/v0.0.1) (2021-05-13)
639650

640-
- Initial release of the package.
651+
- Initial release of the package.

0 commit comments

Comments
 (0)