Skip to content

4.0.0-rc.0

Pre-release
Pre-release

Choose a tag to compare

@B4nan B4nan released this 12 Oct 09:04
· 12 commits to master since this release
d710a30

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, StorageBackend and ProxyConfiguration interfaces
  • Actor.config is now Actor.configuration, and Configuration.getGlobalConfig() is now getGlobalConfiguration() (f9926ec)
  • Adapted to apify-client v3 (#704)
  • Actor.getInput() throws ActorInputError when there is no input (#746)
  • Argument validation uses zod instead of ow. The got-scraping and fs-extra dependencies 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)
  • ApifyStorageBackend is exported from apify (#633)
  • Configuration options for default storage IDs (#731)
  • A helper that turns globs / pseudoUrls inputs into a transformRequestFunction (#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 inherit timeout units and the case with no timeout left (#667)
  • The default apiBaseUrl has a trailing slash (#661)
  • Actor.newClient().dataset() works without Actor.init() (#653)

Full changelog: v3.7.2...v4.0.0-rc.0