Databasez

Latest version: v0.11.0

Safety actively analyzes 701442 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.11.0

Added

- Add support for jdbc reflection.

0.10.2

Fixed

- Fix transactions in multi-threading contexts.

Changed

- The transaction stack contains the backend too.

Removed

- Remove `ACTIVE_TRANSACTIONS` ContextVar plus tests for it. It became unreliable with multithreading.

0.10.1

Added

- `poll_interval` parameter (only relevant when using multithreading).

Fixed

- Improved thread-safety.
- full_isolation was not passed through in TestClient.

0.10.0

Added

- `full_isolation` parameter. Isolate the force_rollback Connection in a thread.
- Timeouts for operations.

Fixed

- `batched_iterate` interface of `Connection` differed from the one of `Database`.
- `iterate` interface of `Connection` differed from the one of `Database`.
- Hooks were called on automatically created Database objects.
- More multithreading safety.

0.9.7

Added

- It is now possible to use connect(), disconnect() instead of a async contextmanager in multi-loop calls (multithreading).

Fixed

- Database calls are forwarded to subdatabase when possible. This unbreaks using not the returned database object.
- `force_rollback` works also in multi-loop call (multithreading).

0.9.6

Fixed

- Databasez is now threadsafe (and multiloop safe).

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.