Skip to content

Commit d242d6f

Browse files
Preparing to release cx_Oracle 6.3.
1 parent 6fd56a5 commit d242d6f

File tree

4 files changed

+69
-6
lines changed

4 files changed

+69
-6
lines changed

doc/src/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# The short X.Y version.
4343
version = '6.3'
4444
# The full version, including alpha/beta/rc tags.
45-
release = '6.3.0-dev'
45+
release = '6.3.0'
4646

4747
# There are two options for replacing |today|: either, you set today to some
4848
# non-false value, then it is used:

doc/src/releasenotes.rst

Lines changed: 66 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,69 @@ cx_Oracle Release Notes
88

99
.. _releasenotes60:
1010

11+
Version 6.3 (April 2018)
12+
------------------------
13+
14+
#) Update to `ODPI-C 2.3.1
15+
<https://oracle.github.io/odpi/doc/releasenotes.html#
16+
version-2-3-1-april-25-2018>`__.
17+
18+
- Fixed binding of LONG data (values exceeding 32KB) when using the
19+
function :meth:`Cursor.executemany()`.
20+
- Added code to verify that a CQN subscription is open before permitting it
21+
to be used. Error "DPI-1060: subscription was already closed" will now be
22+
raised if an attempt is made to use a subscription that was closed
23+
earlier.
24+
- Stopped attempting to unregister a CQN subscription before it was
25+
completely registered. This prevents errors encountered during
26+
registration from being masked by an error stating that the subscription
27+
has not been registered!
28+
- Added error "DPI-1061: edition is not supported when a new password is
29+
specified" to clarify the fact that specifying an edition and a new
30+
password at the same time is not supported when creating a connection.
31+
Previously the edition value was simply ignored.
32+
- Improved error message when older OCI client libraries are being used
33+
that don't have the method OCIClientVersion().
34+
- Fixed the handling of ANSI types REAL and DOUBLE PRECISION as
35+
implemented by Oracle. These types are just subtypes of NUMBER and are
36+
different from BINARY_FLOAT and BINARY_DOUBLE
37+
(`issue 163 <https://github.com/oracle/python-cx_Oracle/issues/163>`__).
38+
- Fixed support for true heterogeneous session pools that use different
39+
user/password combinations for each session acquired from the pool.
40+
- Added error message indicating that setting either of the parameters
41+
arraydmlrowcounts and batcherrors to True in :meth:`Cursor.executemany()`
42+
is only supported with insert, update, delete and merge statements.
43+
44+
#) Fixed support for getting the OUT values of bind variables bound to a DML
45+
Returning statement when calling the function :meth:`Cursor.executemany()`.
46+
Note that the attribute dml_ret_array_val in :attr:`cx_Oracle.__future__`
47+
must be set to True first.
48+
#) Added support for binding integers and floats as cx_Oracle.NATIVE_FLOAT.
49+
#) A :attr:`cx_Oracle._Error` object is now the value of all cx_Oracle
50+
exceptions raised by cx_Oracle.
51+
(`issue 51 <https://github.com/oracle/python-cx_Oracle/issues/51>`__).
52+
#) Added support for building cx_Oracle with a pre-compiled version of ODPI-C,
53+
as requested
54+
(`issue 103 <https://github.com/oracle/python-cx_Oracle/issues/103>`__).
55+
#) Default values are now provided for all parameters to
56+
:meth:`cx_Oracle.SessionPool`.
57+
#) Improved error message when an unsupported Oracle type is encountered.
58+
#) The Python GIL is now prevented from being held while performing a round
59+
trip for the call to get the attribute :attr:`Connection.version`
60+
(`issue 158 <https://github.com/oracle/python-cx_Oracle/issues/158>`__).
61+
#) Added check for the validity of the year for Python 2.x since it doesn't do
62+
that itself like Python 3.x does
63+
(`issue 166 <https://github.com/oracle/python-cx_Oracle/issues/166>`__).
64+
#) Adjusted documentation to provide additional information on the use of
65+
:meth:`Cursor.executemany()` as requested
66+
(`issue 153 <https://github.com/oracle/python-cx_Oracle/issues/153>`__).
67+
#) Adjusted documentation to state that batch errors and array DML row counts
68+
can only be used with insert, update, delete and merge statements
69+
(`issue 31 <https://github.com/oracle/python-cx_Oracle/issues/31>`__).
70+
#) Updated tutorial to import common connection information from files in
71+
order to make setup a bit more generic.
72+
73+
1174
Version 6.2.1 (March 2018)
1275
--------------------------
1376

@@ -100,7 +163,7 @@ Version 6.1 (December 2017)
100163
- Variables of string/raw types are restricted to 2 bytes less than 1 GB
101164
(1,073,741,822 bytes), since OCI cannot handle more than that currently.
102165
- Support was added for identifying the id of the transaction which spawned
103-
a subscription message, as requested
166+
a CQN subscription message, as requested
104167
(`ODPI-C issue 32 <https://github.com/oracle/odpi/issues/32>`__).
105168
- Corrected use of subscription port number (`issue 115
106169
<https://github.com/oracle/python-cx_Oracle/issues/115>`__).
@@ -198,7 +261,7 @@ Version 6.0.1 (August 2017)
198261
be exposed (`ODPI-C issue 28
199262
<https://github.com/oracle/odpi/issues/28>`__). It will be dropped in
200263
version 6.1.
201-
- Add support for DML returning statements that require dynamically
264+
- Add support for DML Returning statements that require dynamically
202265
allocated variable data (such as CLOBs being returned as strings).
203266

204267
#) Correct packaging of Python 2.7 UCS4 wheels on Linux
@@ -358,7 +421,7 @@ Version 6.0 beta 1 (April 2017)
358421
#) Added support for
359422
`universal rowids <https://github.com/oracle/python-cx_Oracle/blob/master/
360423
samples/UniversalRowids.py>`__.
361-
#) Added support for `DML returning of multiple rows
424+
#) Added support for `DML Returning of multiple rows
362425
<https://github.com/oracle/python-cx_Oracle/blob/master/samples/
363426
DMLReturningMultipleRows.py>`__.
364427
#) Added attributes :attr:`Variable.actualElements` and

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from distutils.extension import Extension
2121

2222
# define build constants
23-
BUILD_VERSION = "6.3-dev"
23+
BUILD_VERSION = "6.3"
2424

2525
# setup extra link and compile args
2626
extraLinkArgs = []

0 commit comments

Comments
 (0)