Releases: Cifrazia/cats-python
Releases · Cifrazia/cats-python
Release 4.4.0
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 forHandler.action.conn
typed withserver.Connection
- Added
Auth
module fixtures totest_utils
Changed
- Exceptions thrown by
cats
internally replaced with subclasses ofCatsError
Fixed
- Fixed
StreamClosedError
passed throughServer.handle_stream
- Fixed error propagation
Release 4.0.0
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 withujson
- Middlewares now apply at startup
- Replaced
Server.instance -> Server
withServer.running_server() -> list[Server]
- Moved
Action*.handle()
logic toConnection.handle()
unified handler - Replaced
int.to_bytes
,int.from_bytes
withto_uint
andas_uint
Removed
- Removed
cats.struct
module
Fixed
- Fixed
PyPi
version error - Fixed slow sending, caused by
sleep(0.05)
, replaced withQueue