Fix _custom_generated_pk attribute not set in Model._init_from_db method. (#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.
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 to tortoise.transactions._get_connection.
Note that this method has now been marked private to this module and is not part of the public API
0.18.1
Added
Add on conflict do update for bulk_create. (#1024)
Fix _custom_generated_pk attribute not set in Model._init_from_db method. (#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>_
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 to tortoise.transactions._get_connection.
Note that this method has now been marked private to this module and is not part of the public API
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps tortoise-orm from 0.17.6 to 0.19.2.
Release notes
Sourced from tortoise-orm's releases.
... (truncated)
Changelog
Sourced from tortoise-orm's changelog.
... (truncated)
Commits
1c0dbbf
upgrade depsa3beb89
upgrade deps1044bb4
Merge remote-tracking branch 'origin/develop' into develop6cc6e17
upgrade depse8da6cf
fix: use correct type hinting for QuerySetSingle (#1172)4a41044
Move codespell in makefile (#1166)8169ed6
Add Codespell Workflow (#1165)6e674f0
Fixed: MySQL ssl option cast (#1163)5b3d8cc
remove reset app when init722ac7c
Fix work with Oracle and added new 'schema' attribute to Model's Meta (#1156)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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)