@@ -8,6 +8,75 @@ cx_Oracle Release Notes
88
99.. _releasenotes60 :
1010
11+ Version 6.1 (December 2017)
12+ ---------------------------
13+
14+ #) Update to `ODPI-C 2.1
15+ <https://oracle.github.io/odpi/doc/releasenotes.html#
16+ version-2-1-december-12-2017> `__.
17+
18+ - Support was added for accessing sharded databases via sharding keys (new
19+ in Oracle 12.2). NOTE: the underlying OCI library has a bug when using
20+ standalone connections. There is a small memory leak proportional to the
21+ number of connections created/dropped. There is no memory leak when using
22+ session pools, which is recommended.
23+ - Added options for authentication with SYSBACKUP, SYSDG, SYSKM and SYSRAC,
24+ as requested (`issue 101
25+ <https://github.com/oracle/python-cx_Oracle/issues/101> `__).
26+ - Attempts to release statements or free LOBs after the connection has been
27+ closed (by, for example, killing the session) are now prevented.
28+ - An error message was added when specifying an edition and a connection
29+ class since this combination is not supported.
30+ - Attempts to close the session for connections created with an external
31+ handle are now prevented.
32+ - Attempting to ping a database earlier than 10g results in ORA-1010:
33+ invalid OCI operation, but that implies a response from the database and
34+ therefore a successful ping, so treat it that way!
35+ (see `<https://github.com/rana/ora/issues/224 >`__ for more information).
36+ - Support was added for converting numeric values in an object type
37+ attribute to integer and text, as requested (`ODPI-C issue 35
38+ <https://github.com/oracle/odpi/issues/35> `__).
39+ - Setting attributes :attr: `DeqOptions.msgId ` and
40+ :attr: `MessageProperties.msgId ` now works as expected.
41+ - The overflow check when using double values (Python floats) as input
42+ to float attributes of objects or elements of collections was removed as
43+ it didn't work anyway and is a well-known issue that cannot be prevented
44+ without removing desired functionality. The developer should ensure that
45+ the source value falls within the limits of floats, understand the
46+ consequent precision loss or use a different data type.
47+ - Variables of string/raw types are restricted to 2 bytes less than 1 GB
48+ (1,073,741,822 bytes), since OCI cannot handle more than that currently.
49+ - Support was added for identifying the id of the transaction which spawned
50+ a subscription message, as requested
51+ (`ODPI-C issue 32 <https://github.com/oracle/odpi/issues/32 >`__).
52+ - Corrected use of subscription port number (`issue 115
53+ <https://github.com/oracle/python-cx_Oracle/issues/115> `__).
54+ - Problems reported with the usage of FormatMessage() on Windows were
55+ addressed (`ODPI-C issue 47
56+ <https://github.com/oracle/odpi/issues/47> `__).
57+ - On Windows, if oci.dll cannot be loaded because it is the wrong
58+ architecture (32-bit vs 64-bit), attempt to find the offending DLL and
59+ include the full path of the DLL in the message, as suggested.
60+ (`ODPI-C issue 49 <https://github.com/oracle/odpi/issues/49 >`__).
61+ - Force OCI prefetch to always use the value 2; the OCI default is 1 but
62+ setting the ODPI-C default to 2 ensures that single row fetches don't
63+ require an extra round trip to determine if there are more rows to fetch;
64+ this change also reduces the potential memory consumption when
65+ fetchArraySize was set to a large value and also avoids performance
66+ issues discovered with larger values of prefetch.
67+
68+ #) Fix build with PyPy 5.9.0-alpha0 in libpython mode
69+ (`PR 54 <https://github.com/oracle/python-cx_Oracle/pull/54 >`__).
70+ #) Ensure that the edition is passed through to the database when a session
71+ pool is created.
72+ #) Corrected handling of Python object references when an invalid keyword
73+ parameter is passed to :meth: `cx_Oracle.SessionPool `.
74+ #) Corrected handling of :attr: `Connection.handle ` and the handle parameter
75+ to :meth: `cx_Oracle.connect ` on Windows.
76+ #) Documentation improvements.
77+ #) Added test cases to the test suite.
78+
79+
1180Version 6.0.3 (November 2017)
1281-----------------------------
1382
0 commit comments