Skip to content

Commit b9f5c5c

Browse files
committed
Add documentation and test additions for 6.8 release
1 parent e0ea62c commit b9f5c5c

File tree

9 files changed

+1175
-104
lines changed

9 files changed

+1175
-104
lines changed

doc/src/api_manual/oracledb.rst

+387-3
Large diffs are not rendered by default.

doc/src/index.rst

+1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ User Guide
3737
user_guide/two_phase_commit.rst
3838
user_guide/startup.rst
3939
user_guide/tracing.rst
40+
user_guide/extensions.rst
4041
user_guide/globalization.rst
4142
user_guide/exception_handling.rst
4243
user_guide/troubleshooting.rst

doc/src/release_notes.rst

+41-22
Original file line numberDiff line numberDiff line change
@@ -14,66 +14,85 @@ node-oracledb `v6.8.0 <https://github.com/oracle/node-oracledb/compare/v6.7.1...
1414
Common Changes
1515
++++++++++++++
1616

17-
#) Added support for `BigInt` values to be passed to Database Objects.
18-
Exported new function `dbObjectTypeHandler` from `oracledb` which can be
19-
used to convert strings passed to the handler to `BigInt`.
17+
#) Added a new :attr:`oracledb.dbObjectTypeHandler` property in which a user
18+
function can be specified when using DbObjects to modify the properties
19+
before it is returned to the application.
20+
21+
#) Added support for BigInt values to be passed to Database Objects. This is
22+
done by using the new property :attr:`oracledb.dbObjectTypeHandler` which
23+
can be used to convert strings passed to the dbObject Type Handler to
24+
BigInt.
2025
See `Issue #1710 <https://github.com/oracle/node-oracledb/issues/1710>`__.
2126

22-
#) Added support for Oracle Database 23ai sparse vectors.
27+
#) Added support for Oracle Database 23.7
28+
:ref:`SPARSE vectors <sparsevectors>`.
2329

2430
#) Added support for :ref:`interval year-to-month <intervalyeartomonth>` and
2531
:ref:`interval day-to-second <intervaldaytosecond>` database column types.
2632
See `Issue #929 <https://github.com/oracle/node-oracledb/issues/929>`__.
2733

28-
#) Fixed :attr:`~dbObject.length` property for the database object
29-
collection types, which was broken from node-oracledb 6.0.
34+
#) Added :ref:`plugins <extendingnodeoracledb>` for :ref:`OCI IAM
35+
<cloudnativeauthoci>` and :ref:`Azure OAuth <cloudnativeauthoauth>` token
36+
generation and authentication that calls into OCI and Azure SDK APIs
37+
respectively.
3038

31-
#) Added OCI and Azure SDK support for token based authentication.
39+
#) Added :meth:`oracledb.registerProcessConfigurationHook()` to register
40+
extension modules (:ref:`plugins <extendingnodeoracledb>`).
3241

3342
#) Added support for returning maximum identifier length allowed by the
3443
database using the new property :attr:`connection.maxIdentifierLength`.
3544

3645
#) Added :meth:`~dbObject.copy` method to create deep copies of database
3746
objects.
3847

48+
#) Fixed :attr:`~dbObject.length` property for the database object
49+
collection types, which was broken from node-oracledb 6.0.
50+
3951
Thin Mode Changes
4052
+++++++++++++++++
4153

42-
#) Added support for external authentication using Transport Layer
43-
Security (TLS) protocol.
54+
#) Added support for :ref:`external authentication using Transport Layer
55+
Security (TLS) <tlsextauth>` protocol.
4456

45-
#) Added support for Advanced Network Compression which reduces the size
46-
of the network data packets transmitted over a connection for improved
47-
effective network throughput and bandwidth utilization.
57+
#) Added support for :ref:`Advanced Network Compression <networkcompression>`
58+
using the new properties ``networkCompression`` and
59+
``networkCompressionThreshold`` in :meth:`oracledb.createPool()` and
60+
:meth:`oracledb.getConnection()`. This reduces the size of the network
61+
data packets transmitted over a connection for improved effective network
62+
throughput and bandwidth utilization.
4863

49-
#) Fixed issue that does not throw Authentication error for FastAuth
50-
when invalid token is used with external authentication.
51-
52-
#) Added connection optimization feature which uses
53-
Server Name Indication (SNI) extension of the TLS protocol.
64+
#) Added a new property ``useSNI`` to
65+
:ref:`oracledb.createPool() <createpoolpoolattrsusesni>` and
66+
:ref:`oracledb.getConnection() <getconnectiondbattrsusesni>` that enables
67+
a connection optimization feature which uses Server Name Indication (SNI)
68+
extension of the TLS protocol.
5469

5570
#) Added support for setting the :attr:`~oracledb.edition` when connecting to
5671
the database.
5772

73+
#) Fixed issue that does not throw Authentication error for FastAuth
74+
when invalid token is used with external authentication.
75+
5876
#) Fixed error message in ``NJS-131`` to provide the correct range of the
5977
database object collection types.
6078

6179
#) Fixed bug with :meth:`dbObject.deleteElement()` which did not update the
6280
keys of associative arrays when an element was deleted.
6381

64-
#) Fixed issue with IAM token based authentication which allows unformatted
82+
#) Fixed issue with :ref:`IAM token-based authentication
83+
<iamtokenbasedauthentication>` which allows unformatted
6584
private keys to be used for refreshed access tokens leading to token
6685
authentication errors.
6786

6887
Thick Mode Changes
6988
++++++++++++++++++
7089

71-
#) Fixed internal error that occurs while running ``connection.subscribe()``
72-
with same name for second time.
90+
#) Fixed internal error that occurs while running
91+
:meth:`connection.subscribe()` with the same name for the second time.
7392
See `Issue #1718 <https://github.com/oracle/node-oracledb/issues/1718>`__.
7493

75-
#) Fixed internal error that occurs while running ``connection.subscribe()`` with
76-
sql reading from non-existent tables.
94+
#) Fixed internal error that occurs while running
95+
:meth:`connection.subscribe()` with SQL reading from non-existent tables.
7796

7897
#) Internal error handling improvements.
7998

0 commit comments

Comments
 (0)