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.connshortcut forHandler.action.conntyped withserver.Connection - Added
Authmodule fixtures totest_utils
Changed
- Exceptions thrown by
catsinternally replaced with subclasses ofCatsError
Fixed
- Fixed
StreamClosedErrorpassed throughServer.handle_stream - Fixed error propagation
Release 4.0.0
Added
- Added
retypedocumentation - Added
struct-model-pythonsupport - Added
CATSclient - Added
INIT Statementsupport - Added separate
Configclass - Server now chooses compressors from which client support
Changed
- Updated Python version to
3.10 - Moved protocol-related things to
v2folder - Replaced
orjsonback withujson - Middlewares now apply at startup
- Replaced
Server.instance -> ServerwithServer.running_server() -> list[Server] - Moved
Action*.handle()logic toConnection.handle()unified handler - Replaced
int.to_bytes,int.from_byteswithto_uintandas_uint
Removed
- Removed
cats.structmodule
Fixed
- Fixed
PyPiversion error - Fixed slow sending, caused by
sleep(0.05), replaced withQueue