NewsSpider
NewsSpider copied to clipboard
Bump scrapy from 1.7.3 to 2.11.1
Bumps scrapy from 1.7.3 to 2.11.1.
Release notes
Sourced from scrapy's releases.
2.11.1
- Security bug fixes.
- Support for Twisted >= 23.8.0.
- Documentation improvements.
2.11.0
- Spiders can now modify settings in their
from_crawler
methods, e.g. based on spider arguments.- Periodic logging of stats.
- Bug fixes.
2.10.1
Marked
Twisted >= 23.8.0
as unsupported.2.10.0
- Added Python 3.12 support, dropped Python 3.7 support.
- The new add-ons framework simplifies configuring 3rd-party components that support it.
- Exceptions to retry can now be configured.
- Many fixes and improvements for feed exports.
2.9.0
- Per-domain download settings.
- Compatibility with new cryptography and new parsel.
- JMESPath selectors from the new parsel.
- Bug fixes.
2.8.0
This is a maintenance release, with minor features, bug fixes, and cleanups.
2.7.1
- Relaxed the restriction introduced in 2.6.2 so that the
Proxy-Authentication
header can again be set explicitly in certain cases, restoring compatibility with scrapy-zyte-smartproxy 2.1.0 and older- Bug fixes
2.7.0
- Added Python 3.11 support, dropped Python 3.6 support
- Improved support for asynchronous callbacks
- Asyncio support is enabled by default on new projects
- Output names of item fields can now be arbitrary strings
- Centralized request fingerprinting configuration is now possible
... (truncated)
Changelog
Sourced from scrapy's changelog.
Scrapy 2.11.1 (2024-02-14)
Highlights:
Security bug fixes.
Support for Twisted >= 23.8.0.
Documentation improvements.
Security bug fixes
- Addressed `ReDoS vulnerabilities`_:
- ``scrapy.utils.iterators.xmliter`` is now deprecated in favor of :func:`~scrapy.utils.iterators.xmliter_lxml`, which :class:`~scrapy.spiders.XMLFeedSpider` now uses.
To minimize the impact of this change on existing code, :func:`~scrapy.utils.iterators.xmliter_lxml` now supports indicating the node namespace with a prefix in the node name, and big files with highly nested trees when using libxml2 2.7+.
- Fixed regular expressions in the implementation of the :func:
~scrapy.utils.response.open_in_browser
function.Please, see the
cc65-xxvf-f7r9 security advisory
_ for more information... ReDoS vulnerabilities: https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service-_ReDoS .. _cc65-xxvf-f7r9 security advisory: https://github.com/scrapy/scrapy/security/advisories/GHSA-cc65-xxvf-f7r9
:setting:
DOWNLOAD_MAXSIZE
and :setting:DOWNLOAD_WARNSIZE
now also apply to the decompressed response body. Please, see the7j7m-v7m3-jqm7 security advisory
_ for more information... _7j7m-v7m3-jqm7 security advisory: https://github.com/scrapy/scrapy/security/advisories/GHSA-7j7m-v7m3-jqm7
Also in relation with the
7j7m-v7m3-jqm7 security advisory
_, the deprecatedscrapy.downloadermiddlewares.decompression
module has been removed.The
Authorization
header is now dropped on redirects to a different domain. Please, see thecw9j-q3vf-hrrv security advisory
_ for more information... _cw9j-q3vf-hrrv security advisory: https://github.com/scrapy/scrapy/security/advisories/GHSA-cw9j-q3vf-hrrv
Modified requirements </tr></table>
... (truncated)
Commits
2f1d345
Solve test issues502addc
Bump version: 2.11.0 → 2.11.16b88b33
Set the release date of versions 2.11.1 and 1.8.4479619b
Merge branch '2.11-redos' into 2.11809bfac
Merge branch '2.11-compression-bomb' into 2.115bcb8fd
Merge branch '2.11-authorization' into 2.11a55e933
Release notes for 2.11.1 (#6150)5e5a920
Remove slow leftovers810aaa6
Undo an unintended changec5dad41
Speed up tests, remove comments without regexps- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.