Mongoengine

Latest version: v0.29.1

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

Scan your dependencies

Page 9 of 16

0.8.2

================
- Added compare_indexes helper (361)
- Fixed cascading saves which weren't turned off as planned (291)
- Fixed Datastructures so instances are a Document or EmbeddedDocument (363)
- Improved cascading saves write performance (361)
- Fixed ambiguity and differing behaviour regarding field defaults (349)
- ImageFields now include PIL error messages if invalid error (353)
- Added lock when calling doc.Delete() for when signals have no sender (350)
- Reload forces read preference to be PRIMARY (355)
- Querysets are now lest restrictive when querying duplicate fields (332, 333)
- FileField now honouring db_alias (341)
- Removed customised __set__ change tracking in ComplexBaseField (344)
- Removed unused var in _get_changed_fields (347)
- Added pre_save_post_validation signal (345)
- DateTimeField now auto converts valid datetime isostrings into dates (343)
- DateTimeField now uses dateutil for parsing if available (343)
- Fixed Doc.objects(read_preference=X) not setting read preference (352)
- Django session ttl index expiry fixed (329)
- Fixed pickle.loads (342)
- Documentation fixes

0.8.1

================
- Fixed Python 2.6 django auth importlib issue (326)
- Fixed pickle unsaved document regression (327)

0.8.0

================
- Fixed querying ReferenceField custom_id (317)
- Fixed pickle issues with collections (316)
- Added ``get_next_value`` preview for SequenceFields (319)
- Added no_sub_classes context manager and queryset helper (312)
- Querysets now utilises a local cache
- Changed __len__ behaviour in the queryset (247, 311)
- Fixed querying string versions of ObjectIds issue with ReferenceField (307)
- Added $setOnInsert support for upserts (308)
- Upserts now possible with just query parameters (309)
- Upserting is the only way to ensure docs are saved correctly (306)
- Fixed register_delete_rule inheritance issue
- Fix cloning of sliced querysets (303)
- Fixed update_one write concern (302)
- Updated minimum requirement for pymongo to 2.5
- Add support for new geojson fields, indexes and queries (299)
- If values cant be compared mark as changed (287)
- Ensure as_pymongo() and to_json honour only() and exclude() (293)
- Document serialization uses field order to ensure a strict order is set (296)
- DecimalField now stores as float not string (289)
- UUIDField now stores as a binary by default (292)
- Added Custom User Model for Django 1.5 (285)
- Cascading saves now default to off (291)
- ReferenceField now store ObjectId's by default rather than DBRef (290)
- Added ImageField support for inline replacements (86)
- Added SequenceField.set_next_value(value) helper (159)
- Updated .only() behaviour - now like exclude it is chainable (202)
- Added with_limit_and_skip support to count() (235)
- Objects queryset manager now inherited (256)
- Updated connection to use MongoClient (262, 274)
- Fixed db_alias and inherited Documents (143)
- Documentation update for document errors (124)
- Deprecated ``get_or_create`` (35)
- Updated inheritable objects created by upsert now contain _cls (118)
- Added support for creating documents with embedded documents in a single operation (6)
- Added to_json and from_json to Document (1)
- Added to_json and from_json to QuerySet (131)
- Updated index creation now tied to Document class (102)
- Added none() to queryset (127)
- Updated SequenceFields to allow post processing of the calculated counter value (141)
- Added clean method to documents for pre validation data cleaning (60)
- Added support setting for read prefrence at a query level (157)
- Added _instance to EmbeddedDocuments pointing to the parent (139)
- Inheritance is off by default (122)
- Remove _types and just use _cls for inheritance (148)
- Only allow QNode instances to be passed as query objects (199)
- Dynamic fields are now validated on save (153) (154)
- Added support for multiple slices and made slicing chainable. (170) (190) (191)
- Fixed GridFSProxy __getattr__ behaviour (196)
- Fix Django timezone support (151)
- Simplified Q objects, removed QueryTreeTransformerVisitor (98) (171)
- FileFields now copyable (198)
- Querysets now return clones and are no longer edit in place (56)
- Added support for $maxDistance (179)
- Uses getlasterror to test created on updated saves (163)
- Fixed inheritance and unique index creation (140)
- Fixed reverse delete rule with inheritance (197)
- Fixed validation for GenericReferences which haven't been dereferenced
- Added switch_db context manager (106)
- Added switch_db method to document instances (106)
- Added no_dereference context manager (82) (61)
- Added switch_collection context manager (220)
- Added switch_collection method to document instances (220)
- Added support for compound primary keys (149) (121)
- Fixed overriding objects with custom manager (58)
- Added no_dereference method for querysets (82) (61)
- Undefined data should not override instance methods (49)
- Added Django Group and Permission (142)
- Added Doc class and pk to Validation messages (69)
- Fixed Documents deleted via a queryset don't call any signals (105)
- Added the "get_decoded" method to the MongoSession class (216)
- Fixed invalid choices error bubbling (214)
- Updated Save so it calls $set and $unset in a single operation (211)
- Fixed inner queryset looping (204)

0.7.10

=================
- Fix UnicodeEncodeError for dbref (278)
- Allow construction using positional parameters (268)
- Updated EmailField length to support long domains (243)
- Added 64-bit integer support (251)
- Added Django sessions TTL support (224)
- Fixed issue with numerical keys in MapField(EmbeddedDocumentField()) (240)
- Fixed clearing _changed_fields for complex nested embedded documents (237, 239, 242)
- Added "id" back to _data dictionary (255)
- Only mark a field as changed if the value has changed (258)
- Explicitly check for Document instances when dereferencing (261)
- Fixed order_by chaining issue (265)
- Added dereference support for tuples (250)
- Resolve field name to db field name when using distinct(260, 264, 269)
- Added kwargs to doc.save to help interop with django (223, 270)
- Fixed cloning querysets in PY3
- Int fields no longer unset in save when changed to 0 (272)
- Fixed ReferenceField query chaining bug fixed (254)

0.7.9

================
- Better fix handling for old style _types
- Embedded SequenceFields follow collection naming convention

0.7.8

================
- Fix sequence fields in embedded documents (166)
- Fix query chaining with .order_by() (176)
- Added optional encoding and collection config for Django sessions (180, 181, 183)
- Fixed EmailField so can add extra validation (173, 174, 187)
- Fixed bulk inserts can now handle custom pk's (192)
- Added as_pymongo method to return raw or cast results from pymongo (193)

Page 9 of 16

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.