Tinydb

Latest version: v4.8.0

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

Scan your dependencies

Page 1 of 11

4.8.0

^^^^^^^^^^^^^^^^^^^

- Feature: Allow retrieve multiple documents by document ID using
``Table.get(doc_ids=[...])``
(see `pull request 504 <https://github.com/msiemens/tinydb/pull/504>`_).

4.7.1

^^^^^^^^^^^^^^^^^^^

- Improvement: Improve typing annotations
(see `pull request 477 <https://github.com/msiemens/tinydb/pull/477>`_).
- Improvement: Fix some typos in the documentation
(see `pull request 479 <https://github.com/msiemens/tinydb/pull/479>`_
and `pull request 498 <https://github.com/msiemens/tinydb/pull/498>`_).

4.7.0

^^^^^^^^^^^^^^^^^^^

- Feature: Allow inserting ``Document`` instances using ``Table.insert_multiple``
(see `pull request 455 <https://github.com/msiemens/tinydb/pull/455>`_).
- Performance: Only convert document IDs of a table when returning documents.
This improves performance the ``Table.count`` and ``Table.get`` operations
and also for ``Table.search`` when only returning a few documents
(see `pull request 460 <https://github.com/msiemens/tinydb/pull/460>`_).
- Internal change: Run all ``Table`` tests ``JSONStorage`` in addition to
``MemoryStorage``.

4.6.1

^^^^^^^^^^^^^^^^^^^

- Fix: Make using callables as queries work again
(see `issue 454 <https://github.com/msiemens/tinydb/issues/454>`__)

4.6.0

^^^^^^^^^^^^^^^^^^^

- Feature: Add `map()` query operation to apply a transformation
to a document or field when evaluating a query
(see `pull request 445 <https://github.com/msiemens/tinydb/pull/445>`_).
**Note**: This may break code that queries for a field named ``map``
using the ``Query`` APIs property access syntax
- Feature: Add support for `typing-extensions <https://pypi.org/project/typing-extensions/>`_
v4
- Documentation: Fix a couple of typos in the documentation (see
`pull request 446 <https://github.com/msiemens/tinydb/pull/446>`_,
`pull request 449 <https://github.com/msiemens/tinydb/pull/449>`_ and
`pull request 453 <https://github.com/msiemens/tinydb/pull/453>`_)

4.5.2

^^^^^^^^^^^^^^^^^^^

- Fix: Make ``Table.delete()``'s argument priorities consistent with
other table methods. This means that if you pass both ``cond`` as
well as ``doc_ids`` to ``Table.delete()``, the latter will be preferred
(see `issue 424 <https://github.com/msiemens/tinydb/issues/424>`__)

Page 1 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.