Skip to content

Releases: msiemens/tinydb

v4.8.2

12 Oct 15:24
10644a0
Compare
Choose a tag to compare

What's Changed

  • Fix: Correctly update query cache when search results have changed (see #560).

New Contributors

Full Changelog: v4.8.1...v4.8.2

v4.8.1

07 Oct 18:12
ad63e2e
Compare
Choose a tag to compare

What's Changed

  • Feature: Allow persisting empty tables (see #518).
  • Fix: Make replacing doc_id type work properly (see #545).

New Contributors

Full Changelog: v4.8.0...v4.8.1

v4.8.0

12 Jun 19:06
429b27a
Compare
Choose a tag to compare

What's Changed

  • Feature: Allow retrieve multiple documents by document ID using Table.get(doc_ids=[...]) (see #504).

New Contributors

Full Changelog: v4.7.1...v4.8.0

v4.7.1

14 Jan 16:23
cccb4a6
Compare
Choose a tag to compare

What's Changed

  • Improvement: Improve typing annotations (see pull request #477).
  • Improvement: Fix some typos in the documentation (see pull request #479 and pull request #498).

New Contributors

Full Changelog: v4.7.0...v4.7.1

v4.7.0

19 Feb 16:17
6ef791e
Compare
Choose a tag to compare
  • Feature: Allow inserting Document instances using Table.insert_multiple (see #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 #460).
  • Internal change: Run all Table tests JSONStorage in addition to MemoryStorage.

New Contributors

Full Changelog: v4.6.1...v4.7.0

v4.6.1

18 Jan 17:10
7e8846f
Compare
Choose a tag to compare
  • Fix: Make using callables as queries work again (see #454)

Full Changelog: v4.6.0...v4.6.1

v4.6.0

17 Jan 17:24
7e5dc03
Compare
Choose a tag to compare
  • Feature: Add map() query operation to apply a transformation to a document or field when evaluating a query (see PR #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 v4
  • Documentation: Fix a couple of typos in the documentation (see PR #446, PR #449 and PR #453)

New Contributors

  • @rewritten made their first contribution in #444
  • @nootr made their first contribution in #446
  • @abhishekpersonalprojects made their first contribution in #449
  • @jvuitton made their first contribution in #451
  • @jcea made their first contribution in #453

Full Changelog: v4.5.2...v4.6.0

v4.5.2

23 Sep 18:07
187cd0d
Compare
Choose a tag to compare
  • 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 prefered (see #424)

Full Changelog: v4.5.1...v4.5.2

v4.5.1

17 Jul 08:35
71283fd
Compare
Choose a tag to compare
  • Fix: Correctly install typing-extensions on Python 3.7 (see #413)

New Contributors

Full Changelog: v4.5.0...v4.5.1

v4.5.0

26 Jun 16:41
43d4762
Compare
Choose a tag to compare
  • Feature: Better type hinting/IntelliSense for PyCharm, VS Code and MyPy (see issue #372). PyCharm and VS Code should work out of the box, for MyPy see MyPy Type Checking

New Contributors

Full Changelog: v4.4.0...v4.5.0