Skip to content

Releases: tortoise/aerich

v0.8.0

03 Dec 16:23
Compare
Choose a tag to compare
  • Fix the issue of parameter concatenation when generating ORM with inspectdb (#331)
  • Fix KeyError when deleting a field with unqiue=True. (#364)
  • Correct the click import. (#360)
  • Improve CLI help text and output. (#355)
  • Fix mysql drop unique index raises OperationalError. (#346)
    Upgrade note:
    1. Use column name as unique key name for mysql
    2. Drop support for Python3.7

v0.7.2

20 Jul 09:58
467406e
Compare
Choose a tag to compare
  • Support virtual fields.
  • Fix modify multiple times. (#279)
  • Added -i and --in-transaction options to aerich migrate command. (#296)
  • Fix generates two semicolons in a row. (#301)

v0.7.1

27 Sep 14:44
Compare
Choose a tag to compare
  • Fix syntax error with python3.8.10. (#265)
  • Fix sql generate error. (#263)
  • Fix initialize an empty database. (#267)

v0.7.1rc1

23 Sep 15:34
Compare
Choose a tag to compare
v0.7.1rc1 Pre-release
Pre-release
  • Fix postgres sql error (#263)

v0.7.0

23 Sep 02:37
Compare
Choose a tag to compare

Now aerich use .py file to record versions.

Upgrade Note:

  1. Truncate aerich table
  2. Delete migrations/models folder
  3. Run aerich init-db
  • Improve inspectdb adding support to postgresql::numeric data type
  • Add support for dynamically load DDL classes easing to add support to
    new databases without changing Migrate class logic
  • Fix decimal field change. (#246)
  • Support add/remove field with index.

v0.6.3

05 Apr 12:01
Compare
Choose a tag to compare
  • Improve inspectdb and support postgres & sqlite.

v0.6.2

17 Jan 14:27
Compare
Choose a tag to compare
  • Support migration for specified index. (#203)

v0.6.1

20 Dec 05:06
Compare
Choose a tag to compare
  • Fix pyproject.toml not existing error. (#217)

v0.6.0

08 Dec 06:50
Compare
Choose a tag to compare
  • Breaking change: Change default config file from aerich.ini to pyproject.toml. (#197)

    Upgrade note:

    1. Run aerich init -t config.TORTOISE_ORM.
    2. Remove aerich.ini.
  • Remove pydantic dependency. (#198)

  • inspectdb support DATE. (#215)

v0.5.8

01 Sep 02:56
Compare
Choose a tag to compare
  • Support indexes change. (#193)