github tortoise/tortoise-orm 0.11.3
v0.11.3

latest releases: 0.20.0, 0.19.3, 0.19.2...
5 years ago
  • Added basic DB driver Capabilities.

    Test runner now has the ability to skip tests conditionally, based on the DB driver Capabilities:

    @requireCapability(dialect='sqlite')
    async def test_run_sqlite_only(self):
        ...
  • Added per-field indexes.

    When setting index=True on a field, Tortoise will now generate an index for it.

    NOTE:

    Due to MySQL limitation of not supporting conditional index creation,
    if `safe=True` (the default) is set, it won't create the index and emit a warning about it.
    
    We plan to work around this limitation in a future release.
    
  • Performance fix with PyPika for small fetch queries
  • Remove parameter hack now that PyPika support Parametrized queries
  • Fix typos in JSONField docstring
  • Added .explain() method on QuerySet.
  • Add required read-only property to fields

Don't miss a new tortoise-orm release

NewReleases is sending notifications on new releases.