Skip to content

Releases: apify/apify-client-python

1.4.1

06 Sep 13:14
Compare
Choose a tag to compare

Added

  • 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

Internal changes

  • improved logging of HTTP requests
  • removed pytest-randomly Pytest plugin

1.4.0

23 Aug 07:29
12e6b52
Compare
Choose a tag to compare
  • added RunClient.reboot method to reboot Actor runs

Internal changes

  • simplified code via flake8-simplify
  • unified indentation in configuration files

1.3.1

28 Jul 14:53
b48d049
Compare
Choose a tag to compare

Internal changes

  • started importing general constants and utilities from the apify-shared library

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