]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- 1.3.9 rel_1_3_9
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Oct 2019 20:07:01 +0000 (16:07 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 4 Oct 2019 20:07:01 +0000 (16:07 -0400)
12 files changed:
doc/build/changelog/changelog_13.rst
doc/build/changelog/unreleased_13/4285.rst [deleted file]
doc/build/changelog/unreleased_13/4837.rst [deleted file]
doc/build/changelog/unreleased_13/4847.rst [deleted file]
doc/build/changelog/unreleased_13/4857.rst [deleted file]
doc/build/changelog/unreleased_13/4863.rst [deleted file]
doc/build/changelog/unreleased_13/4872.rst [deleted file]
doc/build/changelog/unreleased_13/4873.rst [deleted file]
doc/build/changelog/unreleased_13/4883.rst [deleted file]
doc/build/changelog/unreleased_13/4886.rst [deleted file]
doc/build/changelog/unreleased_13/4890.rst [deleted file]
doc/build/conf.py

index 0049f1302fb3f1038deae09341485482136ea902..fbc9d7db2404529c094075c3ecbabc57724629cb 100644 (file)
 
 .. changelog::
     :version: 1.3.9
-    :include_notes_from: unreleased_13
+    :released: October 4, 2019
+
+    .. change::
+        :tags: usecase, engine
+        :tickets: 4857
+
+        Added new :func:`.create_engine` parameter
+        :paramref:`.create_engine.max_identifier_length`. This overrides the
+        dialect-coded "max identifier length" in order to accommodate for databases
+        that have recently changed this length and the SQLAlchemy dialect has
+        not yet been adjusted to detect for that version.  This parameter interacts
+        with the existing :paramref:`.create_engine.label_length` parameter in that
+        it establishes the maximum (and default) value for anonymously generated
+        labels.   Additionally, post-connection detection of max identifier lengths
+        has been added to the dialect system.  This feature is first being used
+        by the Oracle dialect.
+
+        .. seealso::
+
+            :ref:`oracle_max_identifier_lengths` - in the Oracle dialect documentation
+
+    .. change::
+        :tags: usecase, oracle
+        :tickets: 4857
+
+        The Oracle dialect now emits a warning if Oracle version 12.2 or greater is
+        used, and the :paramref:`.create_engine.max_identifier_length` parameter is
+        not set.   The version in this specific case defaults to that of the
+        "compatibility" version set in the Oracle server configuration, not the
+        actual server version.   In version 1.4, the default max_identifier_length
+        for 12.2 or greater will move to 128 characters.  In order to maintain
+        forwards compatibility, applications should set
+        :paramref:`.create_engine.max_identifier_length` to 30 in order to maintain
+        the same length behavior, or to 128 in order to test the upcoming behavior.
+        This length determines among other things how generated constraint names
+        are truncated for statements like ``CREATE CONSTRAINT`` and ``DROP
+        CONSTRAINT``, which means a the new length may produce a name-mismatch
+        against a name that was generated with the old length, impacting database
+        migrations.
+
+        .. seealso::
+
+            :ref:`oracle_max_identifier_lengths` - in the Oracle dialect documentation
+
+    .. change::
+        :tags: usecase, sqlite
+        :tickets: 4863
+
+        Added support for sqlite "URI" connections, which allow for sqlite-specific
+        flags to be passed in the query string such as "read only" for Python
+        sqlite3 drivers that support this.
+
+        .. seealso::
+
+            :ref:`pysqlite_uri_connections`
+
+    .. change::
+        :tags: bug, tests
+        :tickets: 4285
+
+        Fixed unit test regression released in 1.3.8 that would cause failure for
+        Oracle, SQL Server and other non-native ENUM platforms due to new
+        enumeration tests added as part of :ticket:`4285` enum sortability in the
+        unit of work; the enumerations created constraints that were duplicated on
+        name.
+
+    .. change::
+        :tags: bug, oracle
+        :tickets: 4886
+
+        Restored adding cx_Oracle.DATETIME to the setinputsizes() call when a
+        SQLAlchemy :class:`.Date`, :class:`.DateTime` or :class:`.Time` datatype is
+        used, as some complex queries require this to be present.  This was removed
+        in the 1.2 series for arbitrary reasons.
+
+    .. change::
+        :tags: bug, mssql
+        :tickets: 4883
+
+        Added identifier quoting to the schema name applied to the "use" statement
+        which is invoked when a SQL Server multipart schema name is used within  a
+        :class:`.Table` that is being reflected, as well as for :class:`.Inspector`
+        methods such as :meth:`.Inspector.get_table_names`; this accommodates for
+        special characters or spaces in the database name.  Additionally, the "use"
+        statement is not emitted if the current database matches the target owner
+        database name being passed.
+
+    .. change::
+        :tags: bug, orm
+        :tickets: 4872
+
+        Fixed regression in selectinload loader strategy caused by :ticket:`4775`
+        (released in version 1.3.6) where a many-to-one attribute of None would no
+        longer be populated by the loader.  While this was usually not noticeable
+        due to the lazyloader populating None upon get, it would lead to a detached
+        instance error if the object were detached.
+
+    .. change::
+        :tags: bug, orm
+        :tickets: 4873
+
+        Passing a plain string expression to :meth:`.Session.query` is deprecated,
+        as all string coercions were removed in :ticket:`4481` and this one should
+        have been included.   The :func:`.literal_column` function may be used to
+        produce a textual column expression.
+
+    .. change::
+        :tags: usecase, sql
+        :tickets: 4847
+
+        Added an explicit error message for the case when objects passed to
+        :class:`.Table` are not :class:`.SchemaItem` objects, rather than resolving
+        to an attribute error.
+
+
+    .. change::
+        :tags: bug, orm
+        :tickets: 4890
+
+        A warning is emitted for a condition in which the :class:`.Session` may
+        implicitly swap an object out of the identity map for another one with the
+        same primary key, detaching the old one, which can be an observed result of
+        load operations which occur within the :meth:`.SessionEvents.after_flush`
+        hook.  The warning is intended to notify the user that some special
+        condition has caused this to happen and that the previous object may not be
+        in the expected state.
+
+    .. change::
+        :tags: bug, sql
+        :tickets: 4837
+
+        Characters that interfere with "pyformat" or "named" formats in bound
+        parameters, namely ``%, (, )`` and the space character, as well as a few
+        other typically undesirable characters, are stripped early for a
+        :func:`.bindparam` that is using an anonymized name, which is typically
+        generated automatically from a named column which itself includes these
+        characters in its name and does not use a ``.key``, so that they do not
+        interfere either with the SQLAlchemy compiler's use of string formatting or
+        with the driver-level parsing of the parameter, both of which could be
+        demonstrated before the fix.  The change only applies to anonymized
+        parameter names that are generated and consumed internally, not end-user
+        defined names, so the change should have no impact on any existing code.
+        Applies in particular to the psycopg2 driver which does not otherwise quote
+        special parameter names, but also strips leading underscores to suit Oracle
+        (but not yet leading numbers, as some anon parameters are currently
+        entirely numeric/underscore based); Oracle in any case continues to quote
+        parameter names that include special characters.
 
 .. changelog::
     :version: 1.3.8
diff --git a/doc/build/changelog/unreleased_13/4285.rst b/doc/build/changelog/unreleased_13/4285.rst
deleted file mode 100644 (file)
index 082d3e9..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-.. change::
-    :tags: bug, tests
-    :tickets: 4285
-
-    Fixed unit test regression released in 1.3.8 that would cause failure for
-    Oracle, SQL Server and other non-native ENUM platforms due to new
-    enumeration tests added as part of :ticket:`4285` enum sortability in the
-    unit of work; the enumerations created constraints that were duplicated on
-    name.
diff --git a/doc/build/changelog/unreleased_13/4837.rst b/doc/build/changelog/unreleased_13/4837.rst
deleted file mode 100644 (file)
index def5aaa..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-.. change::
-    :tags: bug, sql
-    :tickets: 4837
-
-    Characters that interfere with "pyformat" or "named" formats in bound
-    parameters, namely ``%, (, )`` and the space character, as well as a few
-    other typically undesirable characters, are stripped early for a
-    :func:`.bindparam` that is using an anonymized name, which is typically
-    generated automatically from a named column which itself includes these
-    characters in its name and does not use a ``.key``, so that they do not
-    interfere either with the SQLAlchemy compiler's use of string formatting or
-    with the driver-level parsing of the parameter, both of which could be
-    demonstrated before the fix.  The change only applies to anonymized
-    parameter names that are generated and consumed internally, not end-user
-    defined names, so the change should have no impact on any existing code.
-    Applies in particular to the psycopg2 driver which does not otherwise quote
-    special parameter names, but also strips leading underscores to suit Oracle
-    (but not yet leading numbers, as some anon parameters are currently
-    entirely numeric/underscore based); Oracle in any case continues to quote
-    parameter names that include special characters.
diff --git a/doc/build/changelog/unreleased_13/4847.rst b/doc/build/changelog/unreleased_13/4847.rst
deleted file mode 100644 (file)
index 2b0ef23..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-.. change::
-    :tags: usecase, sql
-    :tickets: 4847
-
-    Added an explicit error message for the case when objects passed to
-    :class:`.Table` are not :class:`.SchemaItem` objects, rather than resolving
-    to an attribute error.
-
diff --git a/doc/build/changelog/unreleased_13/4857.rst b/doc/build/changelog/unreleased_13/4857.rst
deleted file mode 100644 (file)
index ea2165c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-.. change::
-    :tags: usecase, engine
-    :tickets: 4857
-
-    Added new :func:`.create_engine` parameter
-    :paramref:`.create_engine.max_identifier_length`. This overrides the
-    dialect-coded "max identifier length" in order to accommodate for databases
-    that have recently changed this length and the SQLAlchemy dialect has
-    not yet been adjusted to detect for that version.  This parameter interacts
-    with the existing :paramref:`.create_engine.label_length` parameter in that
-    it establishes the maximum (and default) value for anonymously generated
-    labels.   Additionally, post-connection detection of max identifier lengths
-    has been added to the dialect system.  This feature is first being used
-    by the Oracle dialect.
-
-    .. seealso::
-
-        :ref:`oracle_max_identifier_lengths` - in the Oracle dialect documentation
-
-.. change::
-    :tags: usecase, oracle
-    :tickets: 4857
-
-    The Oracle dialect now emits a warning if Oracle version 12.2 or greater is
-    used, and the :paramref:`.create_engine.max_identifier_length` parameter is
-    not set.   The version in this specific case defaults to that of the
-    "compatibility" version set in the Oracle server configuration, not the
-    actual server version.   In version 1.4, the default max_identifier_length
-    for 12.2 or greater will move to 128 characters.  In order to maintain
-    forwards compatibility, applications should set
-    :paramref:`.create_engine.max_identifier_length` to 30 in order to maintain
-    the same length behavior, or to 128 in order to test the upcoming behavior.
-    This length determines among other things how generated constraint names
-    are truncated for statements like ``CREATE CONSTRAINT`` and ``DROP
-    CONSTRAINT``, which means a the new length may produce a name-mismatch
-    against a name that was generated with the old length, impacting database
-    migrations.
-
-    .. seealso::
-
-        :ref:`oracle_max_identifier_lengths` - in the Oracle dialect documentation
\ No newline at end of file
diff --git a/doc/build/changelog/unreleased_13/4863.rst b/doc/build/changelog/unreleased_13/4863.rst
deleted file mode 100644 (file)
index 1fd7f4c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-.. change::
-    :tags: usecase, sqlite
-    :tickets: 4863
-
-    Added support for sqlite "URI" connections, which allow for sqlite-specific
-    flags to be passed in the query string such as "read only" for Python
-    sqlite3 drivers that support this.
-
-    .. seealso::
-
-        :ref:`pysqlite_uri_connections`
diff --git a/doc/build/changelog/unreleased_13/4872.rst b/doc/build/changelog/unreleased_13/4872.rst
deleted file mode 100644 (file)
index 2822708..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-.. change::
-    :tags: bug, orm
-    :tickets: 4872
-
-    Fixed regression in selectinload loader strategy caused by :ticket:`4775`
-    (released in version 1.3.6) where a many-to-one attribute of None would no
-    longer be populated by the loader.  While this was usually not noticeable
-    due to the lazyloader populating None upon get, it would lead to a detached
-    instance error if the object were detached.
diff --git a/doc/build/changelog/unreleased_13/4873.rst b/doc/build/changelog/unreleased_13/4873.rst
deleted file mode 100644 (file)
index 758c363..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-.. change::
-    :tags: bug, orm
-    :tickets: 4873
-
-    Passing a plain string expression to :meth:`.Session.query` is deprecated,
-    as all string coercions were removed in :ticket:`4481` and this one should
-    have been included.   The :func:`.literal_column` function may be used to
-    produce a textual column expression.
diff --git a/doc/build/changelog/unreleased_13/4883.rst b/doc/build/changelog/unreleased_13/4883.rst
deleted file mode 100644 (file)
index 161dbf1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-.. change::
-    :tags: bug, mssql
-    :tickets: 4883
-
-    Added identifier quoting to the schema name applied to the "use" statement
-    which is invoked when a SQL Server multipart schema name is used within  a
-    :class:`.Table` that is being reflected, as well as for :class:`.Inspector`
-    methods such as :meth:`.Inspector.get_table_names`; this accommodates for
-    special characters or spaces in the database name.  Additionally, the "use"
-    statement is not emitted if the current database matches the target owner
-    database name being passed.
diff --git a/doc/build/changelog/unreleased_13/4886.rst b/doc/build/changelog/unreleased_13/4886.rst
deleted file mode 100644 (file)
index 285bbdd..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-.. change::
-    :tags: bug, oracle
-    :tickets: 4886
-
-    Restored adding cx_Oracle.DATETIME to the setinputsizes() call when a
-    SQLAlchemy :class:`.Date`, :class:`.DateTime` or :class:`.Time` datatype is
-    used, as some complex queries require this to be present.  This was removed
-    in the 1.2 series for arbitrary reasons.
diff --git a/doc/build/changelog/unreleased_13/4890.rst b/doc/build/changelog/unreleased_13/4890.rst
deleted file mode 100644 (file)
index 26928d6..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-.. change::
-    :tags: bug, orm
-    :tickets: 4890
-
-    A warning is emitted for a condition in which the :class:`.Session` may
-    implicitly swap an object out of the identity map for another one with the
-    same primary key, detaching the old one, which can be an observed result of
-    load operations which occur within the :meth:`.SessionEvents.after_flush`
-    hook.  The warning is intended to notify the user that some special
-    condition has caused this to happen and that the previous object may not be
-    in the expected state.
index 466d2850122f8ab592c7c4ddb675693c6bfc99db..9491eaebeb2ac32461aecdcf2dfa1646ec0a6661 100644 (file)
@@ -109,9 +109,9 @@ copyright = u'2007-2019, the SQLAlchemy authors and contributors'
 # The short X.Y version.
 version = "1.3"
 # The full version, including alpha/beta/rc tags.
-release = "1.3.8"
+release = "1.3.9"
 
-release_date = "August 27, 2019"
+release_date = "October 4, 2019"
 
 site_base = os.environ.get("RTD_SITE_BASE", "http://www.sqlalchemy.org")
 site_adapter_template = "docs_adapter.mako"