55cx_Oracle Release Notes
66=======================
77
8+ For any deprecations, see :ref: `Deprecations <deprecations >`.
9+
810Version 8.2 (TBD)
911-----------------
1012
1113#) Updated embedded ODPI-C to `version 4.2.0
1214 <https://oracle.github.io/odpi/doc/releasenotes.html#
1315 version-4-2-tbd> `__.
14- #) Added :ref: `SODA metadata cache <sodametadatacache >` support to connection
15- pools. This significantly improves the performance of methods
16- :meth: `SodaDatabase.createCollection() ` (when not specifying a value for
17- the metadata parameter) and :meth: `SodaDatabase.openCollection() `. Caching
18- is available when using Oracle Client version 19.11 and higher.
19- #) Added support for supplying hints to SODA operations. A new non-terminal
20- method :meth: `~SodaOperation.hint() ` was added and a `hint ` parameter was
21- added to the methods :meth: `SodaCollection.insertOneAndGet() `,
22- :meth: `SodaCollection.insertManyAndGet() ` and
23- :meth: `SodaCollection.saveAndGet() `. All of these require Oracle Client
24- 21.3 or higher (or Oracle Client 19 from 19.11).
16+ #) Threaded mode is now always enabled when creating connection pools with
17+ :meth: `cx_Oracle.SessionPool() `. Any `threaded ` parameter value is ignored.
2518#) Added parameter `stmtcachesize ` to :meth: `cx_Oracle.connect() ` and
2619 :meth: `cx_Oracle.SessionPool() ` in order to permit specifying the size of
2720 the statement cache during the creation of pools and standalone
@@ -31,20 +24,39 @@ Version 8.2 (TBD)
3124 attribute :data: `SessionPool.ping_interval ` was added in order to permit
3225 making adjustments after the pool has been created. In previous cx_Oracle
3326 releases a fixed ping interval of 60 seconds was used.
27+ #) Added parameter `soda_metadata_cache ` to :meth: `cx_Oracle.SessionPool() ` for
28+ :ref: `SODA metadata cache <sodametadatacache >` support. In addition, the
29+ attribute :data: `SessionPool.soda_metadata_cache ` was added in order to
30+ permit making adjustments after the pool has been created. This feature
31+ significantly improves the performance of methods
32+ :meth: `SodaDatabase.createCollection() ` (when not specifying a value for the
33+ metadata parameter) and :meth: `SodaDatabase.openCollection() `. Caching is
34+ available when using Oracle Client version 19.11 and higher.
35+ #) Added support for supplying hints to SODA operations. A new non-terminal
36+ method :meth: `~SodaOperation.hint() ` was added and a `hint ` parameter was
37+ added to the methods :meth: `SodaCollection.insertOneAndGet() `,
38+ :meth: `SodaCollection.insertManyAndGet() ` and
39+ :meth: `SodaCollection.saveAndGet() `. All of these require Oracle Client
40+ 21.3 or higher (or Oracle Client 19 from 19.11).
3441#) Added parameter `bypass_decode ` to :meth: `Cursor.var() ` in order to allow
3542 the `decode ` step to be bypassed when converting data from Oracle Database
3643 into Python strings
3744 (`issue 385 <https://github.com/oracle/python-cx_Oracle/issues/385 >`__).
3845 Initial work was done in `PR 549
3946 <https://github.com/oracle/python-cx_Oracle/pull/549> `__.
40- #) Threaded mode is now always enabled when creating connection pools with
41- :meth: `cx_Oracle.SessionPool() `. Any `threaded ` parameter value is ignored.
47+ #) Enhanced dead connection detection. If an Oracle Database error indicates
48+ that a connection is no longer usable, the error `DPI-1080: connection was
49+ closed by ORA-%d ` is now returned. The `%d ` will be the Oracle error
50+ causing the connection to be closed. Using the connection after this will
51+ give `DPI-1010: not connected `. This behavior also applies for
52+ :data: `Connection.call_timeout ` errors that result in an unusable
53+ connection.
4254#) Eliminated a memory leak when calling :meth: `SodaOperation.filter() ` with a
4355 dictionary.
4456#) The distributed transaction handle assosciated with the connection is now
4557 cleared on commit or rollback (`issue 530
4658 <https://github.com/oracle/python-cx_Oracle/issues/530> `__).
47- #) Added check to ensure that when setting variables or object attributes, the
59+ #) Added a check to ensure that when setting variables or object attributes, the
4860 type of the temporary LOB must match the expected type.
4961#) A small number of parameter, method, and attribute names were updated to
5062 follow the PEP 8 style guide. This brings better consistency to the
@@ -1020,10 +1032,10 @@ Version 6.0 beta 1 (April 2017)
10201032 tagging.
10211033#) Added parameter edition to the :meth: `cx_Oracle.SessionPool ` method.
10221034#) Added support for
1023- `universal rowids <https://github.com/oracle/python-cx_Oracle/blob/master /
1035+ `universal rowids <https://github.com/oracle/python-cx_Oracle/blob/main /
10241036 samples/universal_rowids.py> `__.
10251037#) Added support for `DML Returning of multiple rows
1026- <https://github.com/oracle/python-cx_Oracle/blob/master /samples/
1038+ <https://github.com/oracle/python-cx_Oracle/blob/main /samples/
10271039 dml_returning_multiple_rows.py> `__.
10281040#) Added attributes :attr: `Variable.actualElements ` and
10291041 :attr: `Variable.values ` to variables.
@@ -1053,19 +1065,19 @@ Version 6.0 beta 1 (April 2017)
10531065#) Dropped deprecated parameters action, module and clientinfo from the
10541066 :meth: `cx_Oracle.connect ` method. The appcontext parameter should be used
10551067 instead as shown in this `sample <https://github.com/oracle/
1056- python-cx_Oracle/blob/master /samples/app_context.py> `__.
1068+ python-cx_Oracle/blob/main /samples/app_context.py> `__.
10571069#) Dropped deprecated attribute numbersAsString from
10581070 :ref: `cursor objects <cursorobj >`. Use an output type handler instead as
10591071 shown in this `sample <https://github.com/oracle/python-cx_Oracle/blob/
1060- master /samples/return_numbers_as_decimals.py> `__.
1072+ main /samples/return_numbers_as_decimals.py> `__.
10611073#) Dropped deprecated attributes cqqos and rowids from
10621074 :ref: `subscription objects <subscrobj >`. Use the qos attribute instead as
10631075 shown in this `sample <https://github.com/oracle/python-cx_Oracle/blob/
1064- master /samples/cqn.py> `__.
1076+ main /samples/cqn.py> `__.
10651077#) Dropped deprecated parameters cqqos and rowids from the
10661078 :meth: `Connection.subscribe() ` method. Use the qos parameter instead as
10671079 shown in this `sample <https://github.com/oracle/python-cx_Oracle/blob/
1068- master /samples/cqn.py> `__.
1080+ main /samples/cqn.py> `__.
10691081
10701082
10711083Version 5.3 (March 2017)
0 commit comments