Skip to main content
Version: 2.6

Changelog

v2.7.0

What's Changed

New Contributors

  • @novotnyj made their first contribution in #330

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.6.3...v2.7.0

v2.6.3

What's Changed

  • feat: isStatusMessageTerminal in RunUpdate interface by @barjin in #306

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.6.2...v2.6.3

v2.6.2

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.6.1...v2.6.2

v2.6.1

What's Changed

  • feat: drop single file support by @valekjo in #257
  • feat: update actor types by @HonzaTuron in #263
  • feat: Add flatten param to Dataset items listing by @Strajk in #264
  • feat: Add optional title field to task, schedule, key-value store, dataset, and request queue by @valekjo in #271
  • fix: Add defaultRequestQueueId property to ActorRun type by @fnesveda in #268

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.6.0...v2.6.1

v2.6.0

What's Changed

New Contributors

  • @barjin made their first contribution in #258
  • @mvolfik made their first contribution in #256

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.5.2...v2.6.0

v2.5.2

What's Changed

  • Adjust default parallels and retries for batch add requests by @drobnikj in #255

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.5.1...v2.5.2

v2.5.1

What's Changed

  • Fix ActorRun - correct type for status by @vladfrangu in #254
  • Add methods to list all requests in queue, requestQueueClient.listRequests() and requestQueueClient.paginateRequests(). The paginate requests return an async iterator. by @drobnikj in #249
for await (const page of rqClient.paginateRequests()) {
// Do something with page.items
}

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.5.0...v2.5.1

v2.5.0

What's Changed

New Contributors

  • @HonzaKirchner made their first contribution in #248

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.4.1...v2.5.0

v2.4.1

What's Changed

  • feat: Add request queue methods listAndLockHead, prolongRequestLock, deleteRequestLock by @drobnikj in #246

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.4.0...v2.4.1

v2.4.0

What's Changed

  • fix: Add exponential backoff to batchAddRequests, untie batch and client settings by @jirimoravcik in #243

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.3.1...v2.4.0

v2.3.1

What's Changed

  • Fix: Retries in batch requests insert endpoint @drobnikj in #242

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.3.0...v2.3.1

v2.3.0

What's Changed

  • Add batch delete requests method for request queue (for now experimental)
  • Add support for schema parameter in key-value store and dataset getOrCreate function
  • Make RequestQueueClientListItem.method strictly typed
  • Fix: Correct types and validation for tasks().create
  • Fix: Add missing override modifier for error cause
  • Fix: Updated incorrect RunCollectionClient list status type

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.2.0...v2.3.0

v2.2.0

What's Changed

  • feat: Add support for the view parameter in dataset items client by @fnesveda in #226
  • fix: fields ending in At are Date objects by @vladfrangu in #230
  • feat: add option to set timeout for request queue client by @AndreyBykov in #232

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.1.0...v2.2.0

v2.1.0

What's Changed

New Contributors

  • @valekjo made their first contribution in #211

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.7...v2.1.0

v2.0.7

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.6...v2.0.7

v2.0.6

What's Changed

  • fix: correct validation for Task call & start, and loosen up KeyValueStore getRecord options by @vladfrangu in #222

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.5...v2.0.6

v2.0.5

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.4...v2.0.5

v2.0.4

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.3...v2.0.4

v2.0.3

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.2...v2.0.3

v2.0.2

  • added export for package.json

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.1...v2.0.2

v2.0.1

  • TypeScript rewrite

Full Changelog: https://github.com/apify/apify-client-js/compare/v1.4.2...v2.0.1

v1.4.2

  • Fix: Exposing token on ApifyClient instance

v1.4.1

  • Changed passing token using request HTTP header instead of the request parameter for every API calls

v1.3.0

  • Added new method .test() to the WebhookClient class.

v1.2.6

  • Added gracefully parameter for abort run function
  • Enabled access to actor run storages via RunClient

v1.2.4

  • use new apify-shared packages to reduce bundle size

v1.2.3

  • Fixed invalid max body length setting thanks to a transitive default in axios.

v1.2.2

  • Fixed double stringification of JSON inputs in .start(), .call() and .metamorph() functions.

v1.2.1

  • Added missing function serialization to .metamorph(). See 1.2.0 release.

v1.2.0

  • Added function serialization to .start() and .call() function inputs. You can now define input functions as JS functions instead of having to type them out as a string.
  • Added validation for resource IDs to be non-empty. This is non-breaking and prevents cryptic errors like We have bad news: there is no API endpoint at this URL.