Databasez

Latest version: v0.11.0

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

Scan your dependencies

Page 3 of 5

0.8.5

Added

- Allow overwriting `force_rollback` when copying via passing Database as parameter.

Changed

- The `force_rollback` parameter is now None by default.

Fixed

- Fix typo in Testclient copying path.

0.8.4

Added

- Provide `__copy__` method for Database, DatabaseBackend.
- Database is now an allowed type for Database (used for copying). Same is true for the DatabaseTestClient subclass.

Fixed

- Speed of tests.
- DATABASE_CONFIG_URLS had passwords not properly unquoted.

0.8.3

Added

- DatabaseTestClient has now an option for changing the test prefix.

Fixed

- DatabaseTestClient can now use the improvements in 0.8.0 too.
- DatabaseTestClient is now tested.
- Fix run_sync on Database objects.

0.8.2

Fixed

- Cannot pass parameters to execute directly. Bulk_inserts not possible anymore.

0.8.1

Fixed

- The `dbapi2` dialect used only a single thread for all connections.
- Some options were not translated into query options and vice versa.

0.8.0

Added

- `batched_iterate`.
- `jdbc` dialect to load nearly all jdbc drivers (note: many features won't work).
- `dbapi2` dialect to load nearly all dbapi2 drivers (note: many features won't work).

Changed

- Use psycopg3 by default. Autoupgrade `postgres://` to `postgres+psycopg://`. Note: this behavior differs from sqlalchemy which still uses psycopg2 by default.
- `fetch_all` uses now iterate as fallback.
- `hatch` is now used for release management, cleaning.
- Use mariadb for tests instead of mysql (resource problems).

Removed

- `aiopg` support (no update for 2 years and better alternatives available).
- Remove Makefile and other scripts.
- Own `run_sync` implementation. Use asyncio.run instead.

Page 3 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.