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
0.18.1
Added
^^^^^
Add on conflict do update for bulk_create. (#1024)
Fixed
^^^^^
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.1.
Release notes
Sourced from tortoise-orm's releases.
... (truncated)
Changelog
Sourced from tortoise-orm's changelog.
... (truncated)
Commits
dbb66d2
update depsac88206
Fix_custom_generated_pk
attribute not set inModel._init_from_db
(#1131)07601df
Addedusing_db
parameter toModel
shortcut methods (#1124)854998d
fix: on conflict do nothing (#1123)aa3d511
perf: improve field typing523f6f2
docs: update getting started9fc942b
ci: fix gh-pages47fb188
ci: fix gh-pagesfef0b82
docs: add versioned docs38850a4
docs: improve docsDependabot 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)