Skip to content

Commit 4d368ae

Browse files
Preparing to release cx_Oracle 7.0.
1 parent 28d6166 commit 4d368ae

File tree

8 files changed

+62
-11
lines changed

8 files changed

+62
-11
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# cx_Oracle version 6.4
1+
# cx_Oracle version 7.0
22

33
cx_Oracle is a Python extension module that enables access to Oracle
44
Database. It conforms to the [Python database API 2.0
@@ -7,11 +7,11 @@ of exclusions. See the
77
[homepage](https://oracle.github.io/python-cx_Oracle/index.html) for a
88
feature list.
99

10-
cx_Oracle 6 has been tested with Python version 2.7, and with versions
11-
3.4 and higher. You can use cx_Oracle with Oracle 11.2, 12.1 and 12.2
12-
client libraries. Oracle's standard client-server version
10+
cx_Oracle 7 has been tested with Python version 2.7, and with versions
11+
3.5 and higher. You can use cx_Oracle with Oracle 11.2 and higher client
12+
libraries (including Oracle 18.3). Oracle's standard client-server version
1313
interoperability allows connection to both older and newer databases,
14-
for example Oracle 12.2 client libraries can connect to Oracle
14+
for example Oracle 18.3 client libraries can connect to Oracle
1515
Database 11.2.
1616

1717
## Installation

doc/src/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# The short X.Y version.
4343
version = '7.0'
4444
# The full version, including alpha/beta/rc tags.
45-
release = '7.0.0-dev'
45+
release = '7.0.0'
4646

4747
# There are two options for replacing |today|: either, you set today to some
4848
# non-false value, then it is used:

doc/src/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ Welcome to cx_Oracle's documentation!
44

55
**cx_Oracle** is a module that enables access to Oracle Database and conforms
66
to the Python database API specification. This module is currently tested
7-
against Oracle Client 11.2, 12.1 and 12.2 and Python 2.7, 3.4, 3.5 and 3.6.
7+
against Oracle Client 11.2, 12.1, 12.2 and 18.3 and Python 2.7, 3.5, 3.6 and
8+
3.7.
89

910
**cx_Oracle** is distributed under an open-source :ref:`license <license>`
1011
(the BSD license).

doc/src/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ which the following commands should be run::
570570
Upgrading from cx_Oracle 6
571571
==========================
572572

573-
Review the `releasenotes
573+
Review the `release notes
574574
<http://cx-oracle.readthedocs.io/en/latest/releasenotes.html>`__ for
575575
deprecations and modify any affected code.
576576

doc/src/license.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ License
88

99
.. centered:: **LICENSE AGREEMENT FOR CX_ORACLE**
1010

11-
Copyright |copy| 2016-2018, Oracle and/or its affiliates. All rights reserved.
11+
Copyright |copy| 2016, 2018, Oracle and/or its affiliates. All rights reserved.
1212

1313
Copyright |copy| 2007-2015, Anthony Tuininga. All rights reserved.
1414

doc/src/releasenotes.rst

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,56 @@
33
cx_Oracle Release Notes
44
=======================
55

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+
656
6.x releases
757
############
858

odpi

Submodule odpi updated 117 files

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from distutils.extension import Extension
2121

2222
# define build constants
23-
BUILD_VERSION = "7.0.0-dev"
23+
BUILD_VERSION = "7.0.0"
2424

2525
# setup extra link and compile args
2626
extraLinkArgs = []

0 commit comments

Comments
 (0)