Skip to content

Commit ee83ff6

Browse files
committed
- 1.8.0
1 parent d1ac969 commit ee83ff6

File tree

9 files changed

+60
-53
lines changed

9 files changed

+60
-53
lines changed

docs/build/changelog.rst

Lines changed: 58 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,64 @@ Changelog
55

66
.. changelog::
77
:version: 1.8.0
8-
:include_notes_from: unreleased
8+
:released: May 31, 2022
9+
10+
.. change::
11+
:tags: feature, typing
12+
:tickets: 764
13+
14+
:pep:`484` typing annotations have been added to the ``env.py`` and
15+
revision template files within migration templates. Pull request by Nikita
16+
Sobolev.
17+
18+
.. change::
19+
:tags: usecase, operations
20+
:tickets: 1037
21+
22+
The ``op.drop_table()`` operation directive will now trigger the
23+
``before_drop()`` and ``after_drop()`` DDL event hooks at the table level,
24+
which is similar to how the ``before_create()`` and ``after_create()``
25+
hooks are triggered by the ``op.create_table()`` directive. Note that as
26+
``op.drop_table()`` accepts only a table name and optional schema name, the
27+
``Table`` object received by the event will not have any information within
28+
it other than the table name and schema name.
29+
30+
.. change::
31+
:tags: installation, changed
32+
:tickets: 1025
33+
34+
Alembic 1.8 now supports Python 3.7 and above.
35+
36+
.. change::
37+
:tags: changed, environment
38+
:tickets: 987
39+
40+
The "Pylons" environment template has been removed as of Alembic 1.8. This
41+
template was based on the very old pre-Pyramid Pylons web framework which
42+
has been long superseded by Pyramid.
43+
44+
.. change::
45+
:tags: bug, revisioning
46+
:tickets: 1026
47+
48+
Fixed issue where a downgrade using a relative revision would
49+
fail in case of multiple branches with a single effectively
50+
head due to interdependencies between revisions.
51+
52+
.. change::
53+
:tags: usecase, commands
54+
:tickets: 1027
55+
56+
Added new token ``epoch`` to the ``file_template`` option, which will
57+
populate the integer epoch as determined by ``int(create_date.timestamp())``.
58+
Pull request courtesy Caio Carvalho.
59+
60+
.. change::
61+
:tags: bug, batch
62+
:tickets: 1034
63+
64+
Fixed issue in batch mode where CREATE INDEX would not use a new column
65+
name in the case of a column rename.
966

1067
.. changelog::
1168
:version: 1.7.7

docs/build/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@
9292
# The short X.Y version.
9393
version = alembic.__version__
9494
# The full version, including alpha/beta/rc tags.
95-
release = "1.7.7"
96-
release_date = "March 14, 2022"
95+
release = "1.8.0"
96+
release_date = "May 31, 2022"
9797

9898

9999
# The language for content autogenerated by Sphinx. Refer to documentation

docs/build/unreleased/1025.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/build/unreleased/1026.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/build/unreleased/1027.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/build/unreleased/1034.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

docs/build/unreleased/1037.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/build/unreleased/764.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/build/unreleased/987.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)