3.0.0
This updates compatibility with Flask-SQLAlchemy 3.1, and generally modernizes the project layout, tooling, code, and minimum versions. I've made this a milestone release (3.0) rather than a feature release (2.1) given that the library has gone so long without needing an update.
Changes: https://flask-alembic.readthedocs.io/en/latest/changes/#version-3-0-0
PyPI: https://pypi.org/project/Flask-Alembic/3.0.0/
- 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 thanFalse
. - 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 toTrue
. Alembic already defaultscompare_type
toTrue
.rev_id
defaults to the current UTC timestamp instead of a UUID.