websocket-client breaking changes
websocket-client 1.0.0 (May 18, 2021) is its newest release with breaking changes, 4 of them. The first: Removed websocket.tests.test_app.HAVE_SSL. Every breaking API change we have recorded in websocket-client on PyPI: 14 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.9.2, released August 31, 2026.
Its 1.0.0 release requires Python 3 or later. Python end of life dates.
- From 0.59.0 to 1.0.0: 4 breaking changes in 1 version.
- From 0.58.0 to 1.0.0: 12 breaking changes in 2 versions.
websocket-client 1.0.0 breaking changes
- Removed
websocket.tests.test_app.HAVE_SSL
websocket.tests.test_app.HAVE_SSL was removed in websocket-client 1.0.0 pypi.org - Behavior changed
This release only supports Python 3 and no longer supports Python 2. Code running on Python 2 must stay on an earlier release or move to Python 3. github.com - Signature changed
websocket.WebSocket.close
Was def close(self, status=STATUS_NORMAL, reason=six.b(''), timeout=3); now def close(self, status=STATUS_NORMAL, reason=bytes('', encoding='utf-8'), timeout=3). pypi.org - Signature changed
websocket.WebSocket.send_close
Was def send_close(self, status=STATUS_NORMAL, reason=six.b('')); now def send_close(self, status=STATUS_NORMAL, reason=bytes('', encoding='utf-8')). pypi.org
websocket-client 0.59.0 breaking changes
- Removed
This release is the last main release supporting Python 2. Releases 1.0.0 and above work only with Python 3, so Python 2 users must stay on 0.x or upgrade their Python. github.com - Removed
websocket.tests.test_websocket.TEST_SECURE_WS
websocket.tests.test_websocket.TEST_SECURE_WS was removed in websocket-client 0.59.0 pypi.org - Removed
websocket.tests.test_websocket.WebSocketTest.testParseUrl
WebSocketTest.testParseUrl was removed in websocket-client 0.59.0 pypi.org - Renamed
websocket.tests.test_websocket.get_proxy_info
Use websocket.tests.test_url.get_proxy_info instead. pypi.org - Renamed
websocket.tests.test_websocket.parse_url
Use websocket.tests.test_url.parse_url instead. pypi.org - Renamed
websocket.tests.test_websocket.ProxyInfoTest
Use websocket.tests.test_url.ProxyInfoTest instead. pypi.org - Renamed
websocket.tests.test_websocket.WebSocketAppTest
Use websocket.tests.test_app.WebSocketAppTest instead. pypi.org - Signature changed
websocket.WebSocketApp.run_forever
Was def run_forever(self, sockopt=None, sslopt=None, ping_interval=0, ping_timeout=None, http_proxy_host=None, http_proxy_port=None, http_no_proxy=None, http_proxy_auth=None, skip_utf8_validation=False, host=None, origin=None... pypi.org
websocket-client 0.58.0 breaking changes
- Renamed
websocket.tests.test_websocket.WebSocketTest.testWebSocketWihtCustomHeader
Use WebSocketTest.testWebSocketWithCustomHeader instead. pypi.org - Signature changed
websocket.WebSocket.pong
Was def pong(self, payload); now def pong(self, payload=''). pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.