@@ -5,7 +5,50 @@ Changelog
5
5
6
6
.. changelog ::
7
7
:version: 1.13.3
8
- :include_notes_from: unreleased
8
+ :released: September 23, 2024
9
+
10
+ .. change ::
11
+ :tags: usecase, autogenerate
12
+
13
+ Render ``if_exists `` and ``if_not_exists `` parameters in
14
+ :class: `.CreateTableOp `, :class: `.CreateIndexOp `, :class: `.DropTableOp ` and
15
+ :class: `.DropIndexOp ` in an autogenerate context. While Alembic does not
16
+ set these parameters during an autogenerate run, they can be enabled using
17
+ a custom :class: `.Rewriter ` in the ``env.py `` file, where they will now be
18
+ part of the rendered Python code in revision files. Pull request courtesy
19
+ of Louis-Amaury Chaib (@lachaib).
20
+
21
+ .. change ::
22
+ :tags: usecase, environment
23
+ :tickets: 1509
24
+
25
+ Enhance ``version_locations `` parsing to handle paths containing newlines.
26
+
27
+ .. change ::
28
+ :tags: usecase, operations
29
+ :tickets: 1520
30
+
31
+ Added support for :paramref: `.Operations.create_table.if_not_exists ` and
32
+ :paramref: `.Operations.drop_table.if_exists `, adding similar functionality
33
+ to render IF [NOT] EXISTS for table operations in a similar way as with
34
+ indexes. Pull request courtesy Aaron Griffin.
35
+
36
+
37
+ .. change ::
38
+ :tags: change, general
39
+
40
+ The pin for ``setuptools<69.3 `` in ``pyproject.toml `` has been removed.
41
+ This pin was to prevent a sudden change to :pep: `625 ` in setuptools from
42
+ taking place which changes the file name of SQLAlchemy's source
43
+ distribution on pypi to be an all lower case name, and the change was
44
+ extended to all SQLAlchemy projects to prevent any further surprises.
45
+ However, the presence of this pin is now holding back environments that
46
+ otherwise want to use a newer setuptools, so we've decided to move forward
47
+ with this change, with the assumption that build environments will have
48
+ largely accommodated the setuptools change by now.
49
+
50
+
51
+
9
52
10
53
.. changelog ::
11
54
:version: 1.13.2
0 commit comments