Releases: Ryu-CZ/mongomancy
Releases · Ryu-CZ/mongomancy
0.1.11
Changed
- you can now supply mongo client class to
Engine
constructor for example the mongomock
with mongo_client_cls=mongomock.MongoClient
0.1.10
Fix
- ping now work even if connection is broken, and does not fall into infinite loop
0.1.7
Fix
- lock critical sections
Engine.reconnect
, Engine.dispose
to prevent unexpected connections states
- lock
Database.create_all
method to prevent double init at same
0.1.6
Added
- mongomancy creates
mongomancy_lock
collection to synchronize db init with master lock record
- create all now uses multi-process and thread lock for better server compatibility of database schema init
Changed
Engine
retry command now accepts CollectionContainer
and method name instead of direct pymongo collection method reference
Fixed
reconnect
during query repeating failed on closed inner collection
Engine.dispose
does not cause reconnect error
0.0.6
Fixed
- typing of required fields of index more broad
0.0.5
Added
- Include
py.typed
for python typing support.
- Set project code style to black
0.0.4
Fixed
- Collection aggregate return type set to pymongo CommandCursor.