Added
- Added psycopg backend support.
- Added a new unified and robust connection management interface to access DB connections which includes support for lazy connection creation and much more. For more details, check out this PR.
- Added
TimeField
. (#1054). - Added
ArrayField
forpostgres
.
Fixed
- Fix
bulk_create
doesn't work correctly with more than 1 update_fields. (#1046) - Fix
bulk_update
errors when setting null for a smallint column on postgres. (#1086)
Deprecated
- Existing connection management interface and related public APIs which are deprecated:
Tortoise.get_connection
Tortoise.close_connections
Changed
- Refactored
tortoise.transactions.get_connection
method totortoise.transactions._get_connection
.
Note that this method has now been marked private to this module and is not part of the public API