Skip to content

Commit

Permalink
Fix/reword the release notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
wRAR committed Sep 18, 2023
1 parent 2fa7683 commit 528911d
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions docs/news.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Highlights:
:meth:`~scrapy.Spider.from_crawler` methods, e.g. based on :ref:`spider
arguments <spiderargs>`.

- Periodic stats logging.
- Periodic logging of stats.


Backward-incompatible changes
Expand Down Expand Up @@ -47,16 +47,16 @@ Deprecation removals
:class:`~scrapy.exporters.PythonItemExporter`, deprecated in Scrapy 1.1.0.
(:issue:`6006`, :issue:`6007`)

- Removed the ``CrawlerRunner.spiders`` attribute, deprecated in Scrapy
1.0.0, use :attr:`CrawlerRunner.spider_loader
<scrapy.crawler.CrawlerRunner.spider_loader>` instead. (:issue:`6010`)

.. note:: If you are using this Scrapy version on Scrapy Cloud with a stack
that includes an older Scrapy version and get a "TypeError:
Unexpected options: binary" error, you may need to add
``scrapinghub-entrypoint-scrapy > 0.14.0`` to your project
``scrapinghub-entrypoint-scrapy >= 0.14.1`` to your project
requirements or switch to a stack that includes Scrapy 2.11.

- Removed the ``CrawlerRunner.spiders`` attribute, deprecated in Scrapy
1.0.0, use :attr:`CrawlerRunner.spider_loader
<scrapy.crawler.CrawlerRunner.spider_loader>` instead. (:issue:`6010`)

Deprecations
~~~~~~~~~~~~

Expand All @@ -67,12 +67,8 @@ Deprecations
New features
~~~~~~~~~~~~

- Changed the :class:`scrapy.crawler.Crawler` initialization order, so that
most of the initialization that previously happened in
:meth:`~scrapy.crawler.Crawler.__init__` now happens in
:meth:`~scrapy.crawler.Crawler.crawl` after the spider instance is created.
This allows spider instances to modify settings in their
:meth:`~scrapy.Spider.from_crawler` methods, e.g. based on :ref:`spider
- Spiders can now modify settings in their
:meth:`~scrapy.Spider.from_crawler` method, e.g. based on :ref:`spider
arguments <spiderargs>`. (:issue:`1305`, :issue:`1580`, :issue:`2392`,
:issue:`3663`, :issue:`6038`)

Expand Down

0 comments on commit 528911d

Please sign in to comment.