Oracle Developers
Published in

Oracle Developers

Node.js node-oracledb 5.4 driver for Oracle Database is available

Release announcement: A new release of node-oracledb, the Node.js and TypeScript module for accessing Oracle Database, is available from npm.

Photo by Daiga Ellaby on Unsplash

Top feature: Oracle Identity & Access Management Token Authentication

  • The new support for IAM Token Authentication lets users of Oracle Cloud Infrastructure (OCI) connect to Oracle Database using authentication tokens instead of requiring a username and password be supplied at connection or pool creation time.
  • A new method connection.isHealthy() was added. It has some similarities to the existing call, but it is synchronous, making it suitable for use in places such as frameworks that are not coded for asynchronous calls. Since it is synchronous, it doesn’t do a full-roundtrip to the database, and it won’t catch some classes of connection failure. However, not doing a round-trip does help application scalability, so each call has its uses. As always, I encourage you to do good error checking after statement execution, because networks may drop out anytime, even after a successful ping or health check.
  • Several handy pull requests, particularly improving the error stack for async/await-style calls came from Sławomir Osoba — many thanks.

See the CHANGELOG for all changes and bug fixes.

Installing or Upgrading node-oracledb

You can install or upgrade node-oracle by updating your package.json requirements:

"dependencies": {
"oracledb": "^5.4"


Finally, contributions to node-oracledb are more than welcome, see CONTRIBUTING.




Aggregation of articles from Oracle engineers, Groundbreaker Ambassadors, Oracle ACEs, and Java Champions on all things Oracle technology. The views expressed are those of the authors and not necessarily of Oracle.

Recommended from Medium

OpenSSL At 1st Sight

Skynet Community Update — March 2021

Build The World’s Simplest ETL (Extract, Transform, Load) Pipeline in Ruby With Kiba

Swift Course: Generics

The New Generation:

Why Cloud APIs on GCP is Awesome by leveraging Apigee?

Scraping Amazon using Puppeteer and Browserless

An Introduction to the New Features in C# 9

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Christopher Jones

Christopher Jones

Oracle Database product manager for language drivers including Python python-oracledb, Node.js node-oracledb, and PHP OCI8 — and more!

More from Medium

Event Driven Microservice for dummies

How to recover failed AWS MSK + Kafka MongoDB Source Connector

232. Implement Queue using Stacks

Eventbus written in Python based on Kafka