Skip to content

Releases: apify/apify-client-python

1.3.0

24 Jul 10:35
Compare
Choose a tag to compare

Added

  • added list_and_lock_head, delete_request_lock, prolong_request_lock methods to RequestQueueClient
  • added batch_add_requests, batch_delete_requests, list_requests methods RequestQueueClient

1.2.2

31 May 13:20
f1c69f2
Compare
Choose a tag to compare

Fixed

  • fixed encoding webhook lists in request parameters

1.2.1

23 May 17:04
Compare
Choose a tag to compare

Fixed

  • relaxed dependency requirements to improve compatibility with other libraries

1.2.0

23 May 14:13
Compare
Choose a tag to compare

Added

  • added option to change the build, memory limit and timeout when resurrecting a run

Internal changes

  • updated dependencies

1.1.1

05 May 14:39
Compare
Choose a tag to compare

Internal changes

  • changed GitHub workflows to use new secrets

1.1.0

05 May 08:32
Compare
Choose a tag to compare

Added

  • added support for is_status_message_terminal flag in Actor run status message update

Internal changes

  • switched from setup.py to pyproject.toml for specifying project setup

1.0.0

13 Mar 12:51
9b1ce58
Compare
Choose a tag to compare

Breaking changes

  • dropped support for Python 3.7, added support for Python 3.11
  • unified methods for streaming resources
  • switched underlying HTTP library from requests to httpx

Added

  • 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 in get_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 and view parameters in dataset items methods
  • added support for origin parameter in actor/task run methods
  • added clients for actor version environment variables

Fixed

  • disallowed NaN and Infinity values in JSONs sent to the Apify API

Internal changes

  • 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 to pytest-style tests
  • backported project setup improvements from apify-sdk-python

0.6.0

27 Jun 10:03
b599baf
Compare
Choose a tag to compare

Removed

  • Dropped support for single-file actors

Internal changes

  • updated dependencies
  • fixed some lint issues in shell scripts and setup.py
  • added Python 3.10 to unit test roster

0.5.0

16 Sep 13:09
ebefbae
Compare
Choose a tag to compare

Changed

  • improved retrying broken API server connections

Fixed

  • fixed timeout value in actively waiting for a run to finish

Internal changes

  • updated development dependencies

0.4.0

07 Sep 08:38
d27cafc
Compare
Choose a tag to compare

Changed

  • improved handling of Enum arguments
  • improved support for storing more data types in key-value stores

Fixed

  • fixed values of some ActorJobStatus Enum members