Skip to content

Commit

Permalink
Prepare for release 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
cjbj committed Jul 8, 2016
1 parent cbd7c29 commit 801f6b7
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 5 deletions.
39 changes: 39 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,44 @@
# Change Log

## node-oracledb v1.10.0 (8 Jul 2016)

- Enhanced query and REF CURSOR metadata is available when a new
`oracledb.extendedMetaData` or `execute()` option `extendedMetaData`
property is `true`. (Leonardo Olmi).

- Fixed an issue preventing the garbage collector cleaning up when a
query with LOBs is executed but LOB data isn't actually streamed.

- Fixed a bug where an error event could have been emitted on a
QueryStream instance prior to the underlying ResultSet having been
closed. This would cause problems if the user tried to close the
connection in the error event handler as the ResultSet could have
prevented it.

- Fixed a bug where the public `close()` method was invoked on the
ResultSet instance that underlies the QueryStream instance if an
error occurred during a call to `getRows()`. The public method would
have thrown an error had the QueryStream instance been created from
a ResultSet instance via the `toQueryStream()` method. Now the
underlying C++ layer's `close()` method is invoked directly.

- Updated `Pool._logStats()` to throw an error instead of printing to
the console if the pool is not valid.

- Report an error earlier when a named bind object is used in a
bind-by-position context. A new error NJS-044 is returned.
Previously errors like ORA-06502 were given.

- Added GitHub Issue and Pull Request templates.

- Some enhancements were made to the underlying DPI data access layer.
**These are not exposed to node-oracledb users.**

- Allow <code>SYSDBA</code> connections
- Allow session tagging
- Allow the character set and national character set to be specified via parameters to the DPI layer.
- Support heterogeneous pools (in addition to existing homogeneous pools)

## node-oracledb v1.9.3 (24 May 2016)

- Fix error with `OCI_ERROR_MAXMSG_SIZE2` when building with Oracle client 11.2.0.1 and 11.2.0.2.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# node-oracledb version 1.9
# node-oracledb version 1.10

## <a name="about"></a> About node-oracledb

Expand Down
2 changes: 1 addition & 1 deletion doc/api.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# node-oracledb 1.9: Documentation for the Oracle Database Node.js Add-on
# node-oracledb 1.10: Documentation for the Oracle Database Node.js Add-on

*Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.*

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "oracledb",
"version": "1.9.3",
"version": "1.10.0",
"description": "Oracle Database driver by Oracle Corp.",
"license": "Apache-2.0",
"homepage": "http://www.oracle.com/technetwork/database/database-technologies/scripting-languages/node_js/",
Expand Down
4 changes: 2 additions & 2 deletions src/njs/src/njsOracle.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ using namespace v8;

/* Keep the version in sync with package.json */
#define NJS_NODE_ORACLEDB_MAJOR 1
#define NJS_NODE_ORACLEDB_MINOR 9
#define NJS_NODE_ORACLEDB_PATCH 3
#define NJS_NODE_ORACLEDB_MINOR 10
#define NJS_NODE_ORACLEDB_PATCH 0

/* Used for Oracledb.version */
#define NJS_NODE_ORACLEDB_VERSION ( (NJS_NODE_ORACLEDB_MAJOR * 10000) + \
Expand Down

0 comments on commit 801f6b7

Please sign in to comment.