oracledb 6.10.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/LICENSE.txt +1 -1
  2. package/NOTICE.txt +1 -1
  3. package/README.md +9 -9
  4. package/build/Release/oracledb-7.0.0-darwin-arm64.node +0 -0
  5. package/build/Release/oracledb-7.0.0-darwin-arm64.node-buildinfo.txt +1 -0
  6. package/build/Release/oracledb-7.0.0-js-buildinfo.txt +1 -0
  7. package/build/Release/oracledb-7.0.0-linux-arm64.node +0 -0
  8. package/build/Release/oracledb-7.0.0-linux-arm64.node-buildinfo.txt +1 -0
  9. package/build/Release/oracledb-7.0.0-linux-x64.node +0 -0
  10. package/build/Release/oracledb-7.0.0-linux-x64.node-buildinfo.txt +1 -0
  11. package/build/Release/oracledb-7.0.0-win32-x64.node +0 -0
  12. package/build/Release/oracledb-7.0.0-win32-x64.node-buildinfo.txt +1 -0
  13. package/eslint.config.js +39 -0
  14. package/lib/connection.js +412 -37
  15. package/lib/endUserSecurityContext.js +176 -0
  16. package/lib/errors.js +86 -5
  17. package/lib/impl/connection.js +76 -2
  18. package/lib/impl/datahandlers/buffer.js +19 -5
  19. package/lib/impl/datahandlers/vector.js +25 -5
  20. package/lib/impl/lob.js +9 -0
  21. package/lib/impl/parserHelpers.js +443 -0
  22. package/lib/impl/resultset.js +1 -1
  23. package/lib/lob.js +27 -14
  24. package/lib/obfuscation.js +97 -0
  25. package/lib/oracledb.js +148 -43
  26. package/lib/parser.js +204 -0
  27. package/lib/pipeline.js +113 -0
  28. package/lib/pool.js +16 -1
  29. package/lib/resultset.js +42 -21
  30. package/lib/settings.js +1 -0
  31. package/lib/thin/connection.js +467 -53
  32. package/lib/thin/dbObject.js +7 -1
  33. package/lib/thin/lob.js +20 -1
  34. package/lib/thin/pool.js +42 -62
  35. package/lib/thin/protocol/capabilities.js +18 -3
  36. package/lib/thin/protocol/constants.js +82 -2
  37. package/lib/thin/protocol/encryptDecrypt.js +43 -8
  38. package/lib/thin/protocol/messages/auth.js +6 -1
  39. package/lib/thin/protocol/messages/base.js +245 -4
  40. package/lib/thin/protocol/messages/dataType.js +8 -3
  41. package/lib/thin/protocol/messages/directPathLoadStream.js +377 -0
  42. package/lib/thin/protocol/messages/directPathOp.js +65 -0
  43. package/lib/thin/protocol/messages/directPathPrepare.js +158 -0
  44. package/lib/thin/protocol/messages/endPipeline.js +56 -0
  45. package/lib/thin/protocol/messages/execute.js +9 -7
  46. package/lib/thin/protocol/messages/index.js +9 -1
  47. package/lib/thin/protocol/messages/protocol.js +2 -2
  48. package/lib/thin/protocol/messages/withData.js +8 -140
  49. package/lib/thin/protocol/packet.js +115 -24
  50. package/lib/thin/protocol/protocol.js +110 -25
  51. package/lib/thin/protocol/utils.js +1 -26
  52. package/lib/thin/resultSet.js +13 -19
  53. package/lib/thin/sqlnet/ezConnectResolver.js +2 -2
  54. package/lib/thin/sqlnet/networkSession.js +62 -40
  55. package/lib/thin/sqlnet/ntTcp.js +24 -0
  56. package/lib/thin/sqlnet/nvStrToNvPair.js +50 -25
  57. package/lib/thin/sqlnet/packet.js +25 -4
  58. package/lib/thin/sqlnet/paramParser.js +10 -7
  59. package/lib/thin/statementCache.js +2 -4
  60. package/lib/traceHandler.js +59 -2
  61. package/lib/transformer.js +8 -3
  62. package/lib/types.js +35 -21
  63. package/lib/util.js +6 -6
  64. package/lib/version.js +3 -3
  65. package/package/install.js +5 -5
  66. package/package/prunebinaries.js +1 -1
  67. package/package.json +1 -1
  68. package/plugins/configProviders/awsCommon.js +125 -0
  69. package/plugins/configProviders/awss3/index.js +138 -0
  70. package/plugins/configProviders/awssecretsmanager/index.js +147 -0
  71. package/plugins/configProviders/azure/index.js +4 -5
  72. package/plugins/token/extensionAzure/index.js +0 -1
  73. package/plugins/token/extensionOci/index.js +0 -1
  74. package/build/Release/oracledb-6.10.0-darwin-arm64.node +0 -0
  75. package/build/Release/oracledb-6.10.0-darwin-arm64.node-buildinfo.txt +0 -1
  76. package/build/Release/oracledb-6.10.0-darwin-x64.node +0 -0
  77. package/build/Release/oracledb-6.10.0-darwin-x64.node-buildinfo.txt +0 -1
  78. package/build/Release/oracledb-6.10.0-js-buildinfo.txt +0 -1
  79. package/build/Release/oracledb-6.10.0-linux-arm64.node +0 -0
  80. package/build/Release/oracledb-6.10.0-linux-arm64.node-buildinfo.txt +0 -1
  81. package/build/Release/oracledb-6.10.0-linux-x64.node +0 -0
  82. package/build/Release/oracledb-6.10.0-linux-x64.node-buildinfo.txt +0 -1
  83. package/build/Release/oracledb-6.10.0-win32-x64.node +0 -0
  84. package/build/Release/oracledb-6.10.0-win32-x64.node-buildinfo.txt +0 -1
