From a7fa15ea7340569499095e06bd5ad1d71e1ccaff Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Wed, 12 Jul 2023 14:57:50 -0400 Subject: [PATCH] changelog updates Change-Id: I087cf07afc4a665fc129c86118370b875aaa3238 --- doc/build/changelog/changelog_20.rst | 10 +++++----- doc/build/changelog/unreleased_20/10079.rst | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/doc/build/changelog/changelog_20.rst b/doc/build/changelog/changelog_20.rst index ba58d2bc2e..e11e2b748e 100644 --- a/doc/build/changelog/changelog_20.rst +++ b/doc/build/changelog/changelog_20.rst @@ -24,12 +24,12 @@ ``sqlalchemy.sql.operators`` such as ``sqlalchemy.sql.operators.eq``. .. change:: - :tags: usecase, mariadb, reflection - :tickets: 10028 + :tags: usecase, mariadb, reflection + :tickets: 10028 - Allowed reflecting :class:`_types.UUID` columns from MariaDB. This allows - Alembic to properly detect the type of such columns in existing MariaDB - databases. + Allowed reflecting :class:`_types.UUID` columns from MariaDB. This allows + Alembic to properly detect the type of such columns in existing MariaDB + databases. .. change:: :tags: bug, postgresql diff --git a/doc/build/changelog/unreleased_20/10079.rst b/doc/build/changelog/unreleased_20/10079.rst index 1bee0977fb..9af5674f01 100644 --- a/doc/build/changelog/unreleased_20/10079.rst +++ b/doc/build/changelog/unreleased_20/10079.rst @@ -2,7 +2,8 @@ :tags: bug, engine :tickets: 10079 - The behavior of the :func:`make_url` has been changed. - Now if you pass an incorrect argument type to the :func:`make_url`, - an ArgumentError error will be thrown. - Correct argument types is: str, URL \ No newline at end of file + Added detection for non-string, non-:class:`_engine.URL` objects to the + :func:`_engine.make_url` function, allowing ``ArgumentError`` to be thrown + immediately, rather than causing failures later on. Special logic ensures + that mock forms of :class:`_engine.URL` are allowed through. Pull request + courtesy Grigoriev Semyon. -- 2.47.3