This document includes the new features, enhancements, and fixed issues since version 5.6.0.
Hazelcast Python Client v5.7.0 requires Python 3.11 or higher.
New Features
- The asyncio client has reached General Availability (GA).
- Added asyncio support for the following data structures and services:
- Lock APIs (
Map,MultiMap,ISemaphore,FencedLock) are now fully enabled for the asyncio client using task-based IDs to distinguish concurrent async tasks. (#820) - Added the
lock_contextmethod to asyncioMapandMultiMapproxies. Thelock_contextmethod provides a context manager to automatically lock and unlock a key. See the corresponding example (#824)
Enhancements
- Serialization performance improved by preallocating buffer space and reading/writing numeric array items in bulk rather than one by one. (#781)
- Improved asyncio task cancellation handling. (#821)
Fixes
- Fixed a deadlock in the asyncio listener. (#777)
- Fixed incorrect variable usage in cluster
get_member. (#777) - Fixed missing task creation for
conn.close_connectioncalls in asyncio. (#777) - Fixed incorrect retry methods in
VectorCollectionand blocking cloud discovery refresh in the asyncio client. (#777) - Fixed race conditions in
ProxyManager.get_or_createand_handle_successful_authin the asyncio client. (#780) - Fixed
ConnectionManager.start_connect_all_memberstask handling. (#780) - Removed the write loop from the reactor. (#780)
- Fixed
VectorCollection.put_if_absentmutating the caller's document object. (#780)
Breaking Changes
- None.
Known Issues
- None.