Skip to content

Commit

Permalink
- 1.12.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zzzeek committed Oct 26, 2023
1 parent 5dcbca6 commit 0b1f273
Show file tree
Hide file tree
Showing 9 changed files with 70 additions and 63 deletions.
69 changes: 68 additions & 1 deletion docs/build/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,74 @@ Changelog

.. changelog::
:version: 1.12.1
:include_notes_from: unreleased
:released: October 26, 2023

.. change::
:tags: bug, autogenerate, regression
:tickets: 1329

Fixed regression caused by :ticket:`879` released in 1.7.0 where the
".info" dictionary of ``Table`` would not render in autogenerate create
table statements. This can be useful for custom create table DDL rendering
schemes so it is restored.

.. change::
:tags: bug, typing
:tickets: 1325

Improved typing in the
:paramref:`.EnvironmentContext.configure.process_revision_directives`
callable to better indicate that the passed-in type is
:class:`.MigrationScript`, not the :class:`.MigrationOperation` base class,
and added typing to the example at :ref:`cookbook_no_empty_migrations` to
illustrate.

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

Repaired :class:`.ExecuteSQLOp` so that it can participate in "diff"
operations; while this object is typically not present in a reflected
operation stream, custom hooks may be adding this construct where it needs
to have the correct ``to_diff_tuple()`` method. Pull request courtesy
Sebastian Bayer.

.. change::
:tags: typing, bug
:tickets: 1058, 1277

Improved the ``op.execute()`` method to correctly accept the
``Executable`` type that is the same which is used in SQLAlchemy
``Connection.execute()``. Pull request courtesy Mihail Milushev.

.. change::
:tags: typing, bug
:tickets: 930

Improve typing of the revision parameter in various command functions.

.. change::
:tags: typing, bug
:tickets: 1266

Properly type the :paramref:`.Operations.create_check_constraint.condition`
parameter of :meth:`.Operations.create_check_constraint` to accept boolean
expressions.

.. change::
:tags: bug, postgresql
:tickets: 1322

Fixed autogen render issue where expressions inside of indexes for PG need
to be double-parenthesized, meaning a single parens must be present within
the generated ``text()`` construct.

.. change::
:tags: usecase
:tickets: 1304

Alembic now accommodates for Sequence and Identity that support dialect kwargs.
This is a change that will be added to SQLAlchemy v2.1.

.. changelog::
:version: 1.12.0
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.12.0"
release_date = "August 31, 2023"
release = "1.12.1"
release_date = "October 26, 2023"


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

This file was deleted.

7 changes: 0 additions & 7 deletions docs/build/unreleased/1322.rst

This file was deleted.

10 changes: 0 additions & 10 deletions docs/build/unreleased/1325.rst

This file was deleted.

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

This file was deleted.

9 changes: 0 additions & 9 deletions docs/build/unreleased/1335.rst

This file was deleted.

13 changes: 0 additions & 13 deletions docs/build/unreleased/improve_typing.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/build/unreleased/op_execute.rst

This file was deleted.

0 comments on commit 0b1f273

Please sign in to comment.