Mongokit

Latest version: v0.9.1.1

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

Scan your dependencies

Page 4 of 5

0.5.5

------
* fix 54 - Add reload method. Please read the documentation_
* put generate_index into Document.__init__. This is useful for instanciating Document like this : MyDoc(collection=mycol)
* fix 44 - add `set type support`_ + add validate() method to CustomType_
* fix 52 - Custom validation error messages (thanks to cjoudrey for the patch)
* fix 50 - need optimizations in connection (won 20s on the benchmark_)
* fix 48 - Tuple assignment does not convert to list
* fix 49 - KeyError when using deep nested autorefs

.. _documentation : http://namlook.github.com/mongokit/tutorial.htmlreload
.. _`set type support` : http://namlook.github.com/mongokit/tutorial.htmlthe-structure
.. _CustomType : http://namlook.github.com/mongokit/tutorial.htmlcustom-types
.. _benchmark : http://groups.google.com/group/mongodb-user/browse_thread/thread/77c91641858e1e20/ea71afc4de24f2e9

0.5.4

------
* A `lot of features in GridFS`_ with api change
* fix bug in autorefs
* fix 37 - find_random crash if no collection is empty
* fix 38 - OverflowError in doc.to_json_type() when used over the datetime 2038
* fix 41 - Warnings when setting attributes before enabling use_dot_notation
* fix 40 - Better exception on bad structure. Thanks to peterbe for the patch
* fix 43 - Add ability to `collect errors`_ in one place instead of throwing exceptions while validating
* add `_dot_notation_warning` attribute. If false, disable all dot notation related warning
* add patch to enable data load from map/reduce. See http://groups.google.com/group/mongokit/msg/34efea4c178573d7
* fix bug spotted by Sebastien Estienne - error when using skip_validation with required_fields. Thanks
* fix issue while using {unicode:unicode} in structure and i18n at the same time

.. _`lot of features in GridFS` : http://namlook.github.com/mongokit/gridfs.html
.. _`collect errors` : http://namlook.github.com/mongokit/tutorial.htmlquiet-validation-detection

0.5.3

------
* fix default_value issue when using with dict and list (see 35)
* fix bug reported by Andrew Degtiariov : http://bit.ly/c1vcUv
* add clone and explain method to MongoDocumentCursor
* add distinct to cursor (thanks to Flaper87)
* fix index test
* fix : when a field is added to a saved document and not specified in the structure, the validation wasn't work properly
* use current database if DBRef has no database information. Please, see the doc
* support of pymongo 1.4

0.5.2

------
* bugs fix in json import/export
* bugs fix in default values and required values
* `gridfs support`_

.. _`gridfs support` : http://namlook.github.com/mongokit/gridfs.html

0.5.1

------
* `save()` doesn't return ``self`` anymore (was an API monster)
* fix bug in `find_one()` method. Now returns None if no Document is found
* fix bug when using default values
* adding i18n list support
* add i18n inheritance support
* adding index inheritance support

0.5

----
* refactoring API which is getting much much more cleaner. Please see the migration_ page to keep your code up to date
* 100% code coverage by 162 unit tests
* lot of bug fix (too many to list them here)
* add document size validation
* add cross database reference support
* `i18n support`_

.. _migration : http://namlook.github.com/mongokit/migration.html
.. _`i18n support` : http://namlook.github.com/mongokit/i18n.html

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.