Skip to content

Commit

Permalink
- 1.12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Aug 31, 2023
1 parent 01af5f4 commit 4d82946
Show file tree
Hide file tree
Showing 7 changed files with 60 additions and 55 deletions.
59 changes: 58 additions & 1 deletion docs/build/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,64 @@ Changelog

.. changelog::
:version: 1.12.0
:include_notes_from: unreleased
:released: August 31, 2023

.. change::
:tags: bug, operations
:tickets: 1300

Added support for ``op.drop_constraint()`` to support PostrgreSQL
``ExcludeConstraint`` objects, as well as other constraint-like objects
that may be present in third party dialects, by resolving the ``type_``
parameter to be ``None`` for this case. Autogenerate has also been
enhanced to exclude the ``type_`` parameter from rendering within this
command when ``type_`` is ``None``. Pull request courtesy David Hills.



.. change::
:tags: bug, commmands
:tickets: 1299

Fixed issue where the ``revision_environment`` directive in ``alembic.ini``
was ignored by the ``alembic merge`` command, leading to issues when other
configurational elements depend upon ``env.py`` being invoked within the
command.

.. change::
:tags: bug, autogenerate
:tickets: 1302

Fixed issue where the ``ForeignKeyConstraint.match`` parameter would not be
rendered in autogenerated migrations. Pull request courtesy Asib
Kamalsada.


.. change::
:tags: usecase, autogenerate
:tickets: 1248

Change the default value of
:paramref:`.EnvironmentContext.configure.compare_type` to ``True``.
As Alembic's autogenerate for types was dramatically improved in
version 1.4 released in 2020, the type comparison feature is now much
more reliable so is now enabled by default.

.. change::
:tags: feature, autogenerate
:tickets: 1275

Added new feature to the "code formatter" function which allows standalone
executable tools to be run against code, without going through the Python
interpreter. Known as the ``exec`` runner, it complements the existing
``console_scripts`` runner by allowing non-Python tools such as ``ruff`` to
be used. Pull request courtesy Mihail Milushev.

.. seealso::

:ref:`post_write_hooks_config`



.. changelog::
:version: 1.11.3
Expand Down
4 changes: 2 additions & 2 deletions docs/build/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@
# The short X.Y version.
version = alembic.__version__
# The full version, including alpha/beta/rc tags.
release = "1.11.3"
release_date = "August 16, 2023"
release = "1.12.0"
release_date = "August 31, 2023"


# The language for content autogenerated by Sphinx. Refer to documentation
Expand Down
9 changes: 0 additions & 9 deletions docs/build/unreleased/1248.rst

This file was deleted.

15 changes: 0 additions & 15 deletions docs/build/unreleased/1275.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/build/unreleased/1299.rst

This file was deleted.

12 changes: 0 additions & 12 deletions docs/build/unreleased/1300.rst

This file was deleted.

8 changes: 0 additions & 8 deletions docs/build/unreleased/1302.rst

This file was deleted.

0 comments on commit 4d82946

Please sign in to comment.