Scrapy, a fast high-level web crawling & scraping framework for Python.
Merge remote-tracking branch 'origin/2.13'
Andrey Rakhmatullind9ef0350d896
diff --cc docs/news.rstindex 9830eda64,b7fdcd585..1bdd0a267--- a/docs/news.rst+++ b/docs/news.rst@@@ -3,48 -3,47 +3,90 @@@Release notes=============+Scrapy VERSION (unreleased)+---------------------------++Backward-incompatible changes+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~++- If you set the :setting:`TWISTED_REACTOR` setting to a :ref:`non-asyncio+ value <disable-asyncio>` at the :ref:`spider level <spider-settings>`, you+ may now need to set the :setting:`FORCE_CRAWLER_PROCESS` setting to+ ``True`` when running Scrapy via :ref:`its command-line tool+ <topics-commands-crawlerprocess>` to avoid a reactor mismatch exception.++- The classes listed below are now :term:`abstract base classes <abstract+ base class>`. They cannot be instantiated directly and their subclasses+ need to override the abstract methods listed below to be able to be+ instantiated. If you previously instantiated these classes directly, you+ will now need to subclass them and provide trivial (e.g. empty)+ implementations for the abstract methods.++ - :class:`scrapy.commands.ScrapyCommand`++ - :meth:`~scrapy.commands.ScrapyCommand.run`++ - :meth:`~scrapy.commands.ScrapyCommand.short_desc`++ - :class:`scrapy.exporters.BaseItemExporter`++ - :meth:`~scrapy.exporters.BaseItemExporter.export_item`++ - :class:`scrapy.extensions.feedexport.BlockingFeedStorage`++ - :meth:`~scrapy.extensions.feedexport.BlockingFeedStorage._store_in_thread`++ - :class:`scrapy.middleware.MiddlewareManager`++ - :meth:`~scrapy.middleware.MiddlewareManager._get_mwlist_from_settings`++ - :class:`scrapy.spidermiddlewares.referer.ReferrerPolicy`++ - :meth:`~scrapy.spidermiddlewares.referer.ReferrerPolicy.referrer`+++ .. _release-2.13.3:++ Scrapy 2.13.3 (2025-07-02)+ --------------------------++ - Changed the values for :setting:`DOWNLOAD_DELAY` (from ``0`` to ``1``) and+ :setting:`CONCURRENT_REQUESTS_PER_DOMAIN` (from ``8`` to ``1``) in the+ default project template.+ (:issue:`6597`, :issue:`6918`, :issue:`6923`)++ - Improved :class:`scrapy.core.engine.ExecutionEngine` logic related to+ initialization and exception handling, fixing several cases where the+ spider would crash, hang or log an unhandled exception.+ (:issue:`6783`, :issue:`6784`, :issue:`6900`, :issue:`6908`, :issue:`6910`,+ :issue:`6911`)++ - Fixed a Windows issue with :ref:`feed exports <topics-feed-exports>` using+ :class:`scrapy.extensions.feedexport.FileFeedStorage` that caused the file+ to be created on the wrong drive.+ (:issue:`6894`, :issue:`6897`)++ - Allowed running tests with Twisted 25.5.0+ again. Pytest 8.4.1+ is now+ required for running tests in non-pinned envs as support for the new+ Twisted version was added in that version.+ (:issue:`6893`)++ - Fixed running tests with lxml 6.0.0+.+ (:issue:`6919`)++ - Added a deprecation notice for+ ``scrapy.spidermiddlewares.offsite.OffsiteMiddleware`` to :ref:`the Scrapy+ 2.11.2 release notes <release-2.11.2>`.+ (:issue:`6926`)++ - Updated :ref:`contribution docs <topics-contributing>` to refer to ruff_+ instead of black_.+ (:issue:`6903`)++ - Added ``.venv/`` and ``.vscode/`` to ``.gitignore``.+ (:issue:`6901`, :issue:`6907`)+++.. _release-2.13.2:Scrapy 2.13.2 (2025-06-09)