Skip to content

Releases: tarasko/picows

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

1.8.0 (2025-02-11)

11 Feb 18:50

Choose a tag to compare

  • #37: Add an option to ws_connect/ws_create_server to increase maximum allowed frame size
  • Change default value of max_frame_size to 10Mb
  • Allow weak references to WSTransport objects
  • Be more reliable when delivering close frames with errors sent by picows itself

1.7.2 (2024-12-13)

13 Dec 10:57

Choose a tag to compare

  • #27: Type stubs are missing return type annotations
  • #28: New logo, credits to @River-Shi
  • Fix lint warnings, more rigorous CI checks

1.7.1 (2024-11-27)

27 Nov 08:49

Choose a tag to compare

  • Added extra_headers argument to ws_connect (@Tapanhaz)
  • Added request/response attributes to WSTransport. They can be used to access headers after successful negotiation
  • listener_factory passed to ws_create_server can now return WSUpgradeResponseWithListener to customize upgrade responses
  • Added pyi stub and typed.py (@dimitrivinet)

1.6.0 (2024-10-15)

15 Oct 13:05

Choose a tag to compare

  • Added optional automatic replies to incoming PING messages, enabled by default
  • Added auto_ping_strategy argument to ws_connect/ws_create_server that controls when pings are sent
  • Added new topic guides to the documentation

1.5.0 (2024-10-10)

10 Oct 15:58

Choose a tag to compare

  • Added WSTransport.measure_roundtrip_time method + example

1.4.1 (2024-10-08)

08 Oct 12:01

Choose a tag to compare

  • Log disconnect due to no PONG reply on INFO level
  • Make WSFrame string representation more descriptive
  • Fix minor mistakes in documentation

1.4.0 (2024-10-07)

07 Oct 20:10

Choose a tag to compare

  • Added optional automatic ping-pong mechanism to detect broken connection
  • Added an option to WSTransport.disconnect to disconnect immediately without flushing send buffers
  • Re-structured documentation, added 'Topic guides' section