Skip to content

Releases: Cifrazia/cats-python

Release 4.4.0

15 Sep 14:44
Compare
Choose a tag to compare

Released: 2021-09-15

Added

  • Added test server python -m cats.v2.server -h
  • Added test client python -m cats.v2.client -h
  • Added Handler.conn shortcut for Handler.action.conn typed with server.Connection
  • Added Auth module fixtures to test_utils

Changed

  • Exceptions thrown by cats internally replaced with subclasses of CatsError

Fixed

  • Fixed StreamClosedError passed through Server.handle_stream
  • Fixed error propagation

Release 4.0.0

31 Aug 08:42
Compare
Choose a tag to compare

Added

  • Added retype documentation
  • Added struct-model-python support
  • Added CATS client
  • Added INIT Statement support
  • Added separate Config class
  • Server now chooses compressors from which client support

Changed

  • Updated Python version to 3.10
  • Moved protocol-related things to v2 folder
  • Replaced orjson back with ujson
  • Middlewares now apply at startup
  • Replaced Server.instance -> Server with Server.running_server() -> list[Server]
  • Moved Action*.handle() logic to Connection.handle() unified handler
  • Replaced int.to_bytes, int.from_bytes with to_uint and as_uint

Removed

  • Removed cats.struct module

Fixed

  • Fixed PyPi version error
  • Fixed slow sending, caused by sleep(0.05), replaced with Queue