---
title: "websocket-client 1.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each websocket-client release removed, renamed or changed: 14 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/websocket-client
last_updated: 2026-12-04
---

# 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

Latest version `1.9.2`, released August 31, 2026. 

Its 1.0.0 release requires Python 3 or later. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.59.0](#v-0-59-0) to [1.0.0](#v-1-0-0): 4 breaking changes in 1 version.
- From [0.58.0](#v-0-58-0) to [1.0.0](#v-1-0-0): 12 breaking changes in 2 versions.

## websocket-client 1.0.0 breaking changes

websocket-client 1.0.0, released May 18, 2021: 4 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](https://pypi.org/project/websocket-client/1.0.0/)
- **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](https://github.com/websocket-client/websocket-client/releases/tag/v1.0.0)
- **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](https://pypi.org/project/websocket-client/1.0.0/)
- **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](https://pypi.org/project/websocket-client/1.0.0/)

## websocket-client 0.59.0 breaking changes

websocket-client 0.59.0, released May 5, 2021: 8 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](https://github.com/websocket-client/websocket-client/releases/tag/v0.59.0)
- **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](https://pypi.org/project/websocket-client/0.59.0/)
- **Removed** `websocket.tests.test_websocket.WebSocketTest.testParseUrl`  

WebSocketTest.testParseUrl was removed in websocket-client 0.59.0 [pypi.org](https://pypi.org/project/websocket-client/0.59.0/)
- **Renamed** `websocket.tests.test_websocket.get_proxy_info`  

Use websocket.tests.test_url.get_proxy_info instead. [pypi.org](https://pypi.org/project/websocket-client/0.59.0/)
- **Renamed** `websocket.tests.test_websocket.parse_url`  

Use websocket.tests.test_url.parse_url instead. [pypi.org](https://pypi.org/project/websocket-client/0.59.0/)
- **Renamed** `websocket.tests.test_websocket.ProxyInfoTest`  

Use websocket.tests.test_url.ProxyInfoTest instead. [pypi.org](https://pypi.org/project/websocket-client/0.59.0/)
- **Renamed** `websocket.tests.test_websocket.WebSocketAppTest`  

Use websocket.tests.test_app.WebSocketAppTest instead. [pypi.org](https://pypi.org/project/websocket-client/0.59.0/)
- **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](https://pypi.org/project/websocket-client/0.59.0/)

## websocket-client 0.58.0 breaking changes

websocket-client 0.58.0, released March 3, 2021: 2 breaking changes.

- **Renamed** `websocket.tests.test_websocket.WebSocketTest.testWebSocketWihtCustomHeader`  

Use WebSocketTest.testWebSocketWithCustomHeader instead. [pypi.org](https://pypi.org/project/websocket-client/0.58.0/)
- **Signature changed** `websocket.WebSocket.pong`  

Was def pong(self, payload); now def pong(self, payload=''). [pypi.org](https://pypi.org/project/websocket-client/0.58.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
