|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +## node-oracledb v2.0.13 Development (DD Mon YYYY) |
| 4 | + |
| 5 | +## node-oracledb v1.13.1 (12 Apr 2017) |
| 6 | + |
| 7 | +- Fix regression with NULL values to PL/SQL procedures with multiple parameters. |
| 8 | + |
| 9 | +## node-oracledb v1.13.0 (15 Mar 2017) |
| 10 | + |
| 11 | +- Added support for fetching BLOBs as Buffers, using `fetchAsBuffer` and `fetchInfo`. |
| 12 | + |
| 13 | +- Improved PL/SQL Index-by array binding error messages based on PR #470 (Hariprasad Kulkarni). |
| 14 | + |
| 15 | +- Fixed several crashes and a memory leak using CLOBs with `fetchAsString`. |
| 16 | + |
| 17 | +- Fixed several issues including a crash using NULLs and empty strings for LOB `BIND_INOUT` binds. |
| 18 | + |
| 19 | +- Automatically clean up sessions in the connection pool when they become unusable after an ORA-56600 occurs. |
| 20 | + |
| 21 | +- Updated NAN dependency from 2.4 to 2.5. |
| 22 | + |
| 23 | +## node-oracledb v1.12.2 (21 Dec 2016) |
| 24 | + |
| 25 | +- Fix memory allocation with Oracle 11g client libraries when querying CLOBs using `fetchAsString` and `fetchInfo`. |
| 26 | + |
| 27 | +## node-oracledb v1.12.1 Development (16 Dec 2016) |
| 28 | + |
| 29 | +- Added support for fetching CLOBs as Strings, using `fetchAsString` and `fetchInfo`. |
| 30 | + |
| 31 | +- Added `BIND_INOUT` support for temporary LOBs. |
| 32 | + |
| 33 | +## node-oracledb v1.12.0 Development (3 Dec 2016) |
| 34 | + |
| 35 | +- Significantly enhanced LOB support: |
| 36 | + - Added `BIND_IN` support for DML |
| 37 | + - Added `BIND_IN`, `BIND_OUT`, `BIND_INOUT` support for PL/SQL |
| 38 | + - Added a `connection.createLob()` method to create temporary LOBs |
| 39 | + - Added a `lob.close()` method |
| 40 | + - Made enhancements to allow binding String or Buffer data as `STRING` or `BUFFER` to LOB database types |
| 41 | + - Writeable LOB Streams now conclude with a 'close' event |
| 42 | + |
| 43 | +- Added a connection pool 'ping' feature controlled with |
| 44 | + `oracledb.poolPingInterval` and a corresponding `createPool()` |
| 45 | + option. This validates pooled connections when they are returned |
| 46 | + from a `getConnection()` call. Values are |
| 47 | + |
| 48 | + - zero: always ping for every pooled `getConnection()` |
| 49 | + - negative: never ping |
| 50 | + - positive: time in seconds the connection must be idle in the pool before `getConnection()` does a ping. Default is 60 seconds |
| 51 | + |
| 52 | + The setting is a no-op when node-oracledb is built with Oracle |
| 53 | + Database 12.2 client libraries, where a new, lower-level OCI feature |
| 54 | + provides an always-on, lightweight connection check. |
| 55 | + |
| 56 | +- Upgraded NAN dependency from 2.3 to 2.4. |
| 57 | + |
| 58 | +- Stated compatibility is now for Node.js 0.12, 4, 6 and 7. |
| 59 | + |
| 60 | +- Fixed return value of the DATE type bound as `BIND_INOUT`. |
| 61 | + |
| 62 | +- Fixed passing NULL values bound as `BIND_INOUT` for several data types. |
| 63 | + |
| 64 | +- Fixed compilation warnings with newer Node.js versions due to V8 deprecations. |
| 65 | + |
| 66 | +- Fixed some Windows and OS X compilation warnings. |
| 67 | + |
| 68 | +- Linted JavaScript files, standardizing code, example and test files. |
| 69 | + |
| 70 | +- Updated various examples and created new ones. |
| 71 | + |
| 72 | +- Updated README.md and api.md introductory examples, based on a patch proposed by [Leigh Schrandt](https://github.com/stealthybox). |
| 73 | + |
| 74 | +- Updated README.md thanks to [Nick Heiner](https://github.com/NickHeiner). |
| 75 | + |
| 76 | +- Updated documentation links to point to the Oracle Database 12.2 documentation. |
| 77 | + |
| 78 | +- Made some internal changes to the DPI layer to avoid name space collisions |
| 79 | + and fix session tagging. These are not visible / exposed through |
| 80 | + node-oracledb. |
| 81 | + |
| 82 | +## node-oracledb v1.11.0 (19 Aug 2016) |
| 83 | + |
| 84 | +- Added a connection pool cache feature allowing pools to have aliases and be more easily used. |
| 85 | + |
| 86 | +- Improved the bootstrap error message when the node-oracledb binary cannot be loaded. |
| 87 | + |
| 88 | +- Fixed memory leaks with `DATE` and `TIMESTAMP` bind values. |
| 89 | + |
| 90 | +- Fixed external authentication which broke in 1.10. |
| 91 | + |
| 92 | +- Fixed metadata `scale` and `precision` values on AIX. |
| 93 | + |
| 94 | +- Made an internal change to replace `std::string.data()` with `std::string.c_str()`. |
| 95 | + |
| 96 | +- Made an internal change to remove an unused parameter from the `NJS_SET_EXCEPTION` macro. |
| 97 | + |
| 98 | +## node-oracledb v1.10.1 (21 Jul 2016) |
| 99 | + |
| 100 | +- Fixed a bug that prevented a null value being passed from JavaScript into an IN OUT bind. |
| 101 | + |
| 102 | +- Fixed a memory leak introduced in 1.10 with REF CURSORs. |
| 103 | + |
| 104 | +- Fixed a memory leak in error handling paths when using REF CURSORs. |
| 105 | + |
| 106 | +- Made an internal change for queries selecting unsupported column types allowing them to report an error earlier. |
| 107 | + |
| 108 | +- Made an internal change to use `std::string&` for string lengths. |
| 109 | + |
| 110 | +- Fixed a compilation warning on Windows. |
| 111 | + |
| 112 | +- Added a mocha configuration file for the test suite. |
| 113 | + |
| 114 | +## node-oracledb v1.10.0 (8 Jul 2016) |
| 115 | + |
| 116 | +- Enhanced query and REF CURSOR metadata is available when a new |
| 117 | + `oracledb.extendedMetaData` or `execute()` option `extendedMetaData` |
| 118 | + property is `true`. (Leonardo Olmi). |
| 119 | + |
| 120 | +- Fixed an issue preventing the garbage collector cleaning up when a |
| 121 | + query with LOBs is executed but LOB data isn't actually streamed. |
| 122 | + |
| 123 | +- Fixed a bug where an error event could have been emitted on a |
| 124 | + QueryStream instance prior to the underlying ResultSet having been |
| 125 | + closed. This would cause problems if the user tried to close the |
| 126 | + connection in the error event handler as the ResultSet could have |
| 127 | + prevented it. |
| 128 | + |
| 129 | +- Fixed a bug where the public `close()` method was invoked on the |
| 130 | + ResultSet instance that underlies the QueryStream instance if an |
| 131 | + error occurred during a call to `getRows()`. The public method would |
| 132 | + have thrown an error had the QueryStream instance been created from |
| 133 | + a ResultSet instance via the `toQueryStream()` method. Now the |
| 134 | + underlying C++ layer's `close()` method is invoked directly. |
| 135 | + |
| 136 | +- Updated `Pool._logStats()` to throw an error instead of printing to |
| 137 | + the console if the pool is not valid. |
| 138 | + |
| 139 | +- Report an error earlier when a named bind object is used in a |
| 140 | + bind-by-position context. A new error NJS-044 is returned. |
| 141 | + Previously errors like ORA-06502 were given. |
| 142 | + |
| 143 | +- Added GitHub Issue and Pull Request templates. |
| 144 | + |
| 145 | +- Some enhancements were made to the underlying DPI data access layer. |
| 146 | + **These are not exposed to node-oracledb users.** |
| 147 | + |
| 148 | + - Allow <code>SYSDBA</code> connections |
| 149 | + - Allow session tagging |
| 150 | + - Allow the character set and national character set to be specified via parameters to the DPI layer. |
| 151 | + - Support heterogeneous pools (in addition to existing homogeneous pools) |
| 152 | + |
3 | 153 | ## node-oracledb v1.9.3 (24 May 2016)
|
4 | 154 |
|
5 | 155 | - Fix error with `OCI_ERROR_MAXMSG_SIZE2` when building with Oracle client 11.2.0.1 and 11.2.0.2.
|
|
0 commit comments