Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates wsproto from 0.14.1 to 1.3.0.

Changelog

1.3.0

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

- Require h11>=0.16 dependency.
- Fix "Upgrade" header value to match RFC.
- Add reason "Switching Protocols" to handshake response.
- Add docs for `wsproto.Connection`
- Add support for Python 3.12, 3.13, and 3.14.
- Drop support for Python 3.7, 3.8, and 3.9.
- Improve Python typing, specifically bytes vs. bytearray.
- Various linting, styling, and packaging improvements.

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 Nov 11, 2025
@pyup-bot pyup-bot mentioned this pull request Nov 11, 2025
@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #160

@pyup-bot pyup-bot closed this Nov 13, 2025
@vbe0201 vbe0201 deleted the pyup-update-wsproto-0.14.1-to-1.3.0 branch November 13, 2025 06:35
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.

2 participants