|
3 | 3 | cx_Oracle Release Notes |
4 | 4 | ======================= |
5 | 5 |
|
| 6 | +7.x releases |
| 7 | +############ |
| 8 | + |
| 9 | +.. _releasenotes70: |
| 10 | + |
| 11 | +Version 7.0 (September 2018) |
| 12 | +---------------------------- |
| 13 | + |
| 14 | +#) Update to `ODPI-C 3.0 |
| 15 | + <https://oracle.github.io/odpi/doc/releasenotes.html# |
| 16 | + version-3-0-0-september-13-2018>`__. |
| 17 | +#) Added support for Oracle Client 18 libraries. |
| 18 | +#) Added support for SODA (as preview). See :ref:`SODA Database <sodadb>`, |
| 19 | + :ref:`SODA Collection <sodacoll>` and :ref:`SODA Document <sodadoc>` for |
| 20 | + more information. |
| 21 | +#) Added support for call timeouts available in Oracle Client 18.1 and |
| 22 | + higher. See :attr:`Connection.callTimeout`. |
| 23 | +#) Added support for getting the contents of a SQL collection object as a |
| 24 | + dictionary, where the keys are the indices of the collection and the values |
| 25 | + are the elements of the collection. See function :meth:`Object.asdict()`. |
| 26 | +#) Added support for closing a session pool via the function |
| 27 | + :meth:`SessionPool.close()`. Once closed, further attempts to use any |
| 28 | + connection that was acquired from the pool will result in the error |
| 29 | + "DPI-1010: not connected". |
| 30 | +#) Added support for setting a LOB attribute of an object with a string or |
| 31 | + bytes (instead of requiring a temporary LOB to be created). |
| 32 | +#) Added support for the packed decimal type used by object attributes with |
| 33 | + historical types DECIMAL and NUMERIC |
| 34 | + (`issue 212 <https://github.com/oracle/python-cx_Oracle/issues/212>`__). |
| 35 | +#) On Windows, first attempt to load oci.dll from the same directory as |
| 36 | + the cx_Oracle module. |
| 37 | +#) SQL objects that are created or fetched from the database are now tracked |
| 38 | + and marked unusable when a connection is closed. This was done in order |
| 39 | + to avoid a segfault under certain circumstances. |
| 40 | +#) Re-enabled pool pinging functionality for Oracle Client 12.2 and higher |
| 41 | + to handle classes of connection errors such as resource profile limits. |
| 42 | +#) Improved error messages when the Oracle Client or Oracle Database need to |
| 43 | + be at a minimum version in order to support a particular feature. |
| 44 | +#) When a connection is used as a context manager, the connection is now |
| 45 | + closed when the block ends. Attempts to set |
| 46 | + ``cx_Oracle.__future__.ctx_mgr_close`` are now ignored. |
| 47 | +#) When a DML returning statement is executed, variables bound to it will |
| 48 | + return an array when calling :meth:`Variable.getvalue()`. Attempts to set |
| 49 | + ``cx_Oracle.__future__.dml_ret_array_val`` are now ignored. |
| 50 | +#) Support for Python 3.4 has been dropped. |
| 51 | +#) Added additional test cases. |
| 52 | +#) Improved documentation. |
| 53 | + |
| 54 | + |
| 55 | + |
6 | 56 | 6.x releases |
7 | 57 | ############ |
8 | 58 |
|
|
0 commit comments