Skip to content

3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Feb 23:17
· 10 commits to main since this release
3.0.0
17e660e

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 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.