Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.

Update tinydb to 4.8.0 #347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates tinydb from 4.1.1 to 4.8.0.

Changelog

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>`__)

4.5.1

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

- Fix: Correctly install ``typing-extensions`` on Python 3.7
(see `issue 413 <https://github.com/msiemens/tinydb/issues/413>`__)

4.5.0

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

- Feature: Better type hinting/IntelliSense for PyCharm, VS Code and MyPy
(see `issue 372 <https://github.com/msiemens/tinydb/issues/372>`__).
PyCharm and VS Code should work out of the box, for MyPy see
:ref:`MyPy Type Checking <mypy_type_checking>`

4.4.0

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

- Feature: Add operation for searching for all documents that match a ``dict``
fragment (see `issue 300 <https://github.com/msiemens/tinydb/issues/300>`_)
- Fix: Correctly handle queries that use fields that are also Query methods,
e.g. ``Query()['test']`` for searching for documents with a ``test`` field
(see `issue 373 <https://github.com/msiemens/tinydb/issues/373>`_)

4.3.0

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

- Feature: Add operation for updating multiple documents: ``update_multiple``
(see `issue 346 <https://github.com/msiemens/tinydb/issues/346>`_)
- Improvement: Expose type information for MyPy typechecking (PEP 561)
(see `pull request 352 <https://github.com/msiemens/tinydb/pull/352>`_)

4.2.0

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

- Feature: Add support for specifying document IDs during insertion
(see `issue 303 <https://github.com/msiemens/tinydb/issues/303>`_)
- Internal change: Use ``OrderedDict.move_to_end()`` in the query cache
(see `issue 338 <https://github.com/msiemens/tinydb/issues/338>`_)
Links

@pyup-bot pyup-bot mentioned this pull request Jun 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant