Skip to content

Commit e1afe2d

Browse files
committed
init upgrading guide to v3
1 parent 594a8e5 commit e1afe2d

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

docs/04_upgrading/upgrading_to_v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: upgrading-to-v2
33
title: Upgrading to v2
44
---
55

6-
This page summarizes most of the breaking changes between Apify Python SDK v1.x and v2.0.
6+
This page summarizes the breaking changes between Apify Python SDK v1.x and v2.0.
77

88
## Python version support
99

@@ -12,7 +12,7 @@ Support for Python 3.8 has been dropped. The Apify Python SDK v2.x now requires
1212
## Storages
1313

1414
- The SDK now uses [crawlee](https://github.com/apify/crawlee-python) for local storage emulation. This change should not affect intended usage (working with `Dataset`, `KeyValueStore` and `RequestQueue` classes from the `apify.storages` module or using the shortcuts exposed by the `Actor` class) in any way.
15-
- There is a difference in the `RequestQueue.add_request` method: it accepts an `apify.Request` object instead of a free-form dictionary.
15+
- There is a difference in the `RequestQueue.add_request` method: it accepts an `apify.Request` object instead of a free-form dictionary.
1616
- A quick way to migrate from dict-based arguments is to wrap it with a `Request.model_validate()` call.
1717
- The preferred way is using the `Request.from_url` helper which prefills the `unique_key` and `id` attributes, or instantiating it directly, e.g., `Request(url='https://example.tld', ...)`.
1818
- For simple use cases, `add_request` also accepts plain strings that contain an URL, e.g. `queue.add_request('https://example.tld')`.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
id: upgrading-to-v2
3+
title: Upgrading to v2
4+
---
5+
6+
This page summarizes the breaking changes between Apify Python SDK v2.x and v3.0.
7+
8+
## Python version support
9+
10+
Support for Python 3.9 has been dropped. The Apify Python SDK v3.x now requires Python 3.10 or later. Make sure your environment is running a compatible version before upgrading.
11+
12+
## Storages
13+
14+
<!-- TODO -->
15+
16+
## Storage clients
17+
18+
<!-- TODO -->

0 commit comments

Comments
 (0)