Skip to content

Commit 4d82946

Browse files
committed
- 1.12.0
1 parent 01af5f4 commit 4d82946

File tree

7 files changed

+60
-55
lines changed

7 files changed

+60
-55
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.12.0
8-
:include_notes_from: unreleased
8+
:released: August 31, 2023
9+
10+
.. change::
11+
:tags: bug, operations
12+
:tickets: 1300
13+
14+
Added support for ``op.drop_constraint()`` to support PostrgreSQL
15+
``ExcludeConstraint`` objects, as well as other constraint-like objects
16+
that may be present in third party dialects, by resolving the ``type_``
17+
parameter to be ``None`` for this case. Autogenerate has also been
18+
enhanced to exclude the ``type_`` parameter from rendering within this
19+
command when ``type_`` is ``None``. Pull request courtesy David Hills.
20+
21+
22+
23+
.. change::
24+
:tags: bug, commmands
25+
:tickets: 1299
26+
27+
Fixed issue where the ``revision_environment`` directive in ``alembic.ini``
28+
was ignored by the ``alembic merge`` command, leading to issues when other
29+
configurational elements depend upon ``env.py`` being invoked within the
30+
command.
31+
32+
.. change::
33+
:tags: bug, autogenerate
34+
:tickets: 1302
35+
36+
Fixed issue where the ``ForeignKeyConstraint.match`` parameter would not be
37+
rendered in autogenerated migrations. Pull request courtesy Asib
38+
Kamalsada.
39+
40+
41+
.. change::
42+
:tags: usecase, autogenerate
43+
:tickets: 1248
44+
45+
Change the default value of
46+
:paramref:`.EnvironmentContext.configure.compare_type` to ``True``.
47+
As Alembic's autogenerate for types was dramatically improved in
48+
version 1.4 released in 2020, the type comparison feature is now much
49+
more reliable so is now enabled by default.
50+
51+
.. change::
52+
:tags: feature, autogenerate
53+
:tickets: 1275
54+
55+
Added new feature to the "code formatter" function which allows standalone
56+
executable tools to be run against code, without going through the Python
57+
interpreter. Known as the ``exec`` runner, it complements the existing
58+
``console_scripts`` runner by allowing non-Python tools such as ``ruff`` to
59+
be used. Pull request courtesy Mihail Milushev.
60+
61+
.. seealso::
62+
63+
:ref:`post_write_hooks_config`
64+
65+
966

1067
.. changelog::
1168
:version: 1.11.3

docs/build/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@
9999
# The short X.Y version.
100100
version = alembic.__version__
101101
# The full version, including alpha/beta/rc tags.
102-
release = "1.11.3"
103-
release_date = "August 16, 2023"
102+
release = "1.12.0"
103+
release_date = "August 31, 2023"
104104

105105

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

docs/build/unreleased/1248.rst

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

docs/build/unreleased/1275.rst

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

docs/build/unreleased/1299.rst

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

docs/build/unreleased/1300.rst

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

docs/build/unreleased/1302.rst

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

0 commit comments

Comments
 (0)