Skip to content

Commit b87fef5

Browse files
committed
More tests and documentation updates for 6.9 features
1 parent 00e3ed6 commit b87fef5

File tree

16 files changed

+1817
-382
lines changed

16 files changed

+1817
-382
lines changed

doc/src/.static/custom.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@
2121
margin-bottom: 0pt;
2222
}
2323

24+
/* Added code to remove the extra lines displayed in a warning block in a table */
25+
.wy-table-responsive table td div.warning {
26+
line-height: 0pt;
27+
margin-bottom: 0pt;
28+
}
29+
2430
/* Added code to wrap the code-blocks that are used in a table*/
2531
.wy-table-responsive table td pre {
2632
white-space: pre-wrap !important;

doc/src/api_manual/oracledb.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ Constants for :ref:`AqEnqOptions Class <aqenqoptionsclass>`
511511
- Messages are persistent.
512512
* - ``oracledb.AQ_MSG_DELIV_MODE_BUFFERED``
513513
- 2
514-
- Messages are buffered.
514+
- Messages are buffered. For multi-consumer queues, a `subscriber <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-5FB46C6A-BB22-4CDE-B7D6-E242DC8808D8>`__ with buffered delivery mode needs to be created prior to enqueuing buffered messages.
515515
* - ``oracledb.AQ_MSG_DELIV_MODE_PERSISTENT_OR_BUFFERED``
516516
- 3
517517
- Messages are either persistent or buffered.

doc/src/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ User Guide
4545
user_guide/pgmstyle.rst
4646
user_guide/resources.rst
4747
user_guide/appendix_a.rst
48+
user_guide/appendix_b.rst
4849

4950
API Manual
5051
==========

doc/src/release_notes.rst

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,29 @@ Common Changes
2626
:attr:`dbObject.attributes` property which provide additional metadata
2727
about the database object.
2828

29-
#) Added support for property :attr:`pool.maxLifetimeSession` and added it as
30-
an optional parameter for configurations of :meth:`oracledb.createPool()`
31-
and :meth:`pool.reconfigure()`.
29+
#) Added property :attr:`pool.maxLifetimeSession` to the
30+
:ref:`Pool object <poolclass>`. This was also added as an optional
31+
property in :meth:`oracledb.createPool()` and :meth:`pool.reconfigure()`.
3232

33-
#) Added instance principal authentication support in native IAM token based
34-
authentication with Oracle Cloud Infrastructure.
33+
#) Added support for :ref:`File Configuration Provider <fileconfigprovider>`,
34+
:ref:`Oracle Cloud Infrastructure (OCI) Vault configuration provider
35+
<ocivault>`, and :ref:`Microsoft Azure Key Vault configuration provider
36+
<azurekeyvault>`.
3537

36-
#) Added support for setting
37-
:ref:`application context <getconnectiondbattrsappcontext>` with database
38-
connections.
38+
#) Added support for
39+
:ref:`instance principal authentication <_create_pool_oci_properties>`
40+
in :ref:`native IAM token-based authentication <cloudnativeauthoci>`
41+
with Oracle Cloud Infrastructure.
3942

40-
#) Added a second argument for the fetchTypeHandler call to get
43+
#) Added support for setting the :ref:`application context <appcontext>` with
44+
database connections.
45+
46+
#) Added a second argument for the
47+
:attr:`fetchTypeHandler <oracledb.fetchTypeHandler>` call to get
4148
the metadata of all the result columns.
4249
See `Issue #1728 <https://github.com/oracle/node-oracledb/issues/1728>`__.
4350

44-
#) Added check for :meth:`lob.setDirFileName()` to verify if empty strings
51+
#) Added a check for :meth:`lob.setDirFileName()` to verify if empty strings
4552
are passed or the properties are not found.
4653

4754
#) Added :attr:`~error.isRecoverable` property to the Error object to check
@@ -62,9 +69,6 @@ Common Changes
6269
Thin Mode Changes
6370
+++++++++++++++++
6471

65-
#) Added support for config-file, config-ociobject, and config-azurevault
66-
configuration providers.
67-
6872
#) Fixed bug which forced node-oracledb to resolve the database host name
6973
even if a proxy was specified in the connect string. Now the proxy
7074
specified in the connect string will resolve the database host name.

doc/src/user_guide/appendix_a.rst

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ node-oracledb Thin and Thick modes. For more details see :ref:`modediff`.
116116
* - Easy Connect connection strings (see :ref:`easyconnect`)
117117
- Yes - Unknown settings are ignored and not passed to Oracle Database
118118
- Yes
119+
* - Centralized Configuration Providers (see :ref:`configurationprovider`)
120+
- Yes
121+
- Yes
119122
* - Oracle Cloud Database connectivity (see :ref:`connectionadb`)
120123
- Yes
121124
- Yes
@@ -796,16 +799,3 @@ connection or pool, respectively.
796799

797800
Another method that can be used to check which mode is in use is to query
798801
``V$SESSION_CONNECT_INFO``. See :ref:`vsessconinfo`.
799-
800-
.. _frameworks:
801-
802-
Frameworks, SQL Generators, and ORMs
803-
====================================
804-
805-
The features of node-oracledb Thin mode cover the needs of common frameworks
806-
that depend upon the Node.js API. For example, the node-oracledb Thin mode can
807-
be used in Sequelize. To run the node-oracledb Thin mode through Sequelize,
808-
you must not set the ``libPath`` in the dialectOptions object and must not
809-
:meth:`~oracledb.initOracleClient`. For node-oracledb Thick mode, set the
810-
``libPath`` in the dialectOptions object or call
811-
:meth:`~oracledb.initOracleClient()`.

doc/src/user_guide/appendix_b.rst

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.. _frameworks:
2+
3+
************************************************
4+
Appendix B: Node.js Frameworks and node-oracledb
5+
************************************************
6+
7+
The features of node-oracledb Thin and Thick modes cover the needs of common
8+
Node.js frameworks and libraries.
9+
10+
Node-oracledb Thin and Thick modes can be used in `Sequelize
11+
<https://sequelize.org/>`__. To run node-oracledb Thin mode through Sequelize,
12+
you must *not* set the ``libPath`` in the dialectOptions object and must not
13+
call :meth:`~oracledb.initOracleClient`. For node-oracledb Thick mode, set the
14+
``libPath`` in the dialectOptions object or call
15+
:meth:`~oracledb.initOracleClient()`.
16+
17+
You can use the `OpenTelemetry <https://opentelemetry.io/>`__ observability
18+
framework with node-oracledb to generate telemetry data for Oracle Database
19+
connections. This helps you to analyze and monitor connection metrics and
20+
optimize them, if necessary. See :ref:`opentelemetry` for more information.

0 commit comments

Comments
 (0)