Mongokit-py3

Latest version: v0.9.1.1

Safety actively analyzes 682471 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.7.1

------

* change MongokitMasterSlaveConnection to MasterSlaveConnection for consistency
* fix 57 -- support pymongo > 1.9 in grid.py
* fix 45 -- remove automatic index creation
* fix 43 -- slicing a cursor should return a mongokit document, not dict
* Don't try to convert None struct to json (patch from mLewisLogic thanks !)
* fix schemaless issue (thanks to Mihai Pocorschi for reporting it)

0.7

----

* add `use_schemaless` feature ! please see the documentation for more information
* Add equality test for mongokit operators (thanks to allancaffee)
This allows developers to write unit tests on the structure
of their document classes when operators are used
* roll back find_and_modify for master branch (need pymongo 1.10 for that)
* many documentation fixes
* fix 55 -- Bug in VersionedDocument remove() method
* fix 53 -- Fixed a few spelling errors in README
* fix 52 -- Advanced bulk migration docs example is broken
* fix 51 -- pymongo.dbref is deprecated, use bson.dbref instead
* fix 49 -- Can't specify default values for lists of embedded objects
* fix 48 -- uuid.UUID support
* fix 41 -- add basestring to authorized types
* fix 40 -- Made some enhancements
* fix 39 -- KeyError when saving partially loaded documents
* fix 34 -- add find_and_modify method to Document
* fix 32 -- allow the structure to be empty (was: document.to_json())
* fix 24 -- Don't handle __database__/__collection__ attribute for virtual documents

0.6

----

* fix error when check is True. Thanks to dasmith for the patch
* Many english corrections in the documentation thanks to allancaffee
* spliting doc and refactoring documentation
* remove unused MongoDocumentCursor

0.5.13.1

---------

* fix 26 -- unable to install (debian lenny, py 2.5)
* fix 25 -- put the new url into the setup.py

0.5.13

-------

* fix 21 -- required_fields weird behavior with autorefs
* fix 19 -- 'checked' field not listed in 'indexes' section
* fix 20 -- creating index on fields not in structure + optimize index generation
* fix 18 -- typo in the doc
* fix import. Dbref isn't in pymongo package anymore
* fix deprecation warning from pymongo's from_dict
* fix 8 -- allow to access Document via the db

0.5.12.1

---------

* fix 17 -- got an unexpected keyword argument 'from_son'
* fix 15 -- typo in the doc

v.0.5.12
---------

* allow register method to be a decorator (thanks to Christopher Grebs for the inspiration)
* get ride of MongoDocumentCursor and use a subclass of pymongo's Cursor instead
* structure and descriptors validation is now done at object creation (not instantiation)

- *advantage* : mongokit is 40% faster
- *beware* : if you put a Document into a structure for reference, mongokit doesn't check anymore if use_autorefs is set

* add i18n descriptor validation + better i18n support
* code cleaning

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.