Skip to content

Commit

Permalink
- 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed May 31, 2022
1 parent d1ac969 commit ee83ff6
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 53 deletions.
59 changes: 58 additions & 1 deletion docs/build/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/build/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@
# 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
Expand Down
5 changes: 0 additions & 5 deletions docs/build/unreleased/1025.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/build/unreleased/1026.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/build/unreleased/1027.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/build/unreleased/1034.rst

This file was deleted.

11 changes: 0 additions & 11 deletions docs/build/unreleased/1037.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/build/unreleased/764.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/build/unreleased/987.rst

This file was deleted.

0 comments on commit ee83ff6

Please sign in to comment.