Skip to content

Commit c7f38f2

Browse files
committed
Reorganize and update CHANGELOG
1 parent 94fc465 commit c7f38f2

File tree

1 file changed

+42
-31
lines changed

1 file changed

+42
-31
lines changed

CHANGELOG.md

Lines changed: 42 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,48 @@
77
- Refactored the node-oracledb implementation to use
88
[N-API](https://nodejs.org/api/n-api.html) in place of
99
[NAN](https://github.com/nodejs/nan).
10-
- Node.js 8.16 or Node.js 10.16, or higher, is required by this version of node-oracledb. Node.js 8.16, 10.16, 11.12 and 12 contain an important N-API performance fix.
10+
- Node-oracledb 4 requires Node.js 8.16 or Node.js 10.16, or higher. Node.js 8.16, 10.16, 11.12 and 12 contain an important N-API performance fix.
1111
- N-API allows node-oracledb binaries to be portable between Node.js versions on a given operating system, subject to N-API compatibility. Node-oracledb uses N-API version 2.
1212
- Oracle Client libraries are still required at runtime. These can be from Oracle Instant Client, the full Oracle Client, or an Oracle Database installation.
13-
- The string representation of classes has changed to `[Object Object]` as a consequence of using N-API.
13+
- The string representation of classes has changed to `[Object Object]` as a consequence of using N-API. Use `Object.getPrototypeOf()` to get class information.
1414
- The C compiler required for building from source code no longer needs C++11 compatibility. The node-oracledb source code is now pure C.
1515

16-
- Added support for Oracle Advanced Queuing (AQ) RAW queues, allowing
17-
String and Buffer messages to be used.
16+
- Oracle Advanced Queuing (AQ):
1817

19-
- Added support for getting the [registration
20-
id](https://oracle.github.io/node-oracledb/doc/api.html#consubscribecallback)
21-
for CQN subscriptions.
18+
- Added support for "RAW" queues, allowing String and Buffer
19+
messages to be used.
2220

23-
- Added support for AQ notifications with `oracledb.SUBSCR_NAMESPACE_AQ`.
21+
- Added support for notifications with `oracledb.SUBSCR_NAMESPACE_AQ`.
2422

2523
- Added support for Implicit Results, allowing query results to be
2624
returned from PL/SQL without needing parameters or bind variables.
2725

2826
- Added
2927
[`lob.getData()`](https://oracle.github.io/node-oracledb/doc/api.html#lobgetdata)
30-
to return a LOBs data from a Lob instance.
31-
32-
- Class methods are now configurable. For example via
33-
`Object.defineProperty`.
28+
to return data from a Lob instance.
3429

3530
- Enhanced BIND_IN of PL/SQL Collection Associative Arrays (Index-by)
36-
so a bind definition object can be omitted
37-
[#1039](https://github.com/oracle/node-oracledb/issues/1039).
31+
so a bind definition object can be omitted (see
32+
[#1039](https://github.com/oracle/node-oracledb/issues/1039)).
33+
34+
- Continuous Query Notification (CQN):
35+
36+
- Added support for getting the [registration
37+
id](https://oracle.github.io/node-oracledb/doc/api.html#consubscribecallback)
38+
for CQN subscriptions.
39+
40+
- Added support and message type constants for database startup
41+
and shutdown events.
3842

39-
- CQN support and message type constants were added for database
40-
startup and shutdown events.
43+
- Fixed a crash that occurred when unsubscribing from CQN while
44+
notifications were ongoing ([ODPI-C
45+
change](https://github.com/oracle/odpi/commit/b96b11b7fe58f32f011c7f7419555e40268d5bf4)).
4146

42-
- Added a `connection.currentSchema` attribute for setting the schema
43-
qualifier to be used when a qualifier is omitted in SQL statements.
44-
This is an efficient alternative to `ALTER SESSION SET
45-
CURRENT_SCHEMA`.
47+
- Added
48+
[`connection.currentSchema`](https://oracle.github.io/node-oracledb/doc/api.html#propconncurrentschema)
49+
for setting the schema qualifier to be used when a qualifier is
50+
omitted in SQL statements. This is an efficient alternative to
51+
`ALTER SESSION SET CURRENT_SCHEMA`.
4652

4753
- Renumbered [node-oracledb Type
4854
Constants](https://oracle.github.io/node-oracledb/doc/api.html#oracledbconstantsnodbtype)
@@ -58,18 +64,15 @@
5864

5965
- Improved the performance of `oracledb.outFormat = oracledb.OUT_FORMAT_OBJECT`.
6066

61-
- Updated the JavaScript syntax in class implementations.
62-
63-
- Fixed writing of multi-byte characters to CLOBs when multiple writes
64-
are required.
65-
66-
- Fixed a crash that occurred when unsubscribing from CQN while
67-
notifications were ongoing ([ODPI-C change](https://github.com/oracle/odpi/commit/b96b11b7fe58f32f011c7f7419555e40268d5bf4)).
67+
- Improved the fetch performance of LOBs in some cases by reducing the
68+
number of round-trips required between node-oracledb and Oracle
69+
Database ([ODPI-C
70+
change](https://github.com/oracle/odpi/commit/58e6a07ff5bb428a09068456ef5231884fcb77db)).
6871

69-
- Fixed a crash occuring when draining the connection pool ([ODPI-C
70-
change](https://github.com/oracle/odpi/commit/https://github.com/oracle/odpi/commit/7666dc3208087383f7f0f5e49c1ee423cb154997))
72+
- Updated the JavaScript syntax in class implementations.
7173

72-
- Corrected `pool.status` to be read-only, as was documented.
74+
- Class methods are now configurable. For example via
75+
`Object.defineProperty`.
7376

7477
- Error handling changes:
7578

@@ -97,7 +100,7 @@
97100
using Oracle Client 18.5 or Oracle Client 19.3, or later. The
98101
new node-oracledb 4.0 methods `sodaCollection.insertMany()` and
99102
`sodaCollection.insertManyAndGet()` are in Preview status and
100-
should not be used in production
103+
should not be used in production.
101104

102105
- Corrected the type of
103106
[`sodaCollection.metaData`](https://oracle.github.io/node-oracledb/doc/api.html#sodacollectionpropmetadata).
@@ -108,6 +111,14 @@
108111
- Corrected the error message parameter number for SODA
109112
[`sodaDatabase.getCollectionNames()`](https://oracle.github.io/node-oracledb/doc/api.html#sodadbgetcollectionnames).
110113

114+
- Fixed writing of multi-byte characters to CLOBs when multiple writes
115+
are required.
116+
117+
- Fixed a crash occuring when draining the connection pool ([ODPI-C
118+
change](https://github.com/oracle/odpi/commit/https://github.com/oracle/odpi/commit/7666dc3208087383f7f0f5e49c1ee423cb154997)).
119+
120+
- Corrected `pool.status` to be read-only, as was documented.
121+
111122
- Updated documentation.
112123

113124
- Added new tests.

0 commit comments

Comments
 (0)