---
title: "tinydb 4.0.0 Breaking Changes on PyPI | Since.dev"
description: "What each tinydb release removed, renamed or changed: 90 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/tinydb
last_updated: 2026-12-04
---

# tinydb breaking changes

tinydb 4.0.0 (May 2, 2020) is its newest release with breaking changes, 17 of them. The first: Removed Query.test. Every breaking API change we have recorded in tinydb on PyPI: 90 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.9.0`, released August 6, 2026. 

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [3.0.0](#v-3-0-0) to [4.0.0](#v-4-0-0): 17 breaking changes in 1 version.
- From [2.0.0](#v-2-0-0) to [4.0.0](#v-4-0-0): 67 breaking changes in 2 versions.

## tinydb 4.0.0 breaking changes

tinydb 4.0.0, released May 2, 2020: 17 breaking changes.

- **Removed** `Query.test`  

Support for evaluating queries without the test method was dropped. Code that calls query test directly or relies on the old evaluation path must switch to calling the query as a function. [github.com](https://github.com/msiemens/tinydb/commit/ca85877aadbd3ac7958c154b362effa6c2227927)
- **Removed** `tinydb.database.Document.eid`  

Document.eid was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.database.Element`  

tinydb.database.Element was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.database.iteritems`  

tinydb.database.iteritems was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.database.itervalues`  

tinydb.database.itervalues was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.storages.with_metaclass`  

tinydb.storages.with_metaclass was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.utils.iteritems`  

tinydb.utils.iteritems was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.utils.itervalues`  

tinydb.utils.itervalues was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Removed** `tinydb.utils.with_metaclass`  

tinydb.utils.with_metaclass was removed in tinydb 4.0.0 [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.database.Table.contains`  

Was def contains(self, cond=None, doc_ids=None, eids=None); now def contains(self, cond=None, doc_ids=None). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.database.Table.get`  

Was def get(self, cond=None, doc_id=None, eid=None); now def get(self, cond=None, doc_id=None). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.database.Table.process_elements`  

Was def process_elements(self, func, cond=None, doc_ids=None, eids=None); now def process_elements(self, func, cond=None, doc_ids=None). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.database.Table.remove`  

Was def remove(self, cond=None, doc_ids=None, eids=None); now def remove(self, cond=None, doc_ids=None). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.database.Table.update`  

Was def update(self, fields, cond=None, doc_ids=None, eids=None); now def update(self, fields, cond=None, doc_ids=None). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.database.Table.write_back`  

Was def write_back(self, documents, doc_ids=None, eids=None); now def write_back(self, documents, doc_ids=None). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.Storage`  

Was class Storage(with_metaclass(ABCMeta, object)); now class Storage(ABC). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)
- **Signature changed** `tinydb.storages.Storage`  

Was class Storage(with_metaclass(ABCMeta, object)); now class Storage(ABC). [pypi.org](https://pypi.org/project/tinydb/4.0.0/)

## tinydb 3.0.0 breaking changes

tinydb 3.0.0, released November 13, 2015: 50 breaking changes.

- **Removed** `tests.conftest.get_db`  

tests.conftest.get_db was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.conftest.SmartCacheTable`  

tests.conftest.SmartCacheTable was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_migrate`  

tests.test_migrate was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_queries.where`  

tests.test_queries.where was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_serializer`  

tests.test_serializer was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_tables.catch_warning`  

tests.test_tables.catch_warning was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_tables.SmartCacheTable`  

tests.test_tables.SmartCacheTable was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_tables.Table`  

tests.test_tables.Table was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_tables.test_custom_table_class_via_class_attribute`  

tests.test_tables.test_custom_table_class_via_class_attribute was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)
- **Removed** `tests.test_tables.test_custom_table_class_via_instance_attribute`  

tests.test_tables.test_custom_table_class_via_instance_attribute was removed in tinydb 3.0.0 [pypi.org](https://pypi.org/project/tinydb/3.0.0/)

And 40 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## tinydb 2.0.0 breaking changes

tinydb 2.0.0, released September 5, 2014: 23 breaking changes.

- **Removed** `tests.test_middlewares.ConcurrencyMiddleware`  

tests.test_middlewares.ConcurrencyMiddleware was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tests.test_middlewares.test_concurrency`  

tests.test_middlewares.test_concurrency was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.database.Table.__contains__`  

Table.\_\_contains\_\_ was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.database.TinyDB.__contains__`  

TinyDB.\_\_contains\_\_ was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.database.where`  

tinydb.database.where was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.middlewares.ConcurrencyMiddleware`  

tinydb.middlewares.ConcurrencyMiddleware was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.middlewares.Middleware.read`  

Middleware.read was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.middlewares.Middleware.write`  

Middleware.write was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.middlewares.Storage`  

tinydb.middlewares.Storage was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)
- **Removed** `tinydb.Storage.__metaclass__`  

Storage.\_\_metaclass\_\_ was removed in tinydb 2.0.0 [pypi.org](https://pypi.org/project/tinydb/2.0.0/)

And 13 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
