Releases: msiemens/tinydb
Releases · msiemens/tinydb
v4.8.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
v4.4.0
Version bump to v4.4.0
v4.3.0
Version bump to v4.3.0