ordered-arrowverse
ordered-arrowverse copied to clipboard
Bump tortoise-orm from 0.17.6 to 0.19.2
Bumps tortoise-orm from 0.17.6 to 0.19.2.
Release notes
Sourced from tortoise-orm's releases.
0.19.2
Added
- Added
schemaattribute to Model's Meta to specify exact schema to use with the model.Fixed
- Mixin does not work. (#1133)
using_dbwrong position in model shortcut methods. (#1150)- Fixed connection to
Oracledatabase by adding database info to DBQ in connection string.- Fixed ORA-01435 error while using
Oracledatabase (#1155)- Fixed processing of
ssloption in MySQL connection string.- Fixed type hinting for
QuerySetSingle.0.19.1
Added
- Added
Postgres/SQLitepartial indexes support. (#1103)- Added
Microsoft SQL Server/Oraclesupport, powered by asyncodbc, note that which is not fully tested.- Added
optionalparameter topydantic_model_creator. (#770)- Added
using_dbparameter toModelshortcut methods. (#1109)Fixed
TimeFieldforMySQLwill returndatetime.timedeltaobject instead ofdatetime.timeobject.- Fix on conflict do nothing. (#1122)
- Fix
_custom_generated_pkattribute not set inModel._init_from_dbmethod. (#633)0.19.0
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
ArrayFieldforpostgres.Fixed
- Fix
bulk_createdoesn't work correctly with more than 1 update_fields. (#1046)- Fix
bulk_updateerrors when setting null for a smallint column on postgres. (#1086)Deprecated
- Existing connection management interface and related public APIs which are deprecated:
Tortoise.get_connectionTortoise.close_connectionsChanged
- Refactored
tortoise.transactions.get_connectionmethod totortoise.transactions._get_connection. Note that this method has now been marked private to this module and is not part of the public API0.18.1
Added
- Add on conflict do update for bulk_create. (#1024)
Fixed
- Fix
bulk_createerror. (#1012)- Fix unittest invalid.
- Fix
bulk_updateinpostgreswith some type. (#968) (#1022)0.18.0
Added
... (truncated)
Changelog
Sourced from tortoise-orm's changelog.
0.19.2
Added ^^^^^
- Added
schemaattribute to Model's Meta to specify exact schema to use with the model. Fixed ^^^^^- Mixin does not work. (#1133)
using_dbwrong position in model shortcut methods. (#1150)- Fixed connection to
Oracledatabase by adding database info to DBQ in connection string.- Fixed ORA-01435 error while using
Oracledatabase (#1155)- Fixed processing of
ssloption in MySQL connection string.- Fixed type hinting for
QuerySetSingle.0.19.1
Added ^^^^^
- Added
Postgres/SQLitepartial indexes support. (#1103)- Added
Microsoft SQL Server/Oraclesupport, powered byasyncodbc <https://github.com/tortoise/asyncodbc>_, note that which is not fully tested.- Added
optionalparameter topydantic_model_creator. (#770)- Added
using_dbparameter toModelshortcut methods. (#1109) Fixed ^^^^^TimeFieldforMySQLwill returndatetime.timedeltaobject instead ofdatetime.timeobject.- Fix on conflict do nothing. (#1122)
- Fix
_custom_generated_pkattribute not set inModel._init_from_dbmethod. (#633)0.19.0
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 <https://github.com/tortoise/tortoise-orm/pull/1001>_- Added
TimeField. (#1054)- Added
ArrayField. Fixed ^^^^^- Fix
bulk_createdoesn't work correctly with more than 1 update_fields. (#1046)- Fix
bulk_updateerrors when setting null for a smallint column on postgres. (#1086) Deprecated ^^^^^^^^^^- Existing connection management interface and related public APIs which are deprecated:
Tortoise.get_connectionTortoise.close_connectionsChanged ^^^^^^^- Refactored
tortoise.transactions.get_connectionmethod totortoise.transactions._get_connection. Note that this method has now been marked private to this module and is not part of the public API
... (truncated)
Commits
1c0dbbfupgrade depsa3beb89upgrade deps1044bb4Merge remote-tracking branch 'origin/develop' into develop6cc6e17upgrade depse8da6cffix: use correct type hinting for QuerySetSingle (#1172)4a41044Move codespell in makefile (#1166)8169ed6Add Codespell Workflow (#1165)6e674f0Fixed: MySQL ssl option cast (#1163)5b3d8ccremove reset app when init722ac7cFix work with Oracle and added new 'schema' attribute to Model's Meta (#1156)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)