Skip to content

Commit 9902a60

Browse files
Preparing to release ODPI-C 3.0.
1 parent ba83d65 commit 9902a60

File tree

3 files changed

+50
-2
lines changed

3 files changed

+50
-2
lines changed

doc/src/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
version = '3.0'
3434

3535
# the full version, including alpha/beta/rc tags
36-
release = '3.0.0-dev'
36+
release = '3.0.0'
3737

3838
# the theme to use for HTML pages
3939
html_theme = 'oracle'

doc/src/releasenotes.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
11
ODPI-C Release notes
22
====================
33

4+
Version 3.0.0 (September 13, 2018)
5+
----------------------------------
6+
7+
#) Added support for Oracle Client 18 libraries.
8+
#) Added support for SODA (as preview). See
9+
:ref:`SODA Database<dpiSodaDbFunctions>`,
10+
:ref:`SODA Collection<dpiSodaCollFunctions>` and
11+
:ref:`SODA Document<dpiSodaDocFunctions>` for more information.
12+
#) Added support for call timeouts available in Oracle Client 18.1 and higher.
13+
See functions :func:`dpiConn_setCallTimeout()` and
14+
:func:`dpiConn_getCallTimeout()`.
15+
#) Added support for setting a LOB attribute of an object with string/bytes
16+
using the function :func:`dpiObject_setAttributeValue()`.
17+
#) Added support for the packed decimal type used by object attributes with
18+
historical types DECIMAL and NUMERIC
19+
(`cx_Oracle issue 212
20+
<https://github.com/oracle/python-cx_Oracle/issues/212>`__).
21+
#) On Windows, first attempt to load oci.dll from the same directory as the
22+
module that contains ODPI-C.
23+
#) SQL Objects that are created or fetched from the database are now tracked
24+
and marked unusable when a connection is closed. This was done in order to
25+
avoid a segfault in some circumstances.
26+
#) Improved support for closing pools by ensuring that once a pool has closed,
27+
further attempts to use connections acquired from that pool will fail with
28+
error "DPI-1010: not connected".
29+
#) Re-enabled pool pinging functionality for Oracle Client 12.2 and higher
30+
to handle classes of connection errors such as resource profile limits.
31+
#) Improved error messages when the Oracle Client or Oracle Database need to
32+
be at a minimum version in order to support a particular feature.
33+
#) Use plain integers instead of enumerations in order to simplify code and
34+
reduce the requirement for casts. Typedefs have been included so that code
35+
does not need to be changed.
36+
#) Eliminated potential buffer overrun
37+
(`issue 69 <https://github.com/oracle/odpi/issues/69>`__).
38+
#) In the Makefile for non-Windows platforms, the version information for
39+
ODPI-C is acquired directly from include/dpi.h as suggested
40+
(`issue 66 <https://github.com/oracle/odpi/issues/66>`__).
41+
#) Removed function dpiConn_newSubscription(). Use function
42+
:func:`dpiConn_subscribe()` instead.
43+
#) Removed function dpiLob_flushBuffer(). This function never worked anyway.
44+
#) Removed function dpiSubscr_close(). Use function
45+
:func:`dpiConn_unsubscribe()` instead.
46+
#) Removed function dpiVar_getData(). Use function
47+
:func:`dpiVar_getReturnedData()` instead.
48+
#) Added additional test cases.
49+
#) Improved documentation.
50+
51+
452
Version 2.4.2 (July 9, 2018)
553
----------------------------
654

include/dpi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
#define DPI_MAJOR_VERSION 3
4747
#define DPI_MINOR_VERSION 0
4848
#define DPI_PATCH_LEVEL 0
49-
#define DPI_VERSION_SUFFIX "-dev"
49+
#define DPI_VERSION_SUFFIX
5050

5151
#define DPI_STR_HELPER(x) #x
5252
#define DPI_STR(x) DPI_STR_HELPER(x)

0 commit comments

Comments
 (0)