easynetwork v1.0.0rc7
Pre-release
Pre-release
What's Changed
Bug fixes
- FileBasedPacketSerializer: Fixed delayed deserialization errors by @francis-clairicia in #153
- Fixed client.wait_connected() concurrency issue by @francis-clairicia in #171
- AsyncSocket: shutdown() was not checking current running loop by @francis-clairicia in #172
- AsyncSocket: Fixed OSError raised by methods if aclose() is called by @francis-clairicia in #175
- TCP servers: the main loop is stopped after stop_listening() call by @francis-clairicia in #181
Features/Improvement
- Serializers: Added debug mode by @francis-clairicia in #154
- Added
UnsupportedOperation
exception by @francis-clairicia in #156 - Added Python 3.12 to CI by @francis-clairicia in #159
- Implement zero copy writes for TCP socket (sync and async) transports by @francis-clairicia in #167
- Packet reception exceptions are now converted to RuntimeErrors by @francis-clairicia in #169
- Added
BufferedIncrementalPacketSerializer
base class by @francis-clairicia in #174 - Serializers can now handle two distinct object types by @francis-clairicia in #178
- Added 'family' parameter to UDP clients by @francis-clairicia in #180
- BufferedIncrementalPacketSerializer.create_deserializer_buffer() can now return a buffer with a different item size by @francis-clairicia in #184
- Packet send exceptions are now converted to RuntimeErrors by @francis-clairicia in #187
- AsyncBackendFactory: Keep singletons instead of classes by @francis-clairicia in #190
Documentation
- Updated release workflow by @francis-clairicia in #177
Dependencies
- tox now uses optional deps pinned in pdm.lock by @francis-clairicia in #155
- Updated dependencies and pre-commit pinned versions by @francis-clairicia in #157
- Updated mypy to version 1.7.0 by @francis-clairicia in #164
- Updated dependencies and tools by @francis-clairicia in #176
Other Changes
- tox.ini(mypy): Removed --no-incremental flag by @francis-clairicia in #151
- Fix links to documentation [no ci] by @francis-clairicia in #152
- CI: Functional tests must now be completed in less than 20 minutes by @francis-clairicia in #158
- CI: Run unit tests on Windows by @francis-clairicia in #160
- tox: Do not use {posargs} in setenv by @francis-clairicia in #161
- IncrementalDeserializeError.remaining_data is no longer reset by @francis-clairicia in #170
- Added missing functional tests for serializers by @francis-clairicia in #173
- Removed
easynetwork.lowlevel.socket.AddressFamily
by @francis-clairicia in #179 - Mutualized sniffio usage by @francis-clairicia in #183
- Renamed easynetwork.lowlevel.asyncio to std_asyncio by @francis-clairicia in #185
- Fixed flaky tests on uvloop by @francis-clairicia in #186
- Better pdm integration in tox by @francis-clairicia in #188
- Miscellaneous internal API improvements by @francis-clairicia in #189
Full Changelog: https://github.com/francis-clairicia/EasyNetwork/commits/1.0.0rc7