Skip to content

Commit b43a196

Browse files
committed
- 1.13.3
1 parent 2fa5d65 commit b43a196

File tree

6 files changed

+46
-42
lines changed

6 files changed

+46
-42
lines changed

docs/build/changelog.rst

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

66
.. changelog::
77
: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+
952

1053
.. changelog::
1154
:version: 1.13.2

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.13.2"
103-
release_date = "June 26, 2024"
102+
release = "1.13.3"
103+
release_date = "September 23, 2024"
104104

105105

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

docs/build/unreleased/1446.rst

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

docs/build/unreleased/1509.rst

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

docs/build/unreleased/1520.rst

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

docs/build/unreleased/unpin_setuptools.rst

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

0 commit comments

Comments
 (0)