package/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2015, 2025 Oracle and/or its affiliates.
1
+ Copyright (c) 2015, 2026, Oracle and/or its affiliates.
2
2
 
3
3
  This software is dual-licensed to you under the Universal Permissive License
4
4
  (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
package/NOTICE.txt CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2015, 2025, Oracle and/or its affiliates.
1
+ Copyright (c) 2015, 2026, Oracle and/or its affiliates.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
- # node-oracledb version 6.10.0 <img src="https://img.shields.io/npm/v/oracledb.svg" alt="oracledb"/> <img src="https://img.shields.io/npm/dm/oracledb.svg" alt="oracledb"/>
1
+ # node-oracledb version 7.0.0 <img src="https://img.shields.io/npm/v/oracledb.svg" alt="oracledb"/> <img src="https://img.shields.io/npm/dm/oracledb.svg" alt="oracledb"/>
2
2
 
3
3
  The node-oracledb add-on for Node.js powers high performance Oracle Database
4
4
  applications. Applications can be written in TypeScript, or directly in
5
5
  JavaScript.
6
6
 
7
- Use node-oracledb 6.10.0 to connect Node.js 14.17, or later, to Oracle
7
+ Use node-oracledb 7.0.0 to connect Node.js 14.17, or later, to Oracle
8
8
  Database. Older versions of node-oracledb may work with older versions of
9
9
  Node.js.
10
10
 
@@ -39,17 +39,17 @@ See [Getting Started with Node-oracledb][1] and [Quick Start Node-oracledb Insta
39
39
  **Thick mode**: Some advanced Oracle Database functionality is currently only
40
40
  available when optional Oracle Client libraries are loaded by
41
41
  node-oracledb. Libraries are available in the free [Oracle Instant
42
- Client][15] packages. Node-oracledb can use Oracle Client
43
- libraries 11.2 through 23ai.
42
+ Client][15] packages. Node-oracledb can use Oracle Client libraries version
43
+ 19 and later.
44
44
 
45
45
  - Oracle Database
46
46
 
47
47
  **Thin mode**: Oracle Database 12.1 (or later) is required.
48
48
 
49
- **Thick mode**: Oracle Database 9.2 (or later) is required, depending on the
49
+ **Thick mode**: Oracle Database 11.2 (or later) is required, depending on the
50
50
  Oracle Client library version. Oracle Database's standard client-server
51
51
  version interoperability allows connection to both older and newer
52
- databases. For example when node-oracledb uses Oracle Client 19c libraries,
52
+ databases. For example, when node-oracledb uses Oracle Client 19c libraries,
53
53
  then it can connect to Oracle Database 11.2 or later.
54
54
 
55
55
  ## Documentation
@@ -63,8 +63,8 @@ See the [examples][7] directory. Start with [examples/example.js][8].
63
63
 
64
64
  ## Help
65
65
 
66
- Questions about node-oracledb can be posted on [GitHub][3] or [Slack][5] ([link
67
- to join Slack][6]).
66
+ Questions and issues with node-oracledb can be posted on [GitHub][3] or
67
+ [Slack][5] ([link to join Slack][6]).
68
68
 
69
69
  ## <a name="testing"></a> Tests
70
70
 
@@ -82,7 +82,7 @@ vulnerability disclosure process.
82
82
 
83
83
  ## License
84
84
 
85
- Copyright (c) 2015, 2025, Oracle and/or its affiliates.
85
+ Copyright (c) 2015, 2026, Oracle and/or its affiliates.
86
86
 
87
87
  This software is dual-licensed to you under the Universal Permissive License
88
88
  (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
@@ -0,0 +1 @@
1
+ oracledb-7.0.0-darwin-arm64.node v22.21.1 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:04:26 GMT
@@ -0,0 +1 @@
1
+ a0e6dd3908c245d3028bf517073d8a3cdd951289
@@ -0,0 +1 @@
1
+ oracledb-7.0.0-linux-arm64.node v22.22.2 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:48:55 GMT
@@ -0,0 +1 @@
1
+ oracledb-7.0.0-linux-x64.node v22.19.0 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:45:53 GMT
@@ -0,0 +1 @@
1
+ oracledb-7.0.0-win32-x64.node v22.17.1 a0e6dd3908c245d3028bf517073d8a3cdd951289 e840c29ef17fa01d5eef018822af925154a5dd92 Fri, 15 May 2026 13:49:56 GMT
@@ -0,0 +1,39 @@
1
+ /** @type {import('eslint').Linter.Config} */
2
+ const js = require('@eslint/js');
3
+ module.exports = [
4
+ js.configs.recommended,
5
+ {
6
+ languageOptions: {
7
+ ecmaVersion: 'latest',
8
+ sourceType: 'commonjs',
9
+ globals: {
10
+ ...require('globals').node,
11
+ ...require('globals').es2020,
12
+ ...require('globals').es2024,
13
+ ...require('globals').mocha
14
+ }
15
+ },
16
+ rules: {
17
+ 'require-await': 'error',
18
+ 'brace-style': 'error',
19
+ 'computed-property-spacing': ['error', 'never'],
20
+ 'comma-spacing': ['error', { before: false, after: true }],
21
+ 'no-trailing-spaces': 'error',
22
+ 'prefer-const': 'error',
23
+ 'space-before-function-paren': ['error', { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
24
+ 'key-spacing': ['error', { mode: 'strict' }],
25
+ 'space-in-parens': 'error',
26
+ 'space-infix-ops': 'error',
27
+ 'space-unary-ops': [2, { words: true, nonwords: false }],
28
+ 'space-before-blocks': 'error',
29
+ 'no-tabs': 'error',
30
+ 'keyword-spacing': 'error',
31
+ 'eol-last': 'error',
32
+ 'indent': [2, 2, { SwitchCase: 1 }],
33
+ 'quotes': [0, 'double'],
34
+ 'linebreak-style': [2, 'unix'],
35
+ 'semi': [2, 'always'],
36
+ 'no-console': [0]
37
+ }
38
+ }
39
+ ];