Skip to content

Commit bc1f7e6

Browse files
Preparing to release cx_Oracle 6.4.
1 parent 77b853d commit bc1f7e6

File tree

2 files changed

+68
-1
lines changed

2 files changed

+68
-1
lines changed

Diff for: doc/src/releasenotes.rst

+67
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,73 @@ cx_Oracle Release Notes
88

99
.. _releasenotes60:
1010

11+
Version 6.4 (July 2018)
12+
-----------------------
13+
14+
#) Update to `ODPI-C 2.4.1
15+
<https://oracle.github.io/odpi/doc/releasenotes.html#
16+
version-2-4-1-july-2-2018>`__.
17+
18+
- Added support for grouping subscriptions. See parameters groupingClass,
19+
groupingValue and groupingType to function
20+
:meth:`Connection.subscribe()`.
21+
- Added support for specifying the IP address a subscription should use
22+
instead of having the Oracle Client library determine the IP address on
23+
its own. See parameter ipAddress to function
24+
:meth:`Connection.subscribe()`.
25+
- Added support for subscribing to notifications when messages are
26+
available to dequeue in an AQ queue. The new constant
27+
:data:`cx_Oracle.SUBSCR_NAMESPACE_AQ` should be passed to the namespace
28+
parameter of function :meth:`Connection.subscribe()` in order to get this
29+
functionality. Attributes :attr:`Message.queueName` and
30+
:attr:`Message.consumerName` will be populated in notification messages
31+
that are received when this namespace is used.
32+
- Added attribute :attr:`Message.registered` to let the notification
33+
callback know when the subscription that generated the notification is no
34+
longer registered with the database.
35+
- Added support for timed waits when acquiring a session from a session
36+
pool. Use the new constant :data:`cx_Oracle.SPOOL_ATTRVAL_TIMEDWAIT` in
37+
the parameter getmode to function :meth:`cx_Oracle.SessionPool` along
38+
with the new parameter waitTimeout.
39+
- Added support for specifying the timeout and maximum lifetime session for
40+
session pools when they are created using function
41+
:meth:`cx_Oracle.SessionPool`. Previously the pool had to be created
42+
before these values could be changed.
43+
- Avoid memory leak when dequeuing from an empty queue.
44+
- Ensure that the row count for queries is reset to zero when the statement
45+
is executed
46+
(`issue 193 <https://github.com/oracle/python-cx_Oracle/issues/193>`__).
47+
- If the statement should be deleted from the statement cache, first check
48+
to see that there is a statement cache currently being used; otherwise,
49+
the error "ORA-24300: bad value for mode" will be raised under certain
50+
conditions.
51+
52+
#) Added support for using the cursor as a context manager
53+
(`issue 190 <https://github.com/oracle/python-cx_Oracle/issues/190>`__).
54+
#) Added support for specifying the "errors" parameter to the decode() that
55+
takes place internally when fetching strings from the database
56+
(`issue 162 <https://github.com/oracle/python-cx_Oracle/issues/162>`__).
57+
#) Added support for specifying an integer for the parameters argument to
58+
:meth:`Cursor.executemany()`. This allows for batch execution when no
59+
parameters are required or when parameters have previously been bound. This
60+
replaces Cursor.executemanyprepared() (which is now deprecated and will be
61+
removed in cx_Oracle 7).
62+
#) Adjusted the binding of booleans so that outside of PL/SQL they are bound
63+
as integers
64+
(`issue 181 <https://github.com/oracle/python-cx_Oracle/issues/181>`__).
65+
#) Added support for binding decimal.Decimal values to cx_Oracle.NATIVE_FLOAT
66+
as requested
67+
(`issue 184 <https://github.com/oracle/python-cx_Oracle/issues/184>`__).
68+
#) Added checks on passing invalid type parameters to methods
69+
:meth:`Cursor.arrayvar()`, :meth:`Cursor.callfunc()` and
70+
:meth:`Cursor.setinputsizes()`.
71+
#) Corrected handling of cursors and rowids in DML Returning statements.
72+
#) Added sample from David Lapp demonstrating the use of GeoPandas with
73+
SDO_GEOMETRY and a sample for demonstrating the use of REF cursors.
74+
#) Adjusted samples and documentation for clarity.
75+
#) Added additional test cases.
76+
77+
1178
Version 6.3.1 (May 2018)
1279
------------------------
1380

0 commit comments

Comments
 (0)