Description
Updates:
Node-oracledb 4.0 has been released: https://blogs.oracle.com/opal/oracle-db-named-objects-and-advanced-queuing-support-new-in-node-oracledb-40
Node-oracledb 4.0-dev is a 'work in progress' and subject to change:
- There is a prebuilt binary package at https://github.com/oracle/node-oracledb/releases/tag/v4.0.0-dev-20190623 with commits up to 2019-06-23 (i.e. with the initial named object query & bind support) Alternatively, you can compile from source code as shown in the next point
- Install the development branch by running
npm install oracle/node-oracledb#dev-4.0
See here for general steps about compiling. - View the CHANGELOG
- The documentation is here
You need Node.js 8.16, 10.16, or 12 (or later in each version) to use this version of node-oracledb.
It's time to start thinking about node-oracledb 4.
We just pushed out node-oracledb 3.1.2 with a few bug fixes yesterday and want to do some bigger tasks for the next release.
The task list had quite a few things ticked off over last year: SODA; Privileged Connections; Array DML; Native EBR; Native events; Password Change; Installer improvements; CQN; Heterogeneous Connection Pool; Session tagging and state fixup; Pool draining; Call timeouts; Incremental improvements and stabilization. I have to thank the team and contributors for this. There have been other ongoing efforts we've been involved in too, from other languages, through making Instant Client RPMs available without clickthrough, to the Oracle 18c XE release (Windows 18c XE was released today, by the way, so you're no longer restricted to using it on Linux). Overall it was a busy year.
There's a lot still on the task list for future node-oracledb releases but I want to keep focus and not bite off too much for 4.0. What I would like to see is PL/SQL and SQL object binding support; this is a big task but we can hope! A major release would also be the place to remove the NAN layer in the implementation and use N-API - @anthony-tuininga has started looking at this. If N-API works functionally for node-oracledb, then we'd need to verify that it is stable before making a final decision about using it for 4.0.
Looking at timing, there are no guarantees. I think node-oracledb 4 will support only Node 8 and higher, based on the near EOL of Node 6, and also the status of N-API in Node 6. So, plan to upgrade Node to something newer if you want to use node-oracledb 4.
Reminder: everything is subject to change. And, if you have a pressing need for a feature, you can do it yourself!