@@ -5,7 +5,64 @@ Changelog
5
5
6
6
.. changelog ::
7
7
: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
+
9
66
10
67
.. changelog ::
11
68
:version: 1.11.3
0 commit comments