Skip to content

Releases: dymmond/mongoz

Version 0.3.3

20 Nov 17:54
1927194
Compare
Choose a tag to compare

Fix

  • Codec options as defaults were not loading properly.

Version 0.3.2

20 Nov 17:40
a1ba537
Compare
Choose a tag to compare

Fix

  • Codec options for UuidRepresentation.STANDARD.

Version 0.3.1

05 Oct 16:38
Compare
Choose a tag to compare

Fix

  • Hotfix in introduced alias for ids when generating metaclasses.

Version 0.3.0

05 Oct 10:52
Compare
Choose a tag to compare

Added

  • none() added to manager.
  • none() added to queryset.

Changed

  • autogenerate_index in the Meta is now defaulting to False.

Fixed

  • model_dump() for all the fields on all() was not populating the id.
  • Internal validations when parsing results from the cursor.

Version 0.2.0

02 Oct 18:43
Compare
Choose a tag to compare

Added

  • Support for only() query.
  • Support for defer() query.
  • Support for values() query.
  • Support for values_list query.
  • Support for exclude() query.

Changed

Fixed

  • Q.not_ was not returning proper values and denying the query.

Version 0.1.1

01 Oct 17:50
Compare
Choose a tag to compare

Fixed

  • Internal assertation for the eq and neq wasn't allowing booleans to be passed.

Version 0.1.0

01 Oct 16:12
Compare
Choose a tag to compare

Key features

  • Document inheritance - For those cases where you don't want to repeat yourself while maintaining integrity of the documents.
  • Abstract classes - That's right! Sometimes you simply want a document that holds common fields that doesn't need to created as
    a document in the database.
  • Meta classes - If you are familiar with Django, this is not new to you and Mongoz offers this in the same fashion.
  • Filters - Filter by any field you want and need.
  • Model operators - Classic operations such as update, get, get_or_none and many others.
  • Indexes - Unique indexes through meta fields.
  • Signals - Quite useful feature if you want to "listen" to what is happening with your documents.

And a lot more you can do here.