All Versions
125
Latest Version
Avg Release Cycle
-
Latest Release
-
Changelog History
Page 8
Changelog History
Page 8
-
v0.13.8 Changes
- 🛠 Fixed bug in schema creation for MySQL where non-int PK did not get declared properly (#195)
-
v0.13.7 Changes
iexact
filter modifier was implemented. Queries like«queryset».filter(name__iexact=...)
will perform case-insensitive search.
-
v0.13.6 Changes
- Fix minor bug in
Model.__init__
where we raise the wrong error on setting RFK/M2M values directly. - Fields in
Queryset.values_list()
is now in the defined Model order. - Fields in
Queryset.values()
is now in the defined Model order.
- Fix minor bug in
-
v0.13.5 Changes
- Sample Starlette integration
- Relational fields are now lazily constructed via properties instead of in the constructor, this results in a significant overhead reduction for Model instantiation with many relationships.
-
v0.13.4 Changes
- Assigning to the FK field will correctly set the associated db-field
- Reading a nullalble FK field can now be None
- Nullalble FK fields reverse-FK is now also nullable
- Deleting a nullable FK field sets it to None
-
v0.13.3 Changes
- 🛠 Fixed installing Tortoise-ORM in non-unicode systems. (#180)
«queryset».update(…)
now correctly uses the DB-specificto_db_value()
fetch_related(…)
now correctly encodes non-integer keys.ForeignKey
fields of typeUUIDField
are now escaped consistently.- Pre-generated ForeignKey fields (e.g. UUIDField) is now checked for persistence correctly.
- Duplicate M2M
.add(…)
now checks using consistent field encoding. source_field
Fields are now handled correctly for ordering.- ⚡️
source_field
Fields are now handled correctly for updating.
-
v0.13.2 Changes
- 🔒 Security fixes for
«model».save()
&«model».delete()
:
This is now fully parametrized, and these operations are no longer susceptible to escaping issues.
🐎 Performance improvements:
- Simple update is now ~3-6× faster
- Partial update is now ~3× faster
- Delete is now ~2.7x faster
🛠 Fix generated Schema Primary Key for
BigIntField
for MySQL and PostgreSQL.➕ Added support for using a
SmallIntField
as a auto-gen Primary Key.0️⃣ Ensure that default PK is added to the top of the attrs.
- 🔒 Security fixes for
-
v0.13.1 Changes
- Model schema now has a discovery API:
One can call
Tortoise.describe_models()
orTortoise.describe_model(<Model>)
to get a full description of the model(s).Please see :meth:
tortoise.Tortoise.describe_model
and :meth:tortoise.Tortoise.describe_models
for more info.- 🛠 Fix in generating comments for Foreign Keys in
MySQL
- ➕ Added schema support for PostgreSQL. Either set
"schema": "custom"
var incredentials
or as a query parameter?schema=custom
- 0️⃣ Default MySQL charset to
utf8mb4
. If a charset is provided it will also force the TABLE charset to the same.
-
v0.13
-
v0.12.7 Changes
- 👌 Support connecting to PostgreSQL via Unix domain socket (simple case).
- Self-referential Foreign and Many-to-Many keys are now allowed