Skip to content

Commit fb0d751

Browse files
Preparing to release cx_Oracle 6.2.
1 parent 1fd7940 commit fb0d751

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed

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 = '6.2'
4444
# The full version, including alpha/beta/rc tags.
45-
release = '6.2.0-dev'
45+
release = '6.2.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/releasenotes.rst

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,52 @@ cx_Oracle Release Notes
88

99
.. _releasenotes60:
1010

11+
Version 6.2 (March 2018)
12+
------------------------
13+
14+
#) Update to `ODPI-C 2.2.1
15+
<https://oracle.github.io/odpi/doc/releasenotes.html#
16+
version-2-2-1-march-5-2018>`__.
17+
18+
- eliminate error "DPI-1054: connection cannot be closed when open
19+
statements or LOBs exist" (`issue 138
20+
<https://github.com/oracle/python-cx_Oracle/issues/138>`__).
21+
- avoid a round trip to the database when a connection is released back to
22+
the pool by preventing a rollback from being called when no transaction
23+
is in progress.
24+
- improve error message when the use of bind variables is attempted with
25+
DLL statements, which is not supported by Oracle.
26+
- if an Oracle object is retrieved from an attribute of another Oracle
27+
object or a collection, prevent the "owner" from being destroyed until
28+
the object that was retrieved has itself been destroyed.
29+
- correct handling of boundary numbers 1e126 and -1e126
30+
- eliminate memory leak when calling :meth:`Connection.enq()` and
31+
:meth:`Connection.deq()`
32+
- eliminate memory leak when setting NCHAR and NVARCHAR attributes of
33+
objects.
34+
- eliminate memory leak when fetching collection objects from the database.
35+
36+
#) Added support for creating a temporary CLOB, BLOB or NCLOB via the method
37+
:meth:`Connection.createlob()`.
38+
#) Added support for binding a LOB value directly to a cursor.
39+
#) Added support for closing the connection when reaching the end of a
40+
``with`` code block controlled by the connection as a context manager, but
41+
in a backwards compatible way
42+
(https://github.com/oracle/python-cx_Oracle/issues/113). See
43+
:data:`cx_Oracle.__future__` for more information.
44+
#) Reorganized code to simplify continued maintenance and consolidate
45+
transformations to/from Python objects.
46+
#) Ensure that the number of elements in the array is not lost when the
47+
buffer size is increased to accommodate larger strings.
48+
#) Corrected support in Python 3.x for cursor.parse() by permitting a string
49+
to be passed, instead of incorrectly requiring a bytes object.
50+
#) Eliminate reference leak with LOBs acquired from attributes of objects or
51+
elements of collections.
52+
#) Eliminate reference leak when extending an Oracle collection.
53+
#) Documentation improvements.
54+
#) Added test cases to the test suite.
55+
56+
1157
Version 6.1 (December 2017)
1258
---------------------------
1359

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 = "6.2-dev"
23+
BUILD_VERSION = "6.2"
2424

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

0 commit comments

Comments
 (0)