All notable changes to this project will be documented in this file.
- Add user.update_limits (#279) (7aed9c9) by @MFori, closes #329
- Add charge method to the run client for "pay per event" (#304) (3bd6bbb) by @Jkuzz
- Add error data to ApifyApiError (#314) (df2398b) by @Pijukatel, closes #306
1.8.1 (2024-09-17)
1.8.0 (2024-08-30)
- drop support for Python 3.8
- Adds headers_template to webhooks and webhooks_collection (#239) (6dbd781) by @jakerobers
- Add actor standby (#248) (dd4bf90) by @jirimoravcik
- Allow passing list of fields to unwind parameter (#256) (036b455) by @fnesveda
1.7.1 - 2024-07-11
- fix breaking change (sync -> async) in 1.7.0
- fix getting storages of last run
1.7.0 - 2024-05-20
- fix abort of last task run
- fix abort of last Actor run
ActorClient
's andTaskClient
'slast_run
methods are asynchronous
1.6.4 - 2024-02-27
- added
monthlyUsage()
andlimits()
methods toUserClient
1.6.3 - 2023-02-16
- added
log()
method toBuildClient
1.6.2 - 2023-01-08
- Relative imports were replaced for absolute imports
1.6.1 - 2023-12-11
- Fixed
_BaseHTTPClient._parse_params()
method to ensure correct conversion of API list parameters
1.6.0 - 2023-11-16
- Migrate from Autopep8 and Flake8 to Ruff
1.5.0 - 2023-10-18
- added support for Python 3.12
- added DELETE to Actor runs
- added DELETE to Actor builds
- rewrote documentation publication to use Docusaurus
- removed PR Toolkit workflow
1.4.1 - 2023-09-06
- added
StoreCollectionClient
for listing Actors in the Apify Store - added support for specifying the
max_items
parameter for pay-per result Actors and their runs
- improved logging of HTTP requests
- removed
pytest-randomly
Pytest plugin
1.4.0 - 2023-08-23
- added
RunClient.reboot
method to reboot Actor runs
- simplified code via
flake8-simplify
- unified indentation in configuration files
1.3.1 - 2023-07-28
- started importing general constants and utilities from the
apify-shared
library
1.3.0 - 2023-07-24
- added
list_and_lock_head
,delete_request_lock
,prolong_request_lock
methods toRequestQueueClient
- added
batch_add_requests
,batch_delete_requests
,list_requests
methodsRequestQueueClient
1.2.2 - 2023-05-31
- fixed encoding webhook lists in request parameters
1.2.1 - 2023-05-23
- relaxed dependency requirements to improve compatibility with other libraries
1.2.0 - 2023-05-23
- added option to change the build, memory limit and timeout when resurrecting a run
- updated dependencies
1.1.1 - 2023-05-05
- changed GitHub workflows to use new secrets
1.1.0 - 2023-05-05
- added support for
is_status_message_terminal
flag in Actor run status message update
- switched from
setup.py
topyproject.toml
for specifying project setup
1.0.0 - 2023-03-13
- dropped support for Python 3.7, added support for Python 3.11
- unified methods for streaming resources
- switched underlying HTTP library from
requests
tohttpx
- added support for asynchronous usage via
ApifyClientAsync
- added configurable socket timeout for requests to the Apify API
- added
py.typed
file to signal type checkers that this package is typed - added method to update status message for a run
- added option to set up webhooks for Actor builds
- added logger with basic debugging info
- added support for
schema
parameter inget_or_create
method for datasets and key-value stores - added support for
title
parameter in task and schedule methods - added
x-apify-workflow-key
header support - added support for
flatten
andview
parameters in dataset items methods - added support for
origin
parameter in Actor/task run methods - added clients for Actor version environment variables
- disallowed
NaN
andInfinity
values in JSONs sent to the Apify API
- simplified retrying with exponential backoff
- improved checks for "not found" errors
- simplified flake8 config
- updated development dependencies
- simplified development scripts
- updated GitHub Actions versions to fix deprecations
- unified unit test style
- unified preparing resource representation
- updated output management in GitHub Workflows to fix deprecations
- improved type hints across codebase
- added option to manually publish the package with a workflow dispatch
- added
pre-commit
to run code quality checks before committing - converted
unittest
-style tests topytest
-style tests - backported project setup improvements from
apify-sdk-python
0.6.0 - 2022-06-27
- Dropped support for single-file Actors
- updated dependencies
- fixed some lint issues in shell scripts and
setup.py
- added Python 3.10 to unit test roster
0.5.0 - 2021-09-16
- improved retrying broken API server connections
- fixed timeout value in actively waiting for a run to finish
- updated development dependencies
0.4.0 - 2021-09-07
- improved handling of
Enum
arguments - improved support for storing more data types in key-value stores
- fixed values of some
ActorJobStatus
Enum
members
0.3.0 - 2021-08-26
- added the
test()
method to the webhook client - added support for indicating the pagination direction in the
ListPage
objects
- improved support for storing more data types in datasets
- fixed return type in the
DatasetClient.list_items()
method docs
- added human-friendly names to the jobs in Github Action workflows
- updated development dependencies
0.2.0 - 2021-08-09
- added the
gracefully
parameter to the "Abort run" method
- replaced
base_url
withapi_url
in the client constructor to enable easier passing of the API server url from environment variables available to Actors on the Apify platform
- changed tags for Actor images with this client on Docker Hub to be aligned with the Apify SDK Node.js images
- updated the
requests
dependency to 2.26.0 - updated development dependencies
0.1.0 - 2021-08-02
- methods using specific option values for arguments now use well-defined and documented
Enum
s for those arguments instead of generic strings - made the submodule
apify_client.consts
containing thoseEnum
s available
- updated development dependencies
- enforced unified use of single quotes and double quotes
- added repository dispatch to build Actor images with this client when publishing a new version
0.0.1 - 2021-05-13
Initial release of the package.