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

Update wsproto to 1.2.0 #69

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

Conversation

pyup-bot
Copy link
Collaborator

This PR updates wsproto from 0.14.1 to 1.2.0.

Changelog

1.2.0

------------------

- Bugfix: When a close frame with status NO_STATUS_RCVD is sent, send
and empty payload.
- Bugfix: Changing both encoding and decoding of the Host, from ascii
to idna.
- Bugfix: Support multiple Sec-WebSocket-Extensions and
Sec-WebSocket-Protocol headers.
- Accept bytes alongside string as path argument in
initiate_upgrade_connection.
- Check the state when sending events, raising if the event cannot be
sent in the current state.

1.1.0

------------------

- Added support for Python 3.10.
- Drop support for Python 3.6, meaning the minimum supported version
is Python 3.7.0.
- Various type checking and code linting improvements.

1.0.0

------------------

- Added support for Python 3.8 and 3.9.
- Prevent invalid window bit sizes.
- Various docs, type checking, tooling and testing improvements.

0.15.0

-------------------

**This contains all the Bugfixes in the 0.14 branch.**

- Drop support for Python 2. Please pin to ~= 0.14.0 if you support
Python 2.
- Drop support for Python 3.5, meaning the minimum supported version
is Python 3.6.1.
- Switch events to be dataclass based, otherwise the API is
consistent.
- Add type hints throughout and support PEP 561 via a py.typed
file. This should allow projects that use wsproto to type check their
usage of wsproto.
- Bugfix prevent the test folder being installed as a package called
test.
- Explicitly require Host header in handshake.
- Drop wsaccel support and utilise the aiohttp/willmcgugan masking
method. wsaccel is unmaintained and this new masking method is
almost as quick.
Links

@pyup-bot pyup-bot added the dependency update Specifies pyup.io dependency updates label Aug 23, 2022
@pyup-bot pyup-bot mentioned this pull request Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency update Specifies pyup.io dependency updates
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant