Preparing to release cx_Oracle 7.0.

This commit is contained in:
Anthony Tuininga 2018-09-13 13:38:37 -06:00
parent 28d6166bb6
commit 4d368ae980
8 changed files with 62 additions and 11 deletions

View File

@ -1,4 +1,4 @@
# cx_Oracle version 6.4
# cx_Oracle version 7.0
cx_Oracle is a Python extension module that enables access to Oracle
Database. It conforms to the [Python database API 2.0
@ -7,11 +7,11 @@ of exclusions. See the
[homepage](https://oracle.github.io/python-cx_Oracle/index.html) for a
feature list.
cx_Oracle 6 has been tested with Python version 2.7, and with versions
3.4 and higher. You can use cx_Oracle with Oracle 11.2, 12.1 and 12.2
client libraries. Oracle's standard client-server version
cx_Oracle 7 has been tested with Python version 2.7, and with versions
3.5 and higher. You can use cx_Oracle with Oracle 11.2 and higher client
libraries (including Oracle 18.3). Oracle's standard client-server version
interoperability allows connection to both older and newer databases,
for example Oracle 12.2 client libraries can connect to Oracle
for example Oracle 18.3 client libraries can connect to Oracle
Database 11.2.
## Installation

View File

@ -42,7 +42,7 @@ author = 'Oracle'
# The short X.Y version.
version = '7.0'
# The full version, including alpha/beta/rc tags.
release = '7.0.0-dev'
release = '7.0.0'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:

View File

@ -4,7 +4,8 @@ Welcome to cx_Oracle's documentation!
**cx_Oracle** is a module that enables access to Oracle Database and conforms
to the Python database API specification. This module is currently tested
against Oracle Client 11.2, 12.1 and 12.2 and Python 2.7, 3.4, 3.5 and 3.6.
against Oracle Client 11.2, 12.1, 12.2 and 18.3 and Python 2.7, 3.5, 3.6 and
3.7.
**cx_Oracle** is distributed under an open-source :ref:`license <license>`
(the BSD license).

View File

@ -570,7 +570,7 @@ which the following commands should be run::
Upgrading from cx_Oracle 6
==========================
Review the `releasenotes
Review the `release notes
<http://cx-oracle.readthedocs.io/en/latest/releasenotes.html>`__ for
deprecations and modify any affected code.

View File

@ -8,7 +8,7 @@ License
.. centered:: **LICENSE AGREEMENT FOR CX_ORACLE**
Copyright |copy| 2016-2018, Oracle and/or its affiliates. All rights reserved.
Copyright |copy| 2016, 2018, Oracle and/or its affiliates. All rights reserved.
Copyright |copy| 2007-2015, Anthony Tuininga. All rights reserved.

View File

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

2
odpi

@ -1 +1 @@
Subproject commit b201849a71d5d8b71b0a48dab3b4c7c75175df76
Subproject commit 9902a60068042e7409b7806b5e73fe7e66200cae

View File

@ -20,7 +20,7 @@ except:
from distutils.extension import Extension
# define build constants
BUILD_VERSION = "7.0.0-dev"
BUILD_VERSION = "7.0.0"
# setup extra link and compile args
extraLinkArgs = []