Alembic
Backend & InfraA database migrations tool for SQLAlchemy.
Release History
rel_1_18_0rel_1_17_21 fix1 featureVersion 1.17.2 introduces a replace parameter for operation implementations and fixes a SQL Server dialect bug related to default constraint handling.
rel_1_17_1Breaking1 fix1 featureVersion 1.17.1 introduces a new `--check-heads` option for `alembic current` and tightens revision ID validation by rejecting ':' characters, requiring migration of any existing colon‑containing IDs.
rel_1_17_0BreakingVersion 1.17.0 raises the minimum Python requirement to 3.10 and switches the internal test runner to nox, with tox support slated for removal.
rel_1_16_52 fixesRelease 1.16.5 resolves two bugs: correct MySQL index expression rendering and proper parsing of `truncate_slug_length` in pyproject.toml configuration.
rel_1_16_41 fixThis release resolves a bug in pyproject.toml handling that prevented boolean values for certain configuration options from being recognized.
rel_1_16_32 fixes2 featuresRelease 1.16.3 introduces the `pyproject_async` template and a new module post‑write hook for autogenerate, and fixes rendering issues with server defaults and foreign key constraints.
rel_1_16_22 fixesVersion 1.16.2 addresses two bugs: it restores proper rendering of dialect-specific keyword arguments for foreign key operations and corrects newline handling when updating `pyproject.toml`.
rel_1_16_12 fixesVersion 1.16.1 addresses two regressions introduced by a pathlib refactor, restoring proper template directory handling and fixing missing template error messages.
rel_1_16_0Breaking4 fixes6 featuresAlembic 1.16.0 adds PEP 621 configuration, a new CLI registration API, enhanced path handling, and several operation flags, while fixing autogenerate and deprecation issues.
rel_1_15_21 fixBug fix for autogenerate handling of AlterColumnOp.modified_name.
rel_1_15_11 fixRelease 1.15.1 resolves an installation bug where Alembic's template files were omitted from the wheel distribution due to a PEP 621 pyproject.toml issue.
rel_1_15_0Breaking2 fixes2 featuresAlembic 1.15.0 drops support for Python 3.8 and SQLAlchemy 1.3, adds label rendering for index autogeneration and revision context to diff detection, and includes several lint‑friendly and rendering bug fixes.
rel_1_14_12 fixes1 featureVersion 1.14.1 introduces SQLite column rename support, adds tzdata to tz extras, and resolves autogenerate Variant type rendering bugs.