Skip to main content
Version: 2.8

Changelog

2.10.0

2.10.0 (2024-11-01)
🚀 Features
🐛 Bug Fixes

v2.9.7

What's Changed
  • feat: Rename maxCostPerRunUsd to maxTotalChargeUsd by @novotnyj in #592

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.6...v2.9.7

v2.9.6

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.5...v2.9.6

v2.9.5

What's Changed
New Contributors

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.4...v2.9.5

v2.9.4

What's Changed
  • fix: add missing isApifyIntegration field to Webhook type by @omikader in #523
  • feat: add notifications field to Schedule by @m-murasovs in #545
  • feat: added data property to API error object by @gippy in #559

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.3...v2.9.4

v2.9.3

What's Changed
  • chore: remove warning when parseDateFields reaches depth limit by @tobice in #521

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.2...v2.9.3

v2.9.2

What's Changed
  • feat: add monthlyUsage() and limits() endpoints to UserClients by @tobice in #517
  • feat: parse monthlyUsage.dailyServiceUsages[].date as Date by @tobice in #519

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.1...v2.9.2

v2.9.1

What's Changed
  • fix: ensure axios headers are instance of AxiosHeaders via interceptor by @B4nan in #515

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.9.0...v2.9.1

v2.9.0

What's Changed
  • fix: publish browser bundle by @B4nan in #506
  • fix: update axios to v1.6 by @B4nan in #505
  • feat: add KeyValueStore.recordExists() method by @barjin in #510
  • feat: add log() method to BuildClient by @tobice in #509
  • feat: add runs() and builds() top level endpoints by @foxt451 in #468
New Contributors

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.8.6...v2.9.0

v2.8.6

What's Changed
  • fix: replace ReadableStream with Readable by @foxt451 in #463
  • fix: add missing properties to ActorCollectionCreateOptions type by @jirimoravcik in #486
  • feat(request-queue): Limit payload size for batchAddRequests() by @drobnikj in #489
  • docs: add code owner for documentation by @TC-MO in #488
New Contributors

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.8.4...v2.8.6

v2.8.4

What's Changed
  • fix(schedule): expose other fields when id optional by @omikader in #451
New Contributors

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.8.2...v2.8.4

v.2.8.2

What's Changed
New Contributors

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.8.1...v2.8.2

v2.8.1

What's Changed
New Contributors

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.8.0...v2.8.1

v2.8.0

What's Changed

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.7.2...v2.8.0

v2.7.2

What's Changed
  • feat: Rename APIFY_ACTOR_MAX_ITEMS to ACTOR_MAX_PAID_DATASET_ITEMS by @novotnyj in #353
  • feat(runs, builds): Add usage usd into Actor run and build types by @drobnikj in #355
  • feat: Add shouldInterpolateStrings field to webhook type by @valekjo in #358
  • feat: Use Actor/Apify env vars instead of ENV_VARS by @jirimoravcik in #373
  • feat: Added StoreCollectionClient class useful for listing Actors in Apify Store by @drobnikj in #395
  • docs: Change subtitle by @barjin in #380
  • fix(docs): Fix docs for resource clients to hide constructor by @drobnikj in #397
  • fix: Update index.js by @jancurn in #379
  • chore: Use new workflow secrets by @fnesveda in #354
  • chore: Invalidate CloudFront cache after docs deploy by @fnesveda in #357
  • chore: Update dependencies

Full Changelog: https://github.com/apify/apify-client-js/compare/v2.7.1...v2.7.2

v2.7.1

What's Changed
  • fix: add types to package exports by @B4nan in #349

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

v2.7.0

What's Changed
  • fix: isAtHome value in User-Agent header by @mvolfik in #286
  • fix: types for actor run by @drobnikj in #331
  • fix: improve reading of the version when using bundlers by @vladfrangu in #332
  • feat: add support for maxItems in run options by @novotnyj in #330
  • feat: mark Request Queue v2 methods as stable by @drobnikj in #334
  • feat: add standard handing for setStatusMessage by @barjin in #333
New Contributors

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

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

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

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