Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Document a backward incompatibility that may affect custom schedulers (#4274)

Joy Bhalla4f31c3ce017d
diff --git a/docs/news.rst b/docs/news.rst
index 6d0d4b4ee..e4b985c77 100644
--- a/docs/news.rst
+++ b/docs/news.rst
@@ -288,6 +288,13 @@ Backward-incompatible changes
:class:`~scrapy.http.Request` objects instead of arbitrary Python data
structures.
+* An additional ``crawler`` parameter has been added to the ``__init__`` method
+ of the :class:`scrapy.core.scheduler.Scheduler` class.
+ Custom scheduler subclasses which don't accept arbitrary parameters in
+ their ``__init__`` method might break because of this change.
+
+ For more information, refer to the documentation for the :setting:`SCHEDULER` setting.
+
See also :ref:`1.7-deprecation-removals` below.