17. Deprecated and Desupported Features

The following table contains the deprecated and desupported features of the node-oracledb API, the version they were deprecated or desupported, and an alternative to use instead, if applicable. The desupported API feature is a previous deprecation that has been removed and is not available in node-oracledb. The most recent deprecated and desupported features are listed first.

Table 17.1 Deprecated and Desupported API Features

Name

Version Deprecated or Desupported

Alternative

Oracle Client libraries older than version 19 are desupported.

Desupported in 7.0

Upgrade the Oracle Client library to 19c or later.

Connectivity and interoperability with Oracle Database and Oracle Client libraries older than version 19

Deprecated in 6.10

Upgrade the database and client library versions.

Production use, and availability of database and client software, is detailed in Release Schedule of Current Database Releases.

Property fetchInfo

Deprecated in 6.0

Use fetchTypeHandler functionality

Property oracledb.extendedMetaData

Desupported in 6.0

Extended metadata is now always returned

Property extendedMetaData of connection.execute() Options Parameter

Desupported in 6.0

Extended metadata is now always returned

Property accessTokenCallback

Desupported in 6.0

Deprecated in 5.5

Use accessToken

Method pool.setAccessToken()

Deprecated in 5.5

NA

Property _enablestats

Deprecated in 5.2

Use enableStatistics

_logStats()

Deprecated in 5.2

Use pool.logStatistics()

Method lob.close()

Deprecated in 4.2

Use lob.destroy()

Constants oracledb.ARRAY and oracledb.OBJECT

Deprecated in 4.0

Use oracledb.OUT_FORMAT_ARRAY and oracledb.OUT_FORMAT_OBJECT

Property oracledb.queueRequests

Desupported in 3.0

Deprecated in 2.3

Connection pool queuing is always enabled