Skip to content

Releases: tarasko/picows

1.14.0 (2026-02-19)

19 Feb 00:40

Choose a tag to compare

  • WSTransport.wait_disconnected raises WSError exception if disconnect was cause by protocol parsing error.
  • Transfer user exception from on_ws_disconnected to wait_disconnected on the client side
  • Expand 'Exceptions handling' topic guide to explain how exceptions are transferred from user callbacks to wait_disconnected

1.13.1 (2026-02-15)

15 Feb 12:35
59cfff7

Choose a tag to compare

  • Add more examples and update docs

1.13.0 (2026-02-14)

14 Feb 14:06

Choose a tag to compare

  • #23: add support for SOCKS4, SOCKS5, HTTP proxies (no support for HTTPS proxy yet)

1.12.0 (2026-02-11)

11 Feb 16:38

Choose a tag to compare

  • #71: add support for HTTP redirects
  • Following discussion #68 added raw_header, raw_body and response attributes to WSError exception.
  • Added additional checks for URL and WSInvalidURL exception
  • Some non-latency critical code has been "de-cythonized" for better debugging experience.
  • WSUpgradeRequest, WSUpgradeResponse, WSUpgradeResponseWithListener moved to a pure python module
  • Mark picows extension module freethreading compatible

If your picows imports break after upgrading to 1.12.0 make sure you are importing from the package level.
Correct:
from picows import WSListener, WSFrame, WSUpgradeResponse

Wrong:
from picows.picows import WSListener, WSFrame, WSUpgradeResponse

The only exception to this are Cython definitions. You still have to cimport them from picows.picows
from picows.picows cimport WSListener, WSFrame

1.11.1 (2026-02-05)

05 Feb 16:15

Choose a tag to compare

  • Fix accidentally forgotten -O2 optimization flag

1.11.0 (2026-02-04)

04 Feb 17:30

Choose a tag to compare

  • #72: fixed possible memory leak due to never deleted child loggers
  • Added faster versions of _mask_payload using sse2/avx2/avx512/neon intrinsics
  • Switched to using BufferedProtocol for uvloop

1.10.2 (2026-01-04)

04 Jan 21:42

Choose a tag to compare

#65: enable 3.14 builds
#64: allow 'HTTP/1.1 101 null' upgrade response

1.10.1 (2025-08-23)

23 Aug 15:40

Choose a tag to compare

  • #57: fix plain WSTransport.send does not produce 'on_ws_disconnected' event in case of errors

1.10.0 (2025-08-23)

23 Aug 14:37

Choose a tag to compare

  • Drop python 3.8 support
  • Strip extensions on Linux and MacOS. Reduce package's size

1.9.0 (2025-06-05)

05 Jun 16:28

Choose a tag to compare

1.9.0 (2025-06-05)

  • #47: Added WSTransport.send_reuse_external_bytearray to allow buffer sharing with msgspec or similar libraries
  • #45: Clarified WSTransport.send behaviour in the reference
  • #48: Re-raise exception from wait_disconnected when it is raised by user handler
  • Fixed WSTransport.send_reuse_external_buffer, it was broken for client side websockets