From 6ebb88bbd1c1bae2216326216a4c8064bb14c645 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Wed, 24 May 2017 12:02:42 -0600 Subject: [PATCH] Preparing to release cx_Oracle 6.0b2. --- doc/src/conf.py | 2 +- doc/src/releasenotes.rst | 37 +++++++++++++++++++++++++++++++++---- odpi | 2 +- setup.py | 2 +- 4 files changed, 36 insertions(+), 7 deletions(-) diff --git a/doc/src/conf.py b/doc/src/conf.py index 3715ceef..0fa4c6d1 100644 --- a/doc/src/conf.py +++ b/doc/src/conf.py @@ -42,7 +42,7 @@ # The short X.Y version. version = '6.0' # The full version, including alpha/beta/rc tags. -release = '6.0b1' +release = '6.0b2' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: diff --git a/doc/src/releasenotes.rst b/doc/src/releasenotes.rst index abbeb346..951dba2f 100644 --- a/doc/src/releasenotes.rst +++ b/doc/src/releasenotes.rst @@ -7,10 +7,35 @@ Release notes Version 6.0 (TBD) ----------------- -#) Update documentation to show that methods :meth:`Object.first()` and - :meth:`Object.last()` do not raise an exception when the collection is - empty. They now return the value None to be consistent with the - methods :meth:`Object.next()` and :meth:`Object.prev()`. +Version 6.0 beta 2 (May 2017) +----------------------------- + +#) Added support for getting/setting attributes of objects or element values + in collections that contain LOBs, BINARY_FLOAT values, BINARY_DOUBLE values + and NCHAR and NVARCHAR2 values. The error message for any types that are + not supported has been improved as well. +#) Enable temporary LOB caching in order to avoid disk I/O as + `suggested `__. +#) Added support for setting the debug level in ODPI-C, if desirable, by + setting environment variable DPI_DEBUG_LEVEL prior to building cx_Oracle. +#) Correct processing of strings in :meth:`Cursor.executemany` when a + larger string is found after a shorter string in the list of data bound to + the statement. +#) Correct handling of long Python integers that cannot fit inside a 64-bit C + integer (`issue 18 + `__). +#) Correct creation of pool using external authentication. +#) Handle edge case when an odd number of zeroes trail the decimal point in a + value that is effectively zero (`issue 22 + `__). +#) Prevent segfault under load when the attempt to create an error fails. +#) Eliminate resource leak when a standalone connection or pool is freed. +#) Correct `typo `__. +#) Correct handling of REF cursors when the array size is manipulated. +#) Prevent attempts from binding the cursor being executed to itself. +#) Correct reference count handling of parameters when creating a cursor. +#) Correct determination of the names of the bind variables in prepared SQL + statements (which behaves a little differently from PL/SQL statements). Version 6.0 beta 1 (April 2017) @@ -45,6 +70,10 @@ Version 6.0 beta 1 (April 2017) database (new in Oracle Database 12.2). #) Added support for smallint and float data types in Oracle objects, as `requested `__. +#) An exception is no longer raised when a collection is empty for methods + :meth:`Object.first()` and :meth:`Object.last()`. Instead, the value None + is returned to be consistent with the methods :meth:`Object.next()` and + :meth:`Object.prev()`. #) Removed restriction on fetching LOBs across round trips to the database (eliminates error "LOB variable no longer valid after subsequent fetch"). #) Removed requirement for specifying a maximum size when fetching LONG or diff --git a/odpi b/odpi index 46430ce8..18ccf8b4 160000 --- a/odpi +++ b/odpi @@ -1 +1 @@ -Subproject commit 46430ce85e0eefe14f6ab33d709cc4acd9de7680 +Subproject commit 18ccf8b4f0f3553b754d7b38161b1d0eb16da1e5 diff --git a/setup.py b/setup.py index 7e2bd35c..cb3b5016 100644 --- a/setup.py +++ b/setup.py @@ -20,7 +20,7 @@ from distutils.extension import Extension # define build constants -BUILD_VERSION = "6.0b1" +BUILD_VERSION = "6.0b2" # define the list of files to be included as documentation for Windows dataFiles = None