Releases: msiemens/tinydb
Releases · msiemens/tinydb
v4.8.2
v4.8.1
What's Changed
- Feature: Allow persisting empty tables (see #518).
- Fix: Make replacing
doc_id
type work properly (see #545).
New Contributors
- @dependabot made their first contribution in #533
- @kinuax made their first contribution in #561
- @jkopczyn made their first contribution in #563
- @edgarrmondragon made their first contribution in #548
- @fvrlo made their first contribution in #555
- @Anonynz made their first contribution in #542
- @ruancomelli made their first contribution in #535
- @aptly-io made their first contribution in #546
- @dmarsic made their first contribution in #518
Full Changelog: v4.8.0...v4.8.1
v4.8.0
What's Changed
- Feature: Allow retrieve multiple documents by document ID using
Table.get(doc_ids=[...])
(see #504).
New Contributors
- @okken made their first contribution in #505
- @keenborder786 made their first contribution in #504
Full Changelog: v4.7.1...v4.8.0
v4.7.1
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
- @ostafen made their first contribution in #468
- @masinag made their first contribution in #477
- @kianmeng made their first contribution in #498
Full Changelog: v4.7.0...v4.7.1
v4.7.0
- Feature: Allow inserting
Document
instances usingTable.insert_multiple
(see #455). - Performance: Only convert document IDs of a table when returning documents. This improves performance the
Table.count
andTable.get
operations and also forTable.search
when only returning a few documents (see #460). - Internal change: Run all
Table
testsJSONStorage
in addition toMemoryStorage
.
New Contributors
- @MrPigss made their first contribution in #455
- @richardsheridan made their first contribution in #462
Full Changelog: v4.6.1...v4.7.0
v4.6.1
- Fix: Make using callables as queries work again (see #454)
Full Changelog: v4.6.0...v4.6.1
v4.6.0
- 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 namedmap
using theQuery
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
- Fix: Make
Table.delete()
's argument priorities consistent with other table methods. This means that if you pass bothcond
as well asdoc_ids
toTable.delete()
, the latter will be prefered (see #424)
Full Changelog: v4.5.1...v4.5.2
v4.5.1
- Fix: Correctly install
typing-extensions
on Python 3.7 (see #413)
New Contributors
- @MartinNiederl made their first contribution in #412
Full Changelog: v4.5.0...v4.5.1
v4.5.0
- 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
- @tozech made their first contribution in #377
- @fabaff made their first contribution in #391
- @benetherington made their first contribution in #395
- @cemrehancavdar made their first contribution in #404
Full Changelog: v4.4.0...v4.5.0