tortoise
tortoise-orm
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Update the return type hint for `IntEnumField`/`CharEnumField` from `EnumType` to `tortoise.fields.Field[EnumType]` (fixes #2155) (#2243) Fixes #2155.
develop
5 hours ago
Rollback unnecessary changes and update changelog
apoorvdarshan:fix-2155-enum-field-migration-mypy
6 hours ago
Inherit Meta.ordering from abstract base models (#2046) (#2236) * Inherit Meta.ordering from abstract base models When a model defined its own ``Meta`` (e.g. to set ``table``) but did not set ``ordering``, the ordering declared on an abstract base model's ``Meta`` was lost, because ``ModelMeta.__new__`` reads ``Meta`` only from the class's own attributes. As a result queries on the subclass came back unordered. If the subclass's own ``Meta`` does not define ``ordering``, inherit the default ordering from the first base model that has one. A subclass that defines its own ``ordering`` (including an explicitly empty one) is unaffected. Closes #2046
develop
8 hours ago
Add test for model inheriting from an inherited abstract model
uttam12331:fix/inherit-abstract-meta-ordering-2046
8 hours ago
Clear removed model options in AlterModelOptions state_forward merged the new options into the state, so an option dropped from the model (such as a table_description from a deleted docstring) stayed behind and makemigrations re-emitted the same operation on every run.
edu2004eu:fix/altermodeloptions-remove-keys
9 hours ago
feat(postgres): allow password to be a sync/async callable (#2261) * feat(postgres): allow password to be a sync/async callable Short-lived database credentials (AWS RDS/Aurora IAM tokens, Azure Entra ID tokens, Vault leases) expire long before a connection pool does. Allow the postgres 'password' credential to be a callable, resolved once per new connection, so tokens are refreshed transparently. - asyncpg resolves the callable natively; it is now forwarded with the right type - psycopg bakes credentials into an immutable conninfo string, so the password is injected at connect time via a generated connection class instead - Tortoise.star_password no longer crashes on a non-string password Refs #2034
develop
9 hours ago
Fix lint issues
get-bowen:feat/callable-password
9 hours ago
Merge branch 'develop' into fix/2060-update-or-create-race
fzlzjerry:fix/2060-update-or-create-race
22 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Update the return type hint for `IntEnumField`/`CharEnumField` from `EnumType` to `tortoise.fields.Field[EnumType]` (fixes #2155)
#2243
6 hours ago
557595b
apoorvdarshan:fix-2155-enum-field-migration-mypy
CodSpeed Performance Gauge
0%
Inherit Meta.ordering from abstract base models (#2046)
#2236
8 hours ago
c904481
uttam12331:fix/inherit-abstract-meta-ordering-2046
CodSpeed Performance Gauge
0%
Clear removed model options in AlterModelOptions
#2280
15 hours ago
fb21d71
edu2004eu:fix/altermodeloptions-remove-keys
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs