Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump websockets from 4.0.1 to 5.0 #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 18, 2019

Bumps websockets from 4.0.1 to 5.0.

Changelog

Sourced from websockets's changelog.

5.0
...

.. note::

**Version 5.0 fixes a security issue introduced in version 4.0.**

Version 4.0 was vulnerable to denial of service by memory exhaustion
because it didn't enforce ``max_size`` when decompressing compressed
messages (`CVE-2018-1000518`_).

.. _CVE-2018-1000518: https://nvd.nist.gov/vuln/detail/CVE-2018-1000518

.. note::

**Version 5.0 adds a** ``user_info`` **field to the return value of**
:func:`~uri.parse_uri` **and** :class:`~uri.WebSocketURI` **.**

If you're unpacking :class:`~exceptions.WebSocketURI` into four variables,
adjust your code to account for that fifth field.

Also:

  • :func:~client.connect performs HTTP Basic Auth when the URI contains
    credentials.

  • Iterating on incoming messages no longer raises an exception when the
    connection terminates with close code 1001 (going away).

  • A plain HTTP request now receives a 426 Upgrade Required response and
    doesn't log a stack trace.

  • :func:~server.unix_serve can be used as an asynchronous context manager on
    Python ≥ 3.5.1.

  • Added the :attr:~protocol.WebSocketCommonProtocol.closed property to
    protocols.

  • If a :meth:~protocol.WebSocketCommonProtocol.ping doesn't receive a pong,
    it's canceled when the connection is closed.

  • Reported the cause of :exc:~exceptions.ConnectionClosed exceptions.

  • Added new examples in the documentation.

  • Updated documentation with new features from Python 3.6.

  • Improved several other sections of the documentation.

  • Fixed missing close code, which caused :exc:TypeError on connection close.

... (truncated)
Commits
  • c08a318 Bump version number.
  • 414a514 Fix regression from b07b8895.
  • b6a25ce Security fix: defend against zip bombs.
  • 2b89213 Ignore a warning added in Python 3.7.
  • 7da5f40 Declare await as coroutine.
  • 595e3f0 Add missing entries in the changelog.
  • b32a44a Report cause of ConnectionClosed exception.
  • a28d147 Don't call fail_connection on closed connections.
  • 0a1b76a Fail the connection before the opening handshake.
  • a11fa66 Improve failing the WebSocket connection.
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants