Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2024

Bumps aiohttp from 3.9.1 to 3.11.0.

Release notes

Sourced from aiohttp's releases.

3.11.0

Bug fixes

  • Raise :exc:aiohttp.ServerFingerprintMismatch exception on client-side if request through http proxy with mismatching server fingerprint digest: aiohttp.ClientSession(headers=headers, connector=TCPConnector(ssl=aiohttp.Fingerprint(mismatch_digest), trust_env=True).request(...) -- by :user:gangj.

    Related issues and pull requests on GitHub: #6652.

  • Modified websocket :meth:aiohttp.ClientWebSocketResponse.receive_str, :py:meth:aiohttp.ClientWebSocketResponse.receive_bytes, :py:meth:aiohttp.web.WebSocketResponse.receive_str & :py:meth:aiohttp.web.WebSocketResponse.receive_bytes methods to raise new :py:exc:aiohttp.WSMessageTypeError exception, instead of generic :py:exc:TypeError, when websocket messages of incorrect types are received -- by :user:ara-25.

    Related issues and pull requests on GitHub: #6800.

  • Made TestClient.app a Generic so type checkers will know the correct type (avoiding unneeded client.app is not None checks) -- by :user:Dreamsorcerer.

    Related issues and pull requests on GitHub: #8977.

  • Fixed the keep-alive connection pool to be FIFO instead of LIFO -- by :user:bdraco.

    Keep-alive connections are more likely to be reused before they disconnect.

    Related issues and pull requests on GitHub: #9672.

Features

  • Added strategy parameter to :meth:aiohttp.web.StreamResponse.enable_compression The value of this parameter is passed to the :func:zlib.compressobj function, allowing people to use a more sufficient compression algorithm for their data served by :mod:aiohttp.web -- by :user:shootkin

    Related issues and pull requests on GitHub: #6257.

... (truncated)

Changelog

Sourced from aiohttp's changelog.

3.11.0 (2024-11-13)

Bug fixes

  • Raise :exc:aiohttp.ServerFingerprintMismatch exception on client-side if request through http proxy with mismatching server fingerprint digest: aiohttp.ClientSession(headers=headers, connector=TCPConnector(ssl=aiohttp.Fingerprint(mismatch_digest), trust_env=True).request(...) -- by :user:gangj.

    Related issues and pull requests on GitHub: :issue:6652.

  • Modified websocket :meth:aiohttp.ClientWebSocketResponse.receive_str, :py:meth:aiohttp.ClientWebSocketResponse.receive_bytes, :py:meth:aiohttp.web.WebSocketResponse.receive_str & :py:meth:aiohttp.web.WebSocketResponse.receive_bytes methods to raise new :py:exc:aiohttp.WSMessageTypeError exception, instead of generic :py:exc:TypeError, when websocket messages of incorrect types are received -- by :user:ara-25.

    Related issues and pull requests on GitHub: :issue:6800.

  • Made TestClient.app a Generic so type checkers will know the correct type (avoiding unneeded client.app is not None checks) -- by :user:Dreamsorcerer.

    Related issues and pull requests on GitHub: :issue:8977.

  • Fixed the keep-alive connection pool to be FIFO instead of LIFO -- by :user:bdraco.

    Keep-alive connections are more likely to be reused before they disconnect.

    Related issues and pull requests on GitHub: :issue:9672.

Features

  • Added strategy parameter to :meth:aiohttp.web.StreamResponse.enable_compression The value of this parameter is passed to the :func:zlib.compressobj function, allowing people to use a more sufficient compression algorithm for their data served by :mod:aiohttp.web -- by :user:shootkin

... (truncated)

Commits
  • c311912 Release 3.11.0 (#9860)
  • 95341e1 Merge branch '3.10' into 3.11
  • 3e09325 Remove 3.10.11rc0 from 3.10 changelog (#9858)
  • beb7b74 Release 3.10.11 (#9857)
  • 2fa8bcd [PR #9852/249855a backport][3.11] Fix system routes polluting the middleware ...
  • 259edc3 [PR #9851/541d86d backport][3.10] Fix incorrect parsing of chunk extensions w...
  • bc15db6 [PR #9852/249855a backport][3.10] Fix system routes polluting the middleware ...
  • d24c19e [PR #9851/541d86d backport][3.11] Fix incorrect parsing of chunk extensions w...
  • fe0a6e6 Release 3.11.0rc2 (#9849)
  • 354489d [PR #9839/a9a0d84 backport][3.11] Implement zero copy writes in `StreamWriter...
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Summary by Sourcery

Bump aiohttp dependency from version 3.9.1 to 3.11.0, introducing new features and bug fixes. The update includes a new 'strategy' parameter for compression in StreamResponse, improved exception handling for server fingerprint mismatches, refined websocket message type error handling, enhanced type checking for TestClient.app, and a change in the keep-alive connection pool strategy to FIFO.

New Features:

  • Add 'strategy' parameter to enable_compression method in aiohttp.web.StreamResponse for improved compression algorithm selection.

Bug Fixes:

  • Fix client-side exception handling for mismatching server fingerprint digest when using HTTP proxy.
  • Modify websocket methods to raise WSMessageTypeError instead of TypeError for incorrect message types.
  • Make TestClient.app a Generic to improve type checking and avoid unnecessary checks.
  • Change keep-alive connection pool from LIFO to FIFO to enhance connection reuse.

Bumps [aiohttp](https://github.com/aio-libs/aiohttp) from 3.9.1 to 3.11.0.
- [Release notes](https://github.com/aio-libs/aiohttp/releases)
- [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst)
- [Commits](aio-libs/aiohttp@v3.9.1...v3.11.0)

---
updated-dependencies:
- dependency-name: aiohttp
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependabot-bump Dependabot bumping the dependencies. pip-bump A package from pip is being bumped. labels Nov 14, 2024
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 15, 2024

Superseded by #443.

@dependabot dependabot bot closed this Nov 15, 2024
@dependabot dependabot bot deleted the dependabot-pip-aiohttp-3.11.0 branch November 15, 2024 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot-bump Dependabot bumping the dependencies. pip-bump A package from pip is being bumped.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant