diff --git a/docs/news.rst b/docs/news.rst index a4bab7556..50440c63c 100644 --- a/docs/news.rst +++ b/docs/news.rst @@ -32,16 +32,24 @@ some limitations: New Features and Enhancements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +- Scrapy now has a Code of Conduct: + https://github.com/scrapy/scrapy/blob/master/CODE_OF_CONDUCT.md + (:issue:`1681`) - Command line tool completion for zsh (:issue:`934`). -- ``scrapy shell`` works with local files again; this was a regression - identified in 1.0+ releases (:issue:`1710`, :issue:`1550`). -- ``scrapy shell`` now also checks a new ``SCRAPY_PYTHON_SHELL`` environment - variable to launch the interactive shell of your choice; - ``bpython`` is a newly supported option too (:issue:`1444`). -- Scrapy shell now have `http` as the default schema for URLs. Now, you can - start it by: `scrapy shell scrapy.org` (:issue:`1498`). - **Warning: backwards incompatible!** - + see: :issue:`1550`, :issue:`1710`. +- ``scrapy shell`` got a few changes of its own: + + - it now checks a new ``SCRAPY_PYTHON_SHELL`` environment + variable to launch the interactive shell of your choice + (one of ``ipython``, ``bpython`` or ``python`` that is); + - it will try ``bpython`` if ``ipython`` is not available + (:issue:`1444`). + - it uses ``http://`` as the default scheme for URLs (:issue:`1498`) + (try ``scrapy shell scrapy.org``) + **Warning: backwards incompatible!** + - unless argument looks like a relative file path, which works again; + this was a regression identified in 1.0+ releases + (:issue:`1710`, :issue:`1550`). + - Autothrottle code has been cleaned up and its docs have been improved; there's also a new ``AUTOTHROTTLE_TARGET_CONCURRENCY`` setting which allows to send more than 1 concurrent request on average (:issue:`1324`). @@ -51,40 +59,32 @@ New Features and Enhancements 2 new settings can be used to control level of compliancy: ``HTTPCACHE_ALWAYS_STORE`` and ``HTTPCACHE_IGNORE_RESPONSE_CACHE_CONTROLS`` (:issue:`1151`). -- Scheme Download handlers are now lazy-loaded on first request using - that scheme (``http(s)://``, ``ftp://``, ``file://``, ``s3://``) - (:issue:`1390`, :issue:`1421`). +- Download handlers are now lazy-loaded on first request using their + scheme (:issue:`1390`, :issue:`1421`). - RedirectMiddleware now skips the status codes from - ``handle_httpstatus_list``. You can set it either as spider attribute or - ``Request``'s ``meta`` key (:issue:`1334`, :issue:`1364`, :issue:`1447`). -- Form submission now works with `