tasks.runTask()
method now allows to overload input and options from actor task configuration.
- All key-value store records with content type
text/*
are now parsed into string. - Option
promise
to customize Promise implementation is not supported any more. - All methods now use native promises instead of Bluebird implementation. Make sure that your code doesn't depend on Bluebird.
- All Boolean parameters of v2 endpoints (Actor, Storages) are now truly Boolean and don't accept
1
astrue
. Legacy crawler API hasn't changed. - Added support for actor versions API.
- Endpoint to get items from dataset now passes
encoding: null
to support XSLX format.
- Added support for actor tasks API.
- Requests repeated more than
expBackOffMaxRepeats/2
times are logged.
- Added
client.tasks
providing access to Apify tasks.
- Upgraded NPM dependencies
- Renamed
ApifyError
toApifyClientError
- Added support for more content types to
utils.parseBody()
.
- Added support for pre-serialized data (strings) to
Apify.datasets.putItems()
.
- Added
executionId
parameter to getCrawlerSettings method. You can get crawler settings for specific execution with that.
- Thrown error in a case of failed request now contains details such as
URL
,method
, ... .
- All date fields (ending with
At
) such asmodifiedAt
,createdAt
, etc. are now parsed toDate
object.
- Added
client.requestQueues
providing access to Apify Request Queue. - RequestQueue / KeyValueStore / Dataset now support
[username]~[store-name]
instead of store ID.
- Added
client.users.getUser()
method that retrieves own accout details including usage and limits.
- WARNING: Method
datasets.getItems()
now returns object PaginationList with items wrapped inside instead of plain items array. This helps to iterate through all the items using pagination. This change is not backward compatible!
- Support for Function type added to
utils.checkParamOrThrow()
- Updated GitHub repo and Travis CI links
- Datasets group addded