|
1 | 1 | # Change Log
|
2 | 2 |
|
| 3 | +## node-oracledb v1.10.1 (21 Jul 2016) |
| 4 | + |
| 5 | +- Fixed a bug that prevented a null value being passed from JavaScript into an IN OUT bind. |
| 6 | + |
| 7 | +- Fixed a memory leak introduced in 1.10 with REF CURSORs. |
| 8 | + |
| 9 | +- Fixed a memory leak in error handling paths when using REF CURSORs. |
| 10 | + |
| 11 | +- Made an internal change for queries selecting unsupported column types allowing them to report an error earlier. |
| 12 | + |
| 13 | +- Made an internal change to use std::string& for string lengths. |
| 14 | + |
| 15 | +- Fixed a compilation warning on Windows. |
| 16 | + |
| 17 | +- Added a mocha configuration file for the test suite. |
| 18 | + |
| 19 | +## node-oracledb v1.10.0 (8 Jul 2016) |
| 20 | + |
| 21 | +- Enhanced query and REF CURSOR metadata is available when a new |
| 22 | + `oracledb.extendedMetaData` or `execute()` option `extendedMetaData` |
| 23 | + property is `true`. (Leonardo Olmi). |
| 24 | + |
| 25 | +- Fixed an issue preventing the garbage collector cleaning up when a |
| 26 | + query with LOBs is executed but LOB data isn't actually streamed. |
| 27 | + |
| 28 | +- Fixed a bug where an error event could have been emitted on a |
| 29 | + QueryStream instance prior to the underlying ResultSet having been |
| 30 | + closed. This would cause problems if the user tried to close the |
| 31 | + connection in the error event handler as the ResultSet could have |
| 32 | + prevented it. |
| 33 | + |
| 34 | +- Fixed a bug where the public `close()` method was invoked on the |
| 35 | + ResultSet instance that underlies the QueryStream instance if an |
| 36 | + error occurred during a call to `getRows()`. The public method would |
| 37 | + have thrown an error had the QueryStream instance been created from |
| 38 | + a ResultSet instance via the `toQueryStream()` method. Now the |
| 39 | + underlying C++ layer's `close()` method is invoked directly. |
| 40 | + |
| 41 | +- Updated `Pool._logStats()` to throw an error instead of printing to |
| 42 | + the console if the pool is not valid. |
| 43 | + |
| 44 | +- Report an error earlier when a named bind object is used in a |
| 45 | + bind-by-position context. A new error NJS-044 is returned. |
| 46 | + Previously errors like ORA-06502 were given. |
| 47 | + |
| 48 | +- Added GitHub Issue and Pull Request templates. |
| 49 | + |
| 50 | +- Some enhancements were made to the underlying DPI data access layer. |
| 51 | + **These are not exposed to node-oracledb users.** |
| 52 | + |
| 53 | + - Allow <code>SYSDBA</code> connections |
| 54 | + - Allow session tagging |
| 55 | + - Allow the character set and national character set to be specified via parameters to the DPI layer. |
| 56 | + - Support heterogeneous pools (in addition to existing homogeneous pools) |
| 57 | + |
| 58 | +## node-oracledb v1.9.3 (24 May 2016) |
| 59 | + |
| 60 | +- Fix error with `OCI_ERROR_MAXMSG_SIZE2` when building with Oracle client 11.2.0.1 and 11.2.0.2. |
| 61 | + |
| 62 | +## node-oracledb v1.9.2 (23 May 2016) |
| 63 | + |
| 64 | +- Fix `results.metaData` for queries with `{resultSet: true}`. |
| 65 | + |
| 66 | +## node-oracledb v1.9.1 (18 May 2016) |
| 67 | + |
| 68 | +- Upgraded to NAN 2.3 for Node 6 support. |
| 69 | + |
| 70 | +- Added a persistent reference to JavaScript objects during Async |
| 71 | + operations to prevent crashes due to premature garbage collection. |
| 72 | + |
| 73 | +- Added a persistent reference to the internal Lob buffer to prevent |
| 74 | + premature garbage collection. |
| 75 | + |
| 76 | +- Fixed memory leaks when using ResultSets. |
| 77 | + |
| 78 | +- Fixed memory leak with the Pool queue timer map. |
| 79 | + |
| 80 | +- Fixed memory release logic when querying LOBs and an error occurs. |
| 81 | + |
| 82 | +- Improved some null pointer checking. |
| 83 | + |
| 84 | +- Altered some node-oracledb NJS-xyz error message text for consistency. |
| 85 | + |
| 86 | +- Improved validation for `fetchInfo` usage. |
| 87 | + |
| 88 | +- Increased the internal buffer size for Oracle Database error messages. |
| 89 | + |
| 90 | +- Call `pause()` internally when closing a query Stream with `_close()`. |
| 91 | + |
| 92 | +- Fixed a symbol redefinition warning for `DATA_BLOB` when compiling on Windows. |
| 93 | + |
| 94 | +- The test suite is no longer installed with `npm install oracledb`. |
| 95 | + The tests remain available in GitHub. |
| 96 | + |
| 97 | +## node-oracledb v1.9.0 Development (19 Apr 2016) |
| 98 | + |
| 99 | +- Added Promise support. All asynchronous functions can now return |
| 100 | + promises. By default the standard Promise library is used for Node |
| 101 | + 0.12, 4 and 5. This can be overridden. |
| 102 | + |
| 103 | +- Added a `toQueryStream()` method for ResultSets, letting REF CURSORS |
| 104 | + be transformed into Readable Streams. |
| 105 | + |
| 106 | +- Added an experimental query Stream `_close()` method. It allows query |
| 107 | + streams to be closed without needing to fetch all the data. It is |
| 108 | + not for production use. |
| 109 | + |
| 110 | +- Added aliases `pool.close()` and `connection.close()` for |
| 111 | + `pool.terminate()` and `connection.release()` respectively. |
| 112 | + |
| 113 | +- Some method parameter validation checks, such as the number or types |
| 114 | + of parameters, will now throw errors synchronously instead of |
| 115 | + returning errors via the callback. |
| 116 | + |
| 117 | +- Removed an extra call to `getRows()` made by `queryStream()` at |
| 118 | + end-of-fetch. |
| 119 | + |
| 120 | +- Some random crashes caused by connections being garbage collected |
| 121 | + while still in use should no longer occur. |
| 122 | + |
| 123 | +- Regularized NJS error message capitalization. |
| 124 | + |
3 | 125 | ## node-oracledb v1.8.0 (24 Mar 2016)
|
4 | 126 |
|
5 | 127 | - Added `connection.queryStream()` for returning query results using a
|
|
26 | 148 |
|
27 | 149 | ## node-oracledb v1.7.1 (1 Mar 2016)
|
28 | 150 |
|
29 |
| -- Made public methods overwritable in new JavaScript layer |
| 151 | +- Made public methods over-writable in the new JavaScript layer |
30 | 152 |
|
31 | 153 | ## node-oracledb v1.7.0 (29 Feb 2016)
|
32 | 154 |
|
|
0 commit comments