Skip to content

v5.1.0

Latest
Compare
Choose a tag to compare
@ProdByGodfather ProdByGodfather released this 05 Jan 07:30
· 19 commits to main since this release
68b7e0a

Release Notes for v5.1.0

New Features and Enhancements:

  1. Enhanced delete Method:

    • The delete method now supports filtering based on multiple fields, not just the id. This makes it more flexible for performing deletion operations based on different conditions in your models.
  2. Improved contains Method:

    • The contains method has been refactored to accept keyword arguments (**kwargs), allowing for a cleaner and more Pythonic syntax. Developers can now filter based on fields using the format Model.all().contains(field_name=value) instead of the previous Model.all().contains('field_name', value).

Benefits:

  • More Flexible Deletions: The updated delete method allows you to specify any field for deletion, increasing its versatility in different use cases.
  • Cleaner Syntax for Filtering: The contains method now supports keyword arguments, offering a more intuitive way to filter results based on field values.

Compatibility:

  • This release introduces breaking changes in the delete and contains methods, so ensure to update your existing code accordingly.

Versioning:

  • This update is part of version 5.1.0.

Thank you for using abarorm!