Changelog
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
- @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
Full Changelog: https://github.com/apify/apify-client-js/compare/v2.6.2...v2.6.3
v2.6.2
What's Changed
- fix:
Actor.call
andTask.call
acceptwaitSecs
notwaitForFinish
by @vladfrangu in #283 - feat: re-export useful types and classes by @vladfrangu in #285
- fix(types): correct extends clause for Dataset entries by @vladfrangu in #284
- fix: Correct docs links for actor env vars, some refactoring by @jirimoravcik in #287
- fix: make ActorUpdateOptions type have optional fields by @metalwarrior665 in #288
- fix: correctly set default client headers by @valekjo in #290
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 toActorRun
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
- Add run.update() method for setting fields on runs. You can update statusMessage of run using this method. by @barjin in #258
- Fix parsing ApifyError for method called with forceBuffer param to true. by @drobnikj in #260
- Fix stream support, related with https://github.com/axios/axios/issues/1045 by @mvolfik in #256
New Contributors
Full Changelog: https://github.com/apify/apify-client-js/compare/v2.5.2...v2.6.0
v2.5.2
What's Changed
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()
andrequestQueueClient.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
- feat: origin param added for last actor/task run endpoints by @HonzaKirchner in #248
- chore: version update by @HonzaKirchner in #250
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 datasetgetOrCreate
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
- feat: Add clients for actor env vars by @jirimoravcik in #202
- feat: Implement method for request batch insert endpoint by @valekjo in #211
- chore: Add missing breaking change by @drobnikj in #224
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
- types(Task): input is optional by @vladfrangu in #223
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
- fix: correct type for webhook event type by @vladfrangu in #221
Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.4...v2.0.5
v2.0.4
What's Changed
- chore: fix some annoying types by @vladfrangu in #218
- fix: unnamed storages by @mnmkng in #219
Full Changelog: https://github.com/apify/apify-client-js/compare/v2.0.3...v2.0.4
v2.0.3
What's Changed
- chore: make Datasets support generics by @vladfrangu in #214
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 theWebhookClient
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.