Skip to content

Commit 35ba8e7

Browse files
committed
Merge branch 'master' into chore/add-user-is-paying-env-var
2 parents 817dc85 + b8ccc60 commit 35ba8e7

22 files changed

+1601
-126
lines changed

.github/workflows/pre_release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
# Or it can be triggered manually.
1212
workflow_dispatch:
1313

14+
concurrency:
15+
group: release
16+
cancel-in-progress: false
17+
1418
jobs:
1519
release_metadata:
1620
if: "!startsWith(github.event.head_commit.message, 'docs') && !startsWith(github.event.head_commit.message, 'ci') && startsWith(github.repository, 'apify/')"
@@ -20,13 +24,13 @@ jobs:
2024
version_number: ${{ steps.release_metadata.outputs.version_number }}
2125
tag_name: ${{ steps.release_metadata.outputs.tag_name }}
2226
changelog: ${{ steps.release_metadata.outputs.changelog }}
23-
existing_changelog_path: CHANGELOG.md
2427
steps:
2528
- uses: apify/workflows/git-cliff-release@main
2629
id: release_metadata
2730
name: Prepare release metadata
2831
with:
2932
release_type: prerelease
33+
existing_changelog_path: CHANGELOG.md
3034

3135
lint_check:
3236
name: Lint check

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ on:
2121
type: string
2222
default: ""
2323

24+
concurrency:
25+
group: release
26+
cancel-in-progress: false
27+
2428
jobs:
2529
release_metadata:
2630
name: Prepare release metadata

.github/workflows/run_code_checks.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
# step required for PRs from forks. This prevents their potential exposure.
77
pull_request:
88

9+
# Trigger for pushing to the master branch is handled by the pre-release workflow.
10+
11+
# It should also be possible to trigger checks manually
12+
workflow_dispatch:
13+
914
jobs:
1015
lint_check:
1116
name: Lint check

CHANGELOG.md

Lines changed: 198 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,27 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [2.7.2](https://github.com/apify/apify-sdk-python/releases/tag/v2.7.2) (2025-07-30)
6+
7+
### 🐛 Bug Fixes
8+
9+
- Restrict apify-shared and apify-client versions ([#523](https://github.com/apify/apify-sdk-python/pull/523)) ([581ebae](https://github.com/apify/apify-sdk-python/commit/581ebae5752a984a34cbabc02c49945ae392db00)) by [@vdusek](https://github.com/vdusek)
10+
11+
12+
## [2.7.1](https://github.com/apify/apify-sdk-python/releases/tag/v2.7.1) (2025-07-24)
13+
14+
### 🐛 Bug Fixes
15+
16+
- Add back support for Python 3.9.
17+
18+
519
## [2.7.0](https://github.com/apify/apify-sdk-python/releases/tag/v2.7.0) (2025-07-14)
620

721
### 🚀 Features
822

923
- Expose `logger` argument on `Actor.call` to control log redirection from started Actor run ([#487](https://github.com/apify/apify-sdk-python/pull/487)) ([aa6fa47](https://github.com/apify/apify-sdk-python/commit/aa6fa4750ea1bc7909be1191c0d276a2046930c2)) by [@Pijukatel](https://github.com/Pijukatel)
1024
- **crypto:** Decrypt secret objects ([#482](https://github.com/apify/apify-sdk-python/pull/482)) ([ce9daf7](https://github.com/apify/apify-sdk-python/commit/ce9daf7381212b8dc194e8a643e5ca0dedbc0078)) by [@MFori](https://github.com/MFori)
1125

12-
### 🐛 Bug Fixes
13-
14-
- Sync `@docusaurus` theme version [internal] ([#500](https://github.com/apify/apify-sdk-python/pull/500)) ([a7485e7](https://github.com/apify/apify-sdk-python/commit/a7485e7d2276fde464ce862573d5b95e7d4d836a)) by [@katzino](https://github.com/katzino)
15-
- Tagline overlap ([#501](https://github.com/apify/apify-sdk-python/pull/501)) ([bae8340](https://github.com/apify/apify-sdk-python/commit/bae8340c46fea756ea35ea4d591da84c09d478e2)) by [@katzino](https://github.com/katzino)
16-
1726

1827
## [2.6.0](https://github.com/apify/apify-sdk-python/releases/tag/v2.6.0) (2025-06-09)
1928

@@ -143,33 +152,210 @@ All notable changes to this project will be documented in this file.
143152

144153
- [**breaking**] Preparation for v2 release ([#210](https://github.com/apify/apify-sdk-python/pull/210)) ([2f9dcc5](https://github.com/apify/apify-sdk-python/commit/2f9dcc559414f31e3f4fc87e72417a36494b9c84)) by [@janbuchar](https://github.com/janbuchar), closes [#135](https://github.com/apify/apify-sdk-python/issues/135), [#137](https://github.com/apify/apify-sdk-python/issues/137), [#138](https://github.com/apify/apify-sdk-python/issues/138), [#147](https://github.com/apify/apify-sdk-python/issues/147), [#149](https://github.com/apify/apify-sdk-python/issues/149), [#237](https://github.com/apify/apify-sdk-python/issues/237)
145154

155+
### Chore
156+
157+
- [**breaking**] Drop support for Python 3.8
158+
146159

147160
## [1.7.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.2) (2024-07-08)
148161

162+
- Add Actor Standby port
163+
164+
165+
## [1.7.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.1) (2024-05-23)
166+
167+
### 🐛 Bug Fixes
168+
169+
- Set a timeout for Actor cleanup
170+
171+
172+
## [1.7.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.0) (2024-03-12)
173+
149174
### 🚀 Features
150175

151-
- Add actor standby port ([#220](https://github.com/apify/apify-sdk-python/pull/220)) ([6d0d87d](https://github.com/apify/apify-sdk-python/commit/6d0d87dcaedaf42d8eeb7d23c56f6b102434cbcb)) by [@jirimoravcik](https://github.com/jirimoravcik)
176+
- Add a new way of generating the `uniqueKey` field of the request, aligning it with the Crawlee.
177+
178+
### 🐛 Bug Fixes
152179

180+
- Improve error handling for `to_apify_request` serialization failures
181+
- Scrapy's `Request.dont_filter` works.
153182

154-
## [1.7.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.7.1) (2024-05-23)
183+
184+
## [1.6.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.6.0) (2024-02-23)
155185

156186
### 🐛 Bug Fixes
157187

158-
- Set a timeout for Actor cleanup ([#206](https://github.com/apify/apify-sdk-python/pull/206)) ([cfed57d](https://github.com/apify/apify-sdk-python/commit/cfed57d6cff4fd15fe4b25578573190d53b9942c)) by [@janbuchar](https://github.com/janbuchar), closes [#200](https://github.com/apify/apify-sdk-python/issues/200)
188+
- Update of Scrapy integration, fixes in `ApifyScheduler`, `to_apify_request` and `apply_apify_settings`.
159189

190+
### Chore
160191

161-
## [1.1.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.2) (2023-08-02)
192+
- Remove `ApifyRetryMiddleware` and stay with the Scrapy's default one
193+
194+
195+
## [1.5.5](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.5) (2024-02-01)
196+
197+
### 🐛 Bug Fixes
198+
199+
- Fix conversion of `headers` fields in Apify <--> Scrapy request translation
200+
201+
202+
## [1.5.4](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.4) (2024-01-24)
203+
204+
### 🐛 Bug Fixes
205+
206+
- Fix conversion of `userData` and `headers` fields in Apify <--> Scrapy request translation
207+
208+
209+
## [1.5.3](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.3) (2024-01-23)
210+
211+
### 🚀 Features
212+
213+
- Add `apply_apify_settings` function to Scrapy subpackage
214+
215+
216+
## [1.5.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.2) (2024-01-19)
217+
218+
### 🐛 Bug Fixes
219+
220+
- Add missing import check to `ApifyHttpProxyMiddleware`
221+
222+
### Chore
223+
224+
- Create a new subpackage for Scrapy pipelines
225+
- Remove some noqas thanks to the new Ruff release
226+
- Replace relative imports with absolute imports
227+
- Replace asserts with custom checks in Scrapy subpackage
228+
229+
230+
## [1.5.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.1) (2024-01-10)
231+
232+
### Chore
233+
234+
- Allowed running integration tests from PRs from forks, after maintainer approval
235+
- Do not close `nested_event_loop` in the `Scheduler.__del__`
236+
237+
238+
## [1.5.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.5.0) (2024-01-03)
239+
240+
### 🚀 Features
241+
242+
- Add `ApifyHttpProxyMiddleware`
243+
244+
245+
## [1.4.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.4.1) (2023-12-21)
246+
247+
### 🐛 Bug Fixes
248+
249+
- Resolve issue in `ApifyRetryMiddleware.process_exception()`, where requests were getting stuck in the request queue
250+
251+
### Chore
252+
253+
- Fix type hint problems for resource clients
254+
255+
256+
## [1.4.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.4.0) (2023-12-05)
257+
258+
### Chore
259+
260+
- Migrate from Autopep8 and Flake8 to Ruff
261+
262+
263+
## [1.3.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.3.0) (2023-11-15)
264+
265+
### 🚀 Features
266+
267+
- Add `scrapy` extra
268+
269+
270+
## [1.2.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.2.0) (2023-10-23)
162271

163272
### 🚀 Features
164273

165-
- Use Actor env vars ([#105](https://github.com/apify/apify-sdk-python/pull/105)) ([f0ba351](https://github.com/apify/apify-sdk-python/commit/f0ba35103eb9efbf39ea394d390430c849bf127c)) by [@jirimoravcik](https://github.com/jirimoravcik)
274+
- Add support for Python 3.12
275+
276+
### Chore
277+
278+
- Fix lint error (E721) in unit tests (for instance checks use `isinstance()`)
279+
280+
281+
## [1.1.5](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.5) (2023-10-03)
282+
283+
### 🚀 Features
284+
285+
- Update the Apify log formatter to contain an option for adding the logger name
286+
287+
### Chore
288+
289+
- Rewrite documentation publication to use Docusaurus
290+
- Remove PR Toolkit workflow
291+
292+
293+
## [1.1.4](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.4) (2023-09-06)
294+
295+
### 🐛 Bug Fixes
296+
297+
- Resolve issue with querying request queue head multiple times in parallel
298+
299+
### Chore
300+
301+
- Fix integration tests for Actor logger
302+
- Remove `pytest-randomly` Pytest plugin
303+
- Unpin `apify-client` and `apify-shared` to improve compatibility with their newer versions
304+
305+
306+
## [1.1.3](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.3) (2023-08-25)
307+
308+
### Chore
309+
310+
- Unify indentation in configuration files
311+
- Update the `Actor.reboot` method to use the new reboot endpoint
312+
313+
314+
## [1.1.2](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.2) (2023-08-02)
315+
316+
### Chore
317+
318+
- Start importing general constants and utilities from the `apify-shared` library
319+
- Simplify code via `flake8-simplify`
320+
- Start using environment variables with prefix `ACTOR_` instead of some with prefix `APIFY_`
321+
- Pin `apify-client` and `apify-shared` to prevent their implicit updates from breaking SDK
322+
323+
324+
## [1.1.1](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.1) (2023-05-23)
325+
326+
### 🐛 Bug Fixes
327+
328+
- Relax dependency requirements to improve compatibility with other libraries
166329

167330

168331
## [1.1.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.1.0) (2023-05-23)
169332

170333
### 🚀 Features
171334

172-
- Use test user token from organisation secrets ([#90](https://github.com/apify/apify-sdk-python/pull/90)) ([7826a38](https://github.com/apify/apify-sdk-python/commit/7826a382d7a3c0a1531b3a7bb73369e2801e6fa0)) by [@drobnikj](https://github.com/drobnikj)
335+
- Add option to add event handlers which accept no arguments
336+
- Add support for `is_terminal` flag in status message update
337+
- Add option to set status message along with `Actor.exit()`
338+
339+
### 🐛 Bug Fixes
340+
341+
- Start enforcing local storage to always use the UTF-8 encoding
342+
- Fix saving key-value store values to local storage with the right extension for a given content type
343+
344+
### Chore
345+
346+
- Switch from `setup.py` to `pyproject.toml` for specifying project setup
347+
348+
349+
## [1.0.0](https://github.com/apify/apify-sdk-python/releases/tag/v1.0.0) (2023-03-13)
350+
351+
### 🐛 Bug Fixes
352+
353+
- Fix `RequestQueue` not loading requests from an existing queue properly
354+
355+
### Chore
356+
357+
- Update to `apify-client` 1.0.0
358+
- Start triggering base Docker image builds when releasing a new version
173359

174360

175361
## [0.2.0](https://github.com/apify/apify-sdk-python/releases/tag/v0.2.0) (2023-03-06)
@@ -206,4 +392,4 @@ All notable changes to this project will be documented in this file.
206392
- Key error for storage name ([#28](https://github.com/apify/apify-sdk-python/pull/28)) ([83b30a9](https://github.com/apify/apify-sdk-python/commit/83b30a90df4d3b173302f1c6006b346091fced60)) by [@drobnikj](https://github.com/drobnikj)
207393

208394

209-
<!-- generated by git-cliff -->
395+
<!-- generated by git-cliff -->

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "apify"
7-
version = "2.7.1"
7+
version = "2.7.3"
88
description = "Apify SDK for Python"
99
authors = [{ name = "Apify Technologies s.r.o.", email = "[email protected]" }]
1010
license = { file = "LICENSE" }
@@ -34,8 +34,8 @@ keywords = [
3434
"scraping",
3535
]
3636
dependencies = [
37-
"apify-client>=1.11.0",
38-
"apify-shared>=1.3.0",
37+
"apify-client<2.0.0",
38+
"apify-shared<2.0.0",
3939
"crawlee~=0.6.0",
4040
"cryptography>=42.0.0",
4141
"httpx>=0.27.0",
@@ -64,7 +64,7 @@ scrapy = ["scrapy>=2.11.0"]
6464
dev = [
6565
"build~=1.2.0",
6666
"dycw-pytest-only>=2.1.1",
67-
"griffe~=1.7.0",
67+
"griffe~=1.9.0",
6868
"mypy~=1.17.0",
6969
"pre-commit~=4.2.0",
7070
"pydoc-markdown~=4.8.0",

0 commit comments

Comments
 (0)