5
5
cx_Oracle Release Notes
6
6
=======================
7
7
8
+ For any deprecations, see :ref: `Deprecations <deprecations >`.
9
+
8
10
Version 8.2 (TBD)
9
11
-----------------
10
12
11
13
#) Updated embedded ODPI-C to `version 4.2.0
12
14
<https://oracle.github.io/odpi/doc/releasenotes.html#
13
15
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.
25
18
#) Added parameter `stmtcachesize ` to :meth: `cx_Oracle.connect() ` and
26
19
:meth: `cx_Oracle.SessionPool() ` in order to permit specifying the size of
27
20
the statement cache during the creation of pools and standalone
@@ -31,20 +24,39 @@ Version 8.2 (TBD)
31
24
attribute :data: `SessionPool.ping_interval ` was added in order to permit
32
25
making adjustments after the pool has been created. In previous cx_Oracle
33
26
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).
34
41
#) Added parameter `bypass_decode ` to :meth: `Cursor.var() ` in order to allow
35
42
the `decode ` step to be bypassed when converting data from Oracle Database
36
43
into Python strings
37
44
(`issue 385 <https://github.com/oracle/python-cx_Oracle/issues/385 >`__).
38
45
Initial work was done in `PR 549
39
46
<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.
42
54
#) Eliminated a memory leak when calling :meth: `SodaOperation.filter() ` with a
43
55
dictionary.
44
56
#) The distributed transaction handle assosciated with the connection is now
45
57
cleared on commit or rollback (`issue 530
46
58
<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
48
60
type of the temporary LOB must match the expected type.
49
61
#) A small number of parameter, method, and attribute names were updated to
50
62
follow the PEP 8 style guide. This brings better consistency to the
@@ -1020,10 +1032,10 @@ Version 6.0 beta 1 (April 2017)
1020
1032
tagging.
1021
1033
#) Added parameter edition to the :meth: `cx_Oracle.SessionPool ` method.
1022
1034
#) 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 /
1024
1036
samples/universal_rowids.py> `__.
1025
1037
#) 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/
1027
1039
dml_returning_multiple_rows.py> `__.
1028
1040
#) Added attributes :attr: `Variable.actualElements ` and
1029
1041
:attr: `Variable.values ` to variables.
@@ -1053,19 +1065,19 @@ Version 6.0 beta 1 (April 2017)
1053
1065
#) Dropped deprecated parameters action, module and clientinfo from the
1054
1066
:meth: `cx_Oracle.connect ` method. The appcontext parameter should be used
1055
1067
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> `__.
1057
1069
#) Dropped deprecated attribute numbersAsString from
1058
1070
:ref: `cursor objects <cursorobj >`. Use an output type handler instead as
1059
1071
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> `__.
1061
1073
#) Dropped deprecated attributes cqqos and rowids from
1062
1074
:ref: `subscription objects <subscrobj >`. Use the qos attribute instead as
1063
1075
shown in this `sample <https://github.com/oracle/python-cx_Oracle/blob/
1064
- master /samples/cqn.py> `__.
1076
+ main /samples/cqn.py> `__.
1065
1077
#) Dropped deprecated parameters cqqos and rowids from the
1066
1078
:meth: `Connection.subscribe() ` method. Use the qos parameter instead as
1067
1079
shown in this `sample <https://github.com/oracle/python-cx_Oracle/blob/
1068
- master /samples/cqn.py> `__.
1080
+ main /samples/cqn.py> `__.
1069
1081
1070
1082
1071
1083
Version 5.3 (March 2017)
0 commit comments