Skip to content

Releases: Ryu-CZ/mongomancy

0.1.11

17 May 05:56
Compare
Choose a tag to compare

Changed

  • you can now supply mongo client class to Engine constructor for example the mongomock with mongo_client_cls=mongomock.MongoClient

0.1.10

12 May 12:49
Compare
Choose a tag to compare

Fix

  • ping now work even if connection is broken, and does not fall into infinite loop

0.1.7

10 May 12:44
Compare
Choose a tag to compare

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

10 May 10:47
Compare
Choose a tag to compare

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

13 Apr 12:52
Compare
Choose a tag to compare

Fixed

  • typing of required fields of index more broad

0.0.5

12 Apr 13:54
Compare
Choose a tag to compare

Added

  • Include py.typed for python typing support.
  • Set project code style to black

0.0.4

04 Apr 11:55
Compare
Choose a tag to compare

Fixed

  • Collection aggregate return type set to pymongo CommandCursor.