Skip to content

1.12.0 (2026-02-11)

Choose a tag to compare

@tarasko tarasko released this 11 Feb 16:38
· 51 commits to master since this release
  • #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