Changelog
1.7.0
Added
- Add a new way of generating the
uniqueKey
field of the request, aligning it with the Crawlee.
Fixed
- Improve error handling for
to_apify_request
serialization failures - Scrapy's
Request.dont_filter
works.
1.6.0
Fixed
- Update of Scrapy integration, fixes in
ApifyScheduler
,to_apify_request
andapply_apify_settings
Removed
- Removed
ApifyRetryMiddleware
and stay with the Scrapy's default one
1.5.5
Fixed
- Fix conversion of
headers
fields in Apify <--> Scrapy request translation
1.5.4
Fixed
- Fix conversion of
userData
andheaders
fields in Apify <--> Scrapy request translation
1.5.3
Added
- Add
apply_apify_settings
function to Scrapy subpackage
1.5.2
Internal changes
- Create a new subpackage for Scrapy pipelines
- Remove some noqas thanks to the new Ruff release
- Replace relative imports with absolute imports
- Replace asserts with custom checks in Scrapy subpackage
Fixed
- Add missing import check to
ApifyHttpProxyMiddleware
1.5.1
Internal changes
- Allowed running integration tests from PRs from forks, after maintainer approval
- Do not close
nested_event_loop
in theScheduler.__del__()
1.5.0
Added
- Added
ApifyHttpProxyMiddleware
1.4.1
Fixed
- Resolved issue in
ApifyRetryMiddleware.process_exception()
, where requests were getting stuck in the request queue
Internal changes
- Fixed type hint problems for resource clients
1.4.0
Internal changes
- Migrate from Autopep8 and Flake8 to Ruff
1.3.0
Added
- Added
scrapy
extra
1.2.0
Added
- Added support for Python 3.12
Internal changes
- Fix lint error (E721) in unit tests (for instance checks use
isinstance()
)
1.1.5
Added
- Update the Apify log formatter to contain an option for adding the logger name
Internal changes
- rewrote documentation publication to use Docusaurus
- removed PR Toolkit workflow
1.1.4
Fixed
- resolved issue with querying request queue head multiple times in parallel
Internal changes
- fixed integration tests for Actor logger
- removed
pytest-randomly
Pytest plugin - unpinned
apify-client
andapify-shared
to improve compatibility with their newer versions
1.1.3
Internal changes
- unified indentation in configuration files
- update the
Actor.reboot
method to use the new reboot endpoint
v1.1.2
Internal changes
- started importing general constants and utilities from the
apify-shared
library - simplified code via
flake8-simplify
- started using environment variables with prefix
ACTOR_
instead of some with prefixAPIFY_
- pinned
apify-client
andapify-shared
to prevent their implicit updates from breaking SDK
1.1.1
Fixed
- relaxed dependency requirements to improve compatibility with other libraries
1.1.0
Added
- option to add Actor event handlers which accept no arguments
- added support for
is_terminal
flag in status message update - option to set status message along with
Actor.exit()
Fixed
- fixed saving key-value store values to local storage with the right extension for a given content type
- started enforcing local storage to always use the UTF-8 encoding
Internal changes
- switched from
setup.py
topyproject.toml
for specifying project setup
1.0.0
Internal changes
- updated to
apify-client
1.0.0 - started triggering base Docker image builds when releasing a new version
Fixed
- fixed
RequestQueue
not loading requests from an existing queue properly
0.2.0
Breaking changes
- fixed local
MemoryStorageClient
not handling the difference between storageid
andname
correctly
Added
- Added the
KeyValueStore.get_public_url()
method to get public URLs of key-value store records
Fixed
- fixed parsing messages from the platform events websocket when they have no event data
- fixed
EventManager
not waiting for platform events websocket connection during initialization - fixed local
RequestQueueClient
not respecting theforefront
argument - fixed local
RequestQueueClient
not counting thehandledRequestCount
property - fixed local storage operations possibly running in parallel
- stopped calling
sys.exit()
in a nested asyncio loop - stopped purging storages by default
Internal changes
- started running unit tests in CI on Windows runners in addition to Linux
- added unit tests for environment variables handling
- added unit tests for the
Configuration
class - added unit tests for the
EventManager
class - added more Flake8 plugins and fixed issues they reported
0.1.0
Initial release of the package.