Skip to content

Releases: ioxiocom/firedantic

0.7.2

17 Jun 12:08
546f0c9
Compare
Choose a tag to compare

0.7.2 - 2024-06-17

Fixed

  • Ensure TTL policies are created by async_set_up_composite_indexes_and_ttl_policies
    and set_up_composite_indexes_and_ttl_policies also when passing in the models as a
    generator, for example when using get_all_subclasses().

0.7.1

14 Jun 07:08
f7944bb
Compare
Choose a tag to compare

0.7.1 - 2024-06-14

Fixed

  • Don't raise an AttributeError when setting up indexes for models if there's a model
    without any indexes (i.e. a model does not at all define the __composite_indexes__).
  • Fix bug that the configured prefix was not used when creating indexes. Please note
    that if you have been using indexes and a collection name prefix, the indexes created
    before this fix will be for the wrong collection names (i.e. missing the prefix)! Thus
    please go through your indexes and remove the accidentally created ones after updating
    to this version.

0.7.0

27 Mar 10:42
32c72e2
Compare
Choose a tag to compare

0.7.0 - 2024-03-27

Added

  • Support for composite indexes via __composite_indexes__ property in model classes.

0.6.0

26 Feb 13:51
2c1a6d8
Compare
Choose a tag to compare

0.6.0 - 2024-02-26

Added

  • Add support for order_by, limit and offset in find queries

0.5.1

12 Feb 12:49
33a0eb9
Compare
Choose a tag to compare

0.5.1 - 2024-02-12

  • Fix pytest warnings

0.5.0

09 Oct 08:14
32218cb
Compare
Choose a tag to compare

0.5.0 - 2023-10-09

Changed

  • Update pydantic from version 1.x to version 2.x

0.4.0

03 Oct 13:39
2bb8159
Compare
Choose a tag to compare

0.4.0 - 2023-10-03

Added

  • Support for TTL policies and specifying a __ttl_field__ in the model classes.

Removed

  • Remove support for Python 3.7, which is EOL, require 3.8.1 or newer.

Changed

  • Switch tests to use new firestore emulator, improve documentation about running it.
  • Update authors (company was renamed to IOXIO Ltd).

0.3.0

04 Aug 12:51
091e150
Compare
Choose a tag to compare

0.3.0 - 2022-08-04

Changed

  • Update dependencies.
  • Switch from Travis CI to GitHub actions.
  • Update pre-commit hooks.
  • Update links to GitHub repo due to organization rename.
  • Switch to poetry-core.

Added

  • Add pre-commit hook and configs for prettier.

0.2.8

26 Oct 09:40
382d96b
Compare
Choose a tag to compare

0.2.8 - 2021-10-26

Fixed

  • Validate special characters in document ID and ensure get_by_id/get_by_doc_id
    raises ModelNotFoundError in case of such issues. Especially an uneven number of
    slashes could raise a ValueError. Saving a model can now raise an InvalidDocumentID
    exception in case the ID is invalid.

0.2.7

25 Oct 09:24
Compare
Choose a tag to compare

0.2.7 - 2021-10-25

Fixed

  • get_by_id/get_by_doc_id with an empty string raises a ModelNotFoundError instead
    of leaking a google.api_core.exceptions.InvalidArgument exception.