Skip to content

1.0.0

Compare
Choose a tag to compare
@fnesveda fnesveda released this 13 Mar 12:51
· 180 commits to master since this release
9b1ce58

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