Changes#

Version 3.0.1#

Released 2024-02-22

  • Fix handling of relative ids (+1, -1) passed to downgrade and upgrade.

Version 3.0.0#

Released 2024-02-08

  • Minimum supported version of Python is 3.8. Drop support for Python 2.

  • Minimum supported version of Flask is 3.0.

  • Minimum supported version of SQLAlchemy is 2.0.

  • Minimum supported version of Flask-SQLAlchemy is 3.1.

  • Minimum supported version of Alembic is 1.13.

  • Drop support for Flask-Script.

  • Add type annotations.

  • Adding the CLI is skipped if command_name is empty rather than False.

  • The internal cache only holds a weak reference to the Flask app.

  • Various arguments no longer use a default value when passed None.

  • compare_server_default defaults to True. Alembic already defaults compare_type to True.

  • rev_id defaults to the current UTC timestamp instead of a UUID.

Version 2.0.1#

Released 2016-08-31

  • Fix merge command.

Version 2.0.0#

Released 2016-07-14

  • Support Alembic 0.8.

  • Automatically register Click group.

  • Allow customizing revision id.

  • Configure Alembic and SQLAlchemy loggers.

  • Update Python 2 and 3 compatibility.

  • Don’t require Flask-Script.

Version 1.2.1#

Released 2015-08-26

  • Support Flask-Click for Flask 0.10.

Version 1.2.0#

Released 2015-08-13

  • Fix Python 2 compatibility.

  • Commands output revision information consistently.

  • Default branch gets “default” label.

  • Restrict to Alembic < 0.8 until compatibility can be addressed.

Version 1.1.0#

Released 2014-12-15

  • Add independent named branches feature.

  • Commands default to working on all heads.

Version 1.0.2#

Released 2014-08-26

  • Fix Flask app context for Click CLI.

Version 1.0.1#

Released 2014-08-26

  • Python 3 compatibility.

Version 1.0.0#

Released 2014-06-16