flask-migrate breaking changes
flask-migrate 4.1.0 (January 10, 2025) is its newest release with breaking changes. The first: Signature changed flask_migrate.cli.db. Every breaking API change we have recorded in flask-migrate on PyPI: 13 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.1.0, released January 10, 2025. Source repository
Its 4.0.5 release drops Python 3.7. Python end of life dates.
- From 3.1.0 to 4.1.0: 8 breaking changes in 4 versions.
- From 3.0.0 to 4.1.0: 10 breaking changes in 5 versions.
flask-migrate 4.1.0 breaking changes
- Signature changed
flask_migrate.cli.db
Was def db(x_arg); now def db(directory, x_arg). pypi.org
flask-migrate 4.0.6 breaking changes
- Signature changed
flask_migrate.cli.db
Was def db(); now def db(x_arg). pypi.org - Signature changed
flask_migrate.cli.stamp
Was def stamp(directory, sql, tag, revision); now def stamp(directory, sql, tag, revision, purge). pypi.org - Signature changed
flask_migrate.stamp
Was def stamp(directory=None, revision='head', sql=False, tag=None); now def stamp(directory=None, revision='head', sql=False, tag=None, purge=False). pypi.org
flask-migrate 4.0.5 breaking changes
- Removed
Python 3.7 is no longer tested because Flask-SQLAlchemy 3.1 dropped support for it. Users still on Python 3.7 should upgrade Python. github.com
flask-migrate 4.0.0 breaking changes
- Default changed
Autogenerate now compares column types and batch mode is on by default. Users who relied on the old defaults should set these options explicitly. github.com - Signature changed
flask_migrate.Migrate.__init__
Was def __init__(self, app=None, db=None, directory='migrations', **kwargs); now def __init__(self, app=None, db=None, directory='migrations', command='db', compare_type=True, render_as_batch=True, **kwargs). pypi.org - Signature changed
flask_migrate.Migrate.init_app
Was def init_app(self, app, db=None, directory=None, **kwargs); now def init_app(self, app, db=None, directory=None, command=None, compare_type=None, render_as_batch=None, **kwargs). pypi.org
flask-migrate 3.1.0 breaking changes
- Signature changed
flask_migrate.cli.init
Was def init(directory, multidb); now def init(directory, multidb, template, package). pypi.org - Signature changed
flask_migrate.init
Was def init(directory=None, multidb=False); now def init(directory=None, multidb=False, template=None, package=False). pypi.org
flask-migrate 3.0.0 breaking changes
- Removed
Flask-Script support was removed in this release, so code that relies on it will no longer work. github.com - Removed
flask_migrate.FakeCommand
flask_migrate.FakeCommand was removed in Flask-Migrate 3.0.0 pypi.org - Removed
flask_migrate.MigrateCommand
flask_migrate.MigrateCommand was removed in Flask-Migrate 3.0.0 pypi.org
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.