Repository navigation
4.0.0-rc.0
Pre-release
Pre-release
First release candidate of Apify SDK v4, built on Crawlee 4.0.0-rc.1 and apify-client 3.0.0-rc.0. Install it with npm install apify@rc.
Read the upgrading guide before you upgrade from v3. Please report problems in issues.
💥 Breaking changes
- Node.js 22.13 or newer is required (#761)
- The package is native ESM (35b7506)
- Adapted to the Crawlee v4
Configuration,EventManager,StorageBackendandProxyConfigurationinterfaces Actor.configis nowActor.configuration, andConfiguration.getGlobalConfig()is nowgetGlobalConfiguration()(f9926ec)- Adapted to
apify-clientv3 (#704) Actor.getInput()throwsActorInputErrorwhen there is no input (#746)- Argument validation uses
zodinstead ofow. Thegot-scrapingandfs-extradependencies were dropped (#636) - Private class members are native
#fields, and underscore-prefixed members were removed (#699)
🚀 Features
- Single and shared request queue access modes (b2b4df6, #766)
- Storage aliases are resolved natively by the Apify storage backend (3f32509)
ApifyStorageBackendis exported fromapify(#633)- Configuration options for default storage IDs (#731)
- A helper that turns
globs/pseudoUrlsinputs into atransformRequestFunction(#689) Actor.charge()accepts an idempotency key (#724)- Large
pushData()calls are split into chunks that fit the platform payload limit (#682)
🐛 Bug fixes
- Fixed
inherittimeout units and the case with no timeout left (#667) - The default
apiBaseUrlhas a trailing slash (#661) Actor.newClient().dataset()works withoutActor.init()(#653)
Full changelog: v3.7.2...v4.0.0-rc.0