Changelog History
Page 1
-
v2.4.1 Changes
November 17, 2020๐ Fixed feed exports overwrite support
๐ Fixed the asyncio event loop handling, which could make code hang
๐ Fixed the IPv6-capable DNS resolver
CachingHostnameResolver
for download handlers that callreactor.resolve
๐ Fixed the output of the
genspider
command showing placeholders instead of the import part of the generated spider module (issue 4874) -
v2.4.0 Changes
October 11, 2020Hihglights:
๐ Python 3.5 support has been dropped.
๐ The
file_path
method of media pipelines can now access the source item.This allows you to set a download file path based on item data.
The new
item_export_kwargs
key of theFEEDS
setting allows to define keyword parameters to pass to item exporter classes.๐ You can now choose whether feed exports overwrite or append to the output file.
๐ For example, when using the
crawl
orrunspider
commands, you can use the-O
option instead of-o
to overwrite the output file.๐ Zstd-compressed responses are now supported if zstandard is installed.
In settings, where the import path of a class is required, it is now possible to pass a class object instead.
-
v2.3.0 Changes
August 04, 2020Hihglights:
๐ Feed exports now support Google Cloud Storage as a storage backend
The new
FEED_EXPORT_BATCH_ITEM_COUNT
setting allows to deliver output items in batches of up to the specified number of items.โช It also serves as a workaround for delayed file delivery, which causes Scrapy to only start item delivery after the crawl has finished when using certain storage backends (S3, FTP, and now GCS).
๐ The base implementation of item loaders has been moved into a separate library, itemloaders, allowing usage from outside Scrapy and a separate release schedule
-
v2.2.1 Changes
July 17, 2020๐ The
startproject
command no longer makes unintended changes to the permissions of files in the destination folder, such as removing execution permissions. -
v2.2.0 Changes
June 24, 2020Highlights:
- Python 3.5.2+ is required now
- ๐ dataclass objects and attrs objects are now valid item types
- ๐ New
TextResponse.json
method - ๐ฆ New
bytes_received
signal that allows canceling response download - ๐
CookiesMiddleware
fixes
-
v2.1.0 Changes
April 24, 2020Highlights:
- ๐ New
FEEDS
setting to export to multiple feeds - โ New
Response.ip_address
attribute
- ๐ New
-
v2.0.1 Changes
March 18, 2020 -
v2.0.0 Changes
March 03, 2020Highlights:
- ๐ Python 2 support has been removed
- ๐ Partial coroutine syntax support and experimental asyncio support
- ๐ New Response.follow_all method
- ๐ FTP support for media pipelines
- ๐ New Response.certificate attribute
- ๐ IPv6 support through DNS_RESOLVER
-
v1.8.0
October 29, 2019 -
v1.7.4 Changes
October 21, 2019