Tinydb

Latest version: v4.8.0

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

Scan your dependencies

Page 10 of 11

2.0.0

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

:ref:`Upgrade Notes <upgrade_v2_0>`

.. warning:: TinyDB changed the way data is stored. You may need to migrate
your databases to the new scheme. Check out the
:ref:`Upgrade Notes <upgrade_v2_0>` for details.

- The syntax ``query in db`` has been removed, use ``db.contains`` instead.
- The ``ConcurrencyMiddleware`` has been removed due to a insecure implementation
(see `issue 18 <https://github.com/msiemens/tinydb/issues/18>`_). Consider
:ref:`tinyrecord` instead.

- Better support for working with :ref:`Document IDs <document_ids>`.
- Added support for `nested comparisons <http://tinydb.readthedocs.io/en/v2.0.0/usage.html#nested-queries>`_.
- Added ``all`` and ``any`` `comparisons on lists <http://tinydb.readthedocs.io/en/v2.0.0/usage.html#nested-queries>`_.
- Added optional :<http://tinydb.readthedocs.io/en/v2.0.0/usage.html#smart-query-cache>`_.
- The query cache is now a :ref:`fixed size LRU cache <query_caching>`.

1.4.0

Not secure
^^^^^^^^^^^^^^^^^^^

- Added ``insert_multiple`` function
(see `issue 8 <https://github.com/msiemens/tinydb/issues/8>`_).

1.3.0

Not secure
^^^^^^^^^^^^^^^^^^^

- Fixed `bug 7 <https://github.com/msiemens/tinydb/issues/7>`_: IDs not unique.
- Extended the API: ``db.count(where(...))`` and ``db.contains(where(...))``.
- The syntax ``query in db`` is now **deprecated** and replaced
by ``db.contains``.

1.2.0

Not secure
^^^^^^^^^^^^^^^^^^^

- Added ``update`` method
(see `issue 6 <https://github.com/msiemens/tinydb/issues/6>`_).

1.1.1

Not secure
^^^^^^^^^^^^^^^^^^^

- Merged `PR 5 <https://github.com/msiemens/tinydb/pull/5>`_: Fix minor
documentation typos and style issues.

1.1.0

Not secure
^^^^^^^^^^^^^^^^^^^

- Improved the docs and fixed some typos.
- Refactored some internal code.
- Fixed a bug with multiple ``TinyDB?`` instances.

Page 10 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.