Skip to content

Commit 47eddc8

Browse files
committed
Update CHANGELOG
1 parent 4ff68a1 commit 47eddc8

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

CHANGELOG.md

Lines changed: 76 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,81 @@
11
# Change Log
22

3-
## node-oracledb v2.0.13 Development (DD Mon YYYY)
3+
## node-oracledb v2.0.13 Development (19 Jun 2017)
4+
5+
- Node-oracledb now uses the [ODPI-C](https://github.com/oracle/odpi)
6+
database abstraction library.
7+
8+
- Installation instructions have changed. Refer to
9+
[INSTALL.md](https://github.com/oracle/node-oracledb/blob/master/INSTALL.md).
10+
Distribution is still via source code.
11+
12+
Oracle header files are no longer needed. The `OCI_LIB_DIR` and
13+
`OCI_INC_DIR` environment variables are not needed.
14+
15+
At run time, Oracle 11.2, 12.1 or 12.2 client libraries must still be
16+
in `PATH` (for Windows) or `LD_LIBRARY_PATH` (for Linux) or similar
17+
platform library loading path. Users of macOS must put the Oracle
18+
client libraries in `~/lib` or `/usr/local/lib`. Linux users of
19+
Instant Client RPMs must always set `LD_LIBRARY_PATH` or use
20+
ldconfig - the previous RPATH linking option is not available.
21+
22+
A single node-oracledb binary now works with any of the Oracle
23+
client 11.2, 12.1 or 12.2 libraries. This improves portability when
24+
node-oracledb builds are copied between machines.
25+
26+
- `Lob.close()` now marks LOBs invalid immediately rather than during
27+
the asynchronous portion of the `close()` method, so that all other
28+
attempts are no-ops.
29+
30+
- Incorrect application logic in version 1 that attempted to close a
31+
connection while certain LOB, ResultSet or other database operations
32+
were still occurring gave an NJS-030, NJS-031 or NJS-032 "connection
33+
cannot be released" error. Now in version 2 the connection will be
34+
closed but any operation that relied on the connection being open
35+
will fail.
36+
37+
- Some NJS and DPI error messages and numbers have changed. This is
38+
particularly true of DPI errors due to the use of ODPI-C.
39+
40+
- Stated compatibility is now for Node.js 4, 6 and 8.
41+
42+
- Added support for fetching columns types LONG (as String) and LONG
43+
RAW (as Buffer). There is no support for streaming these types, so
44+
the value stored in the DB may not be able to be completely fetched
45+
if Node.js and V8 memory limits are reached.
46+
47+
- Added support for TIMESTAMP WITH TIME ZONE date type. These are
48+
mapped to a Date object in node-oracledb using LOCAL TIME ZONE.
49+
The TIME ZONE component is not available in the Date object.
50+
51+
- Added support for ROWID data type. Data is fetched as a String.
52+
53+
- Added support for UROWID data type. Data is fetched as a String.
54+
55+
- Added query support for NCHAR and NVARCHAR2 columns. Binding for
56+
DML may not insert data correctly, depending on the database
57+
character set and the database national character set.
58+
59+
- Added query support for NCLOB columns. NCLOB data can be streamed
60+
or fetched as String. Binding for DML may not insert data
61+
correctly, depending on the database character set and the database
62+
national character set.
63+
64+
- Removed node-oracledb size restrictions on LOB `fetchAsString` and
65+
`fetchAsBuffer` queries, and also on LOB binds. Node.js and V8
66+
memory restrictions will still prevent large LOBs being manipulated
67+
in single chunks.
68+
69+
- Statements that generate errors are now dropped from the statement
70+
cache. Applications running while table definitions change will no
71+
longer end up with unusable SQL statements due to stale cache
72+
entries. Note that Oracle best-practice is never to change table
73+
definitions while applications are executing.
74+
75+
- Empty arrays can now be used in PL/SQL Collection Associative Array
76+
(Index-by) binds.
77+
78+
- Upgraded NAN dependency from 2.5 to 2.6.
479

580
## node-oracledb v1.13.1 (12 Apr 2017)
681

0 commit comments

Comments
 (0)