Skip to content

v4.1.0

Choose a tag to compare

@romanbalayan romanbalayan released this 08 Feb 01:33
· 36 commits to master since this release

Based from node-oracledb v4.1.0

v4.1.0 Release Notes

  • Added end-to-end tracing attributes connection.clientInfo and connection.dbOp.
  • Added support for Oracle Sharding.
  • Fixed a regression when binding dates with alternative JavaScript frameworks.
  • Fixed "NJS-024: memory allocation failed" errors seen on AIX.
  • Fixed a JavaScript memory leak when getting Oracle Database named type information, such as with getDbObjectClass().
  • Corrected support for PLS_INTEGER and BINARY_INTEGER types when used in PL/SQL records (ODPI-C change).
  • Corrected queryStream() documentation and examples to show the 'close' event should be received before closing connections. If connections are closed on the 'end' event, then significant C layer memory may be held open until the garbage collector frees the associated JavaScript resource.
  • Reverted the events default back to pre-4.0 behavior due to connection creation timeouts in some environments. It is now false again.
  • Error changes:
    • Ensured that queryStream() errors raised during close are emitted in the 'error' event.
    • Enforce only one of connectString or connectionString being used for connection.
    • Improved some error messages.
      -Refactored implementation of function argument checking.
  • Test and documentation improvements.