- Feature: Allow disabling the query cache with ``db.table(name, cache_size=0)`` (see `pull request 187 <https://github.com/msiemens/tinydb/pull/187>`_) - Feature: Add ``db.write_back(docs)`` for replacing documents (see `pull request 184 <https://github.com/msiemens/tinydb/pull/184>`_)
3.7.0
^^^^^^^^^^^^^^^^^^^
- Feature: ``one_of`` for checking if a value is contained in a list (see `issue 164 <https://github.com/msiemens/tinydb/issues/164>`_) - Feature: Upsert (insert if document doesn't exist, otherwise update; see https://forum.m-siemens.de/d/30-primary-key-well-sort-of) - Internal change: don't read from storage twice during initialization (see https://forum.m-siemens.de/d/28-reads-the-whole-data-file-twice)
3.6.0
^^^^^^^^^^^^^^^^^^^
- Allow updating all documents using ``db.update(fields)`` (see `issue 157 <https://github.com/msiemens/tinydb/issues/157>`_). - Rename elements to documents. Document IDs now available with ``doc.doc_id``, using ``doc.eid`` is now deprecated (see `pull request 158 <https://github.com/msiemens/tinydb/pull/158>`_)
3.5.0
^^^^^^^^^^^^^^^^^^^
- Expose the table name via ``table.name`` (see `issue 147 <https://github.com/msiemens/tinydb/issues/147>`_). - Allow better subclassing of the ``TinyDB`` class (see `pull request 150 <https://github.com/msiemens/tinydb/pull/150>`_).
3.4.1
^^^^^^^^^^^^^^^^^^^
- Expose TinyDB version via ``import tinyb; tinydb.__version__`` (see `issue 148 <https://github.com/msiemens/tinydb/issues/148>`_).
3.4.0
^^^^^^^^^^^^^^^^^^^
- Add new update operations: ``add(key, value)``, ``subtract(key, value)``, and ``set(key, value)`` (see `pull request 145 <https://github.com/msiemens/tinydb/pull/145>`_).