From: Mike Bayer Date: Tue, 31 May 2022 21:11:14 +0000 (-0400) Subject: - 1.8.0 X-Git-Tag: rel_1_8_0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee83ff6e2e9996166ab7a82f29b66969d2416267;p=thirdparty%2Fsqlalchemy%2Falembic.git - 1.8.0 --- diff --git a/docs/build/changelog.rst b/docs/build/changelog.rst index 36850ef3..4306e392 100644 --- a/docs/build/changelog.rst +++ b/docs/build/changelog.rst @@ -5,7 +5,64 @@ Changelog .. changelog:: :version: 1.8.0 - :include_notes_from: unreleased + :released: May 31, 2022 + + .. change:: + :tags: feature, typing + :tickets: 764 + + :pep:`484` typing annotations have been added to the ``env.py`` and + revision template files within migration templates. Pull request by Nikita + Sobolev. + + .. change:: + :tags: usecase, operations + :tickets: 1037 + + The ``op.drop_table()`` operation directive will now trigger the + ``before_drop()`` and ``after_drop()`` DDL event hooks at the table level, + which is similar to how the ``before_create()`` and ``after_create()`` + hooks are triggered by the ``op.create_table()`` directive. Note that as + ``op.drop_table()`` accepts only a table name and optional schema name, the + ``Table`` object received by the event will not have any information within + it other than the table name and schema name. + + .. change:: + :tags: installation, changed + :tickets: 1025 + + Alembic 1.8 now supports Python 3.7 and above. + + .. change:: + :tags: changed, environment + :tickets: 987 + + The "Pylons" environment template has been removed as of Alembic 1.8. This + template was based on the very old pre-Pyramid Pylons web framework which + has been long superseded by Pyramid. + + .. change:: + :tags: bug, revisioning + :tickets: 1026 + + Fixed issue where a downgrade using a relative revision would + fail in case of multiple branches with a single effectively + head due to interdependencies between revisions. + + .. change:: + :tags: usecase, commands + :tickets: 1027 + + Added new token ``epoch`` to the ``file_template`` option, which will + populate the integer epoch as determined by ``int(create_date.timestamp())``. + Pull request courtesy Caio Carvalho. + + .. change:: + :tags: bug, batch + :tickets: 1034 + + Fixed issue in batch mode where CREATE INDEX would not use a new column + name in the case of a column rename. .. changelog:: :version: 1.7.7 diff --git a/docs/build/conf.py b/docs/build/conf.py index db75d72f..a95e869d 100644 --- a/docs/build/conf.py +++ b/docs/build/conf.py @@ -92,8 +92,8 @@ copyright = "2010-2022, Mike Bayer" # noqa # The short X.Y version. version = alembic.__version__ # The full version, including alpha/beta/rc tags. -release = "1.7.7" -release_date = "March 14, 2022" +release = "1.8.0" +release_date = "May 31, 2022" # The language for content autogenerated by Sphinx. Refer to documentation diff --git a/docs/build/unreleased/1025.rst b/docs/build/unreleased/1025.rst deleted file mode 100644 index 84fea91b..00000000 --- a/docs/build/unreleased/1025.rst +++ /dev/null @@ -1,5 +0,0 @@ -.. change:: - :tags: installation, changed - :tickets: 1025 - - Alembic 1.8 now supports Python 3.7 and above. diff --git a/docs/build/unreleased/1026.rst b/docs/build/unreleased/1026.rst deleted file mode 100644 index b5df749b..00000000 --- a/docs/build/unreleased/1026.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: bug, revisioning - :tickets: 1026 - - Fixed issue where a downgrade using a relative revision would - fail in case of multiple branches with a single effectively - head due to interdependencies between revisions. diff --git a/docs/build/unreleased/1027.rst b/docs/build/unreleased/1027.rst deleted file mode 100644 index d10b5470..00000000 --- a/docs/build/unreleased/1027.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: usecase, commands - :tickets: 1027 - - Added new token ``epoch`` to the ``file_template`` option, which will - populate the integer epoch as determined by ``int(create_date.timestamp())``. - Pull request courtesy Caio Carvalho. diff --git a/docs/build/unreleased/1034.rst b/docs/build/unreleased/1034.rst deleted file mode 100644 index 558c1ef9..00000000 --- a/docs/build/unreleased/1034.rst +++ /dev/null @@ -1,6 +0,0 @@ -.. change:: - :tags: bug, batch - :tickets: 1034 - - Fixed issue in batch mode where CREATE INDEX would not use a new column - name in the case of a column rename. diff --git a/docs/build/unreleased/1037.rst b/docs/build/unreleased/1037.rst deleted file mode 100644 index 12ef8826..00000000 --- a/docs/build/unreleased/1037.rst +++ /dev/null @@ -1,11 +0,0 @@ -.. change:: - :tags: usecase, operations - :tickets: 1037 - - The ``op.drop_table()`` operation directive will now trigger the - ``before_drop()`` and ``after_drop()`` DDL event hooks at the table level, - which is similar to how the ``before_create()`` and ``after_create()`` - hooks are triggered by the ``op.create_table()`` directive. Note that as - ``op.drop_table()`` accepts only a table name and optional schema name, the - ``Table`` object received by the event will not have any information within - it other than the table name and schema name. diff --git a/docs/build/unreleased/764.rst b/docs/build/unreleased/764.rst deleted file mode 100644 index 9be4a967..00000000 --- a/docs/build/unreleased/764.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: feature, typing - :tickets: 764 - - :pep:`484` typing annotations have been added to the ``env.py`` and - revision template files within migration templates. Pull request by Nikita - Sobolev. diff --git a/docs/build/unreleased/987.rst b/docs/build/unreleased/987.rst deleted file mode 100644 index c9d70556..00000000 --- a/docs/build/unreleased/987.rst +++ /dev/null @@ -1,7 +0,0 @@ -.. change:: - :tags: changed, environment - :tickets: 987 - - The "Pylons" environment template has been removed as of Alembic 1.8. This - template was based on the very old pre-Pyramid Pylons web framework which - has been long superseded by Pyramid.