Skip to content

Commit 0304898

Browse files
Doc updates.
1 parent e92bc7b commit 0304898

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1803
-1614
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ with oracledb.connect(user=un, password=pw, dsn=cs) as connection:
7070
available when optional Oracle Client libraries are loaded by
7171
python-oracledb. Libraries are available in the free [Oracle Instant
7272
Client][instantclient] packages. Python-oracledb can use Oracle Client
73-
libraries 11.2 through 23ai.
73+
libraries versions 11.2 through 23, inclusive.
7474

7575
- Oracle Database
7676

doc/src/api_manual/async_connection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ AsyncConnection Methods
159159

160160
.. note::
161161

162-
True pipelining requires Oracle Database 23ai.
162+
True pipelining requires Oracle Database version 23, or later.
163163

164164
When you connect to an older database, operations are sequentially
165165
executed by python-oracledb. Each operation concludes before the next

doc/src/api_manual/connect_params.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ All properties are read only.
230230
pooled DRCP or PRCP connections are implicitly released back to the DRCP or
231231
PRCP pool when either one of the methods :meth:`Connection.commit()` or
232232
:meth:`Connection.rollback()` are called. This attribute requires the use
233-
of DRCP or PRCP with Oracle Database 23ai (or later). See
233+
of DRCP or PRCP with Oracle Database version 23, or later. See
234234
:ref:`implicitconnpool` for more information.
235235

236236
This attribute is supported in both python-oracledb Thin and Thick modes.

doc/src/api_manual/deprecations.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ used for new development.
2323

2424
* - Name
2525
- Comments
26-
* - The x86_64 macOS and 32-bit Windows platforms are deprecated. They will be desupported when the `cryptography <https://pypi.org/project/cryptography/>`__ package desupports them, see the `cryptography deprecation announcement <https://mail.python.org/archives/list/[email protected]/thread/R4BZNC36MSFLKULA74KILLFY6GP3VCPA/>`__.
26+
* - The x86_64 macOS and 32-bit Windows platforms are deprecated. They will be desupported before, or when, the `cryptography <https://pypi.org/project/cryptography/>`__ package desupports them. See the `cryptography deprecation announcement <https://mail.python.org/archives/list/[email protected]/thread/R4BZNC36MSFLKULA74KILLFY6GP3VCPA/>`__.
2727
- Use arm64 macOS or 64-bit Windows instead.
28+
* - Connectivity and interoperability with Oracle Database and Oracle Client libraries older than version 19 is deprecated and will be removed in a future version of python-oracledb. Production use, and availability of database and client software, is detailed in `Release Schedule of Current Database Releases <https://support.oracle.com/epmos/faces/ DocumentDisplay?id=742060.1>`__.
29+
- Upgrade the database and client library versions.
2830

2931
.. list-table-with-summary:: Deprecated in python-oracledb 3.0
3032
:header-rows: 1

doc/src/api_manual/pipeline.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ information about pipelining.
1212

1313
.. note::
1414

15-
True pipelining is only available when connected to Oracle Database 23ai.
15+
True pipelining is only available when connected to Oracle Database version
16+
23, or later.
1617

1718
.. versionadded:: 2.4.0
1819

doc/src/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ User Guide
2121
user_guide/installation.rst
2222
user_guide/initialization.rst
2323
user_guide/connection_handling.rst
24+
user_guide/authentication_methods.rst
2425
user_guide/sql_execution.rst
2526
user_guide/plsql_execution.rst
2627
user_guide/bind.rst

doc/src/release_notes.rst

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ Common Changes
7979
support
8080
(`issue 512 <https://github.com/oracle/python-oracledb/issues/512>`__).
8181
#) The x86_64 macOS and 32-bit Windows platforms are :ref:`deprecated
82-
<deprecations>`. They will be desupported when the `cryptography
83-
<https://pypi.org/project/cryptography/>`__ package desupports them, see
84-
the `cryptography deprecation announcement <https://mail.python.org/
82+
<deprecations>`. They will be desupported in a future release before, or
83+
when, the `cryptography <https://pypi.org/project/cryptography/>`__ package
84+
desupports them. See the `cryptography deprecation announcement
85+
<https://mail.python.org/
8586
archives/list/[email protected]/thread/
8687
R4BZNC36MSFLKULA74KILLFY6GP3VCPA/>`__.
8788
#) Connectivity and interoperability with Oracle Database and Oracle Client
@@ -135,7 +136,7 @@ Common Changes
135136

136137
#) Pre-built binaries are now being created for Python 3.14. Note this Python
137138
version is currently in release candidate phase.
138-
#) Added support for Oracle Database 23ai :ref:`Sessionless Transactions
139+
#) Added support for Oracle Database 23.6 :ref:`Sessionless Transactions
139140
<sessionlesstxns>`.
140141
#) Changes to :ref:`data frame <dataframeformat>` support:
141142

@@ -166,7 +167,7 @@ Common Changes
166167
- Fixed bug when fetching numeric data with precision that exceeds 38 as
167168
decimal data.
168169
- Fixed bug when fetching large amounts of data in one round-trip when
169-
using asyncio with Oracle Database versions before 23ai.
170+
using asyncio with Oracle Database 21c and earlier.
170171

171172
Note the data frame support in python-oracledb 3.3 is a pre-release, and
172173
may change in a future version.
@@ -193,8 +194,8 @@ Thin Mode Changes
193194
closed connection
194195
(`issue 482 <https://github.com/oracle/python-oracledb/issues/482>`__).
195196
#) Fixed bug when connecting with asyncio using the parameter ``https_proxy``.
196-
#) Fixed bug when fetching LOBs with asyncio from databases prior to Oracle
197-
Database 23ai
197+
#) Fixed bug when fetching LOBs with asyncio from Oracle Database 21c and
198+
earlier
198199
(`issue 500 <https://github.com/oracle/python-oracledb/issues/500>`__).
199200
#) Fixed regression when connecting where only the host specified by the
200201
``https_proxy`` parameter can successfully perform name resolution.
@@ -243,7 +244,7 @@ Common Changes
243244
(`issue 505 <https://github.com/oracle/python-oracledb/issues/505>`__).
244245

245246
#) Added parameter ``pool_name`` to connection and pool creation methods to
246-
support Oracle Database 23ai multi-pool :ref:`drcp`.
247+
support Oracle Database 23.4 multi-pool :ref:`drcp`.
247248
#) :ref:`GitHub Action <installghactions>` workflow updates:
248249

249250
- Use GitHub Arm Linux runner for builds. Supplied by wojiushixiaobai
@@ -705,13 +706,13 @@ oracledb `2.4.0 <https://github.com/oracle/python-oracledb/compare/v2.3.0...v2.4
705706
Thin Mode Changes
706707
+++++++++++++++++
707708

708-
#) Added support for Oracle Database 23ai :ref:`statement pipelining
709+
#) Added support for Oracle Database 23.4 :ref:`statement pipelining
709710
<pipelining>`.
710711
#) Fixed bug resulting in a segfault when a closed cursor is bound as a REF
711712
CURSOR
712713
(`issue 368 <https://github.com/oracle/python-oracledb/issues/368>`__).
713-
#) Fixed bug resulting in an inability to connect to Oracle Database 23ai
714-
instances which have fast authentication disabled.
714+
#) Fixed bug resulting in an inability to connect to Oracle Database version
715+
23 instances which have fast authentication disabled.
715716
#) Fixed error message when idle time is exceeded by a connection. The error
716717
``DPY-4033: the database closed the connection because the connection's
717718
idle time has been exceeded`` is now raised when this situation is
@@ -787,7 +788,7 @@ Thick Mode Changes
787788
Common Changes
788789
++++++++++++++
789790

790-
#) Added support for Oracle Database 23ai
791+
#) Added support for Oracle Database 23.5
791792
:ref:`BINARY vector format <binaryformat>`.
792793
#) Replaced integer constants for
793794
:ref:`connection authorization modes <connection-authorization-modes>`,
@@ -888,12 +889,12 @@ Thin Mode Changes
888889
#) Fixed bug that would cause an internal error to be raised when attempting
889890
to close a connection that has been forcibly closed by the database.
890891
#) Internal change: further efforts to tighten code looking for the end of a
891-
database request made to Oracle Database 23ai.
892+
database request made to Oracle Database version 23.
892893

893894
Common Changes
894895
++++++++++++++
895896

896-
#) Added support for Oracle Database 23ai columns of type :ref:`VECTOR
897+
#) Added support for Oracle Database 23.4 columns of type :ref:`VECTOR
897898
<vectors>`.
898899
#) Added support for columns of type INTERVAL YEAR TO MONTH which can be
899900
represented in Python by instances of the new
@@ -962,7 +963,7 @@ oracledb `2.1.0 <https://github.com/oracle/python-oracledb/compare/v2.0.1...v2.1
962963
Thin Mode Changes
963964
+++++++++++++++++
964965

965-
#) Oracle Database 23ai feature support:
966+
#) Oracle Database version 23 feature support:
966967

967968
- Added support for
968969
:ref:`implicit connection pooling with DRCP and PRCP <implicitconnpool>`,
@@ -1010,8 +1011,8 @@ Thin Mode Changes
10101011
Thick Mode Changes
10111012
++++++++++++++++++
10121013

1013-
#) Added support for internal use of JSON in SODA with Oracle Client 23. This
1014-
allows for seamless transfer of extended data types.
1014+
#) Added support for internal use of JSON in SODA with Oracle Client version
1015+
23. This allows for seamless transfer of extended data types.
10151016
#) Fixed bug when calling :meth:`SodaDoc.getContent()` for SODA documents
10161017
that do not contain JSON.
10171018
#) Corrected support for Oracle Sharding.
@@ -1031,7 +1032,7 @@ Common Changes
10311032
returned by SODA in Oracle Database 23.4 and later in the ``_id``
10321033
attribute of documents stored in native collections.
10331034
#) Added support for columns of type VECTOR usable with a limited
1034-
availability release of Oracle Database 23.
1035+
availability release of Oracle Database version 23.
10351036
#) Errors raised when calling :meth:`Cursor.executemany()` with PL/SQL now
10361037
have the :data:`oracledb._Error.offset` attribute populated with the last
10371038
iteration that succeeded
@@ -1126,8 +1127,8 @@ Thin Mode Changes
11261127
#) Added parameter :data:`ConnectParams.ssl_context` to modify the SSL context
11271128
used when connecting via TLS
11281129
(`issue 259 <https://github.com/oracle/python-oracledb/issues/259>`__).
1129-
#) Added support for an Oracle Database 23ai JSON feature allowing field names
1130-
with more than 255 UTF-8 encoded bytes.
1130+
#) Added support for an Oracle Database version 23 JSON feature allowing
1131+
fieldnames with more than 255 UTF-8 encoded bytes.
11311132
#) Added support for the ``FAILOVER`` clause in full connect descriptors.
11321133
#) Fixed bug in detecting the current time zone
11331134
(`issue 257 <https://github.com/oracle/python-oracledb/issues/257>`__).
@@ -1137,8 +1138,8 @@ Thin Mode Changes
11371138
multiple line comments with multiple asterisks before the closing slash.
11381139
#) A more meaningful error is raised when the wrong type of data is passed to
11391140
:meth:`LOB.write()`.
1140-
#) Internal change to support an Oracle Database 23ai JSON feature improving
1141-
JSON storage usage.
1141+
#) Internal change to support an Oracle Database version 23 JSON feature
1142+
improving JSON storage usage.
11421143
#) Internal change to ensure that all connections in a pool have been closed
11431144
gracefully before the pool is closed.
11441145
#) Internal changes to improve handling of the network protocol between
@@ -1175,8 +1176,9 @@ Common Changes
11751176
17D3A9C6-D993-4E94-BF6B-CACA56581F41>`__ and `annotations
11761177
<https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-1AC16117-
11771178
BBB6-4435-8794-2B99F8F68052>`__ associated with columns that are being
1178-
fetched. SQL domains and annotations require Oracle Database 23ai. If using
1179-
python-oracledb Thick mode, Oracle Client 23ai is also required.
1179+
fetched. SQL domains and annotations require Oracle Database version 23,
1180+
or later. If using python-oracledb Thick mode, Oracle Client version 23,
1181+
or later, is also required.
11801182
#) Added parameter ``data`` to :meth:`Connection.createlob()` to allow data to
11811183
be written at LOB creation time.
11821184
#) Added type :data:`~oracledb.DB_TYPE_XMLTYPE` to represent data of type
@@ -1196,7 +1198,7 @@ Common Changes
11961198
#) Errors that have entries in the
11971199
:ref:`troubleshooting documentation <troubleshooting>` now have links to
11981200
that documentation shown in the message text.
1199-
#) Fixed bug with binding boolean values with Oracle Database 23ai
1201+
#) Fixed bug with binding boolean values with Oracle Database version 23
12001202
(`issue 263 <https://github.com/oracle/python-oracledb/issues/263>`__).
12011203
#) Fixed bug with getting unknown attributes from :ref:`Oracle Object
12021204
<dbobject>` instances.
@@ -1266,9 +1268,9 @@ oracledb `1.4.0 <https://github.com/oracle/python-oracledb/compare/v1.3.2...v1.4
12661268
Thin Mode Changes
12671269
+++++++++++++++++
12681270

1269-
#) Added support for an Oracle Database 23ai feature that can improve the
1270-
performance of connection creation by reducing the number of round trips
1271-
required to create the second and subsequent connections to the same
1271+
#) Added support for an Oracle Database version 23 feature that can improve
1272+
the performance of connection creation by reducing the number of round
1273+
trips required to create the second and subsequent connections to the same
12721274
database.
12731275
#) Added support for shrinking the connection pool back to the specified
12741276
minimum size when the pool is idle for :data:`ConnectionPool.timeout`
@@ -1280,13 +1282,13 @@ Thin Mode Changes
12801282
created. The default connection class will be of the form ``DPY:`` followed
12811283
by a 16-byte unique identifier converted to base64 encoding.
12821284
#) Changed internal connection feature negotiation for more accurate Oracle
1283-
Database 23ai support.
1285+
Database version 23 support.
12841286
#) Added support for sending a generated connection identifier to the
12851287
database used for tracing. An application specific prefix is prepended to
12861288
this value if specified via a new ``connection_id_prefix`` parameter when
12871289
creating standalone connections or connection pools.
12881290
#) Added URL to the Oracle Database Error Help Portal in Oracle Database
1289-
error messages similar to when Thick mode uses Oracle Client 23ai.
1291+
error messages similar to when Thick mode uses Oracle Client version 23.
12901292
#) Added support for the ``ORA_SDTZ`` environment variable used to set the
12911293
session time zone used by the database.
12921294
#) Fixed bug when a dynamically sized connection pool is created with an
@@ -1360,8 +1362,8 @@ Common Changes
13601362
same value as the SQL expression
13611363
``sys_context('userenv', 'instance_name')``.
13621364
#) Added support for relational queries on the underlying tables of SODA
1363-
collections created in Oracle Database 23ai if they contain JSON documents
1364-
with embedded OIDs.
1365+
collections created in Oracle Database version 23 if they contain JSON
1366+
documents with embedded OIDs.
13651367
#) Automatically retry a query if the error ``ORA-00932: inconsistent data
13661368
types`` is raised (which can occur if a table or view is recreated with a
13671369
data type that is incompatible with the column's previous data type).
@@ -1392,7 +1394,7 @@ Thin Mode Changes
13921394
#) Fixed bug which could cause a redirect loop with improperly configured
13931395
listener redirects.
13941396
#) Fixed bug when executing PL/SQL with a large number of binds.
1395-
#) Fixed bug when using DRCP with Oracle Database 23ai.
1397+
#) Fixed bug when using DRCP with Oracle Database version 23
13961398

13971399
Thick Mode Changes
13981400
++++++++++++++++++
@@ -1420,8 +1422,8 @@ Thin Mode Changes
14201422

14211423
#) Improved performance of regular expressions used for parsing SQL
14221424
(`issue 172 <https://github.com/oracle/python-oracledb/issues/172>`__).
1423-
#) Fixed bug with Oracle Database 23ai when SQL is executed after first being
1424-
parsed.
1425+
#) Fixed bug with Oracle Database version 23 when SQL is executed after first
1426+
being parsed.
14251427
#) Fixed bug when :data:`ConnectionPool.timeout` is not *None* when creating a
14261428
connection pool
14271429
(`issue 166 <https://github.com/oracle/python-oracledb/issues/166>`__).

doc/src/user_guide/appendix_a.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ For more details see :ref:`driverdiff` and :ref:`upgrading83`.
169169
- Yes
170170
- Yes
171171
- Yes
172-
* - Oracle Database 23ai Implicit Connection Pooling with :ref:`DRCP <drcp>` and PRCP (see :ref:`implicitconnpool`)
172+
* - Oracle Database version 23 Implicit Connection Pooling with :ref:`DRCP <drcp>` and PRCP (see :ref:`implicitconnpool`)
173173
- Yes
174174
- Yes
175175
- No
@@ -249,7 +249,7 @@ For more details see :ref:`driverdiff` and :ref:`upgrading83`.
249249
- Yes
250250
- No
251251
- No
252-
* - Oracle Database 23ai JSON-Relational Duality Views (see :ref:`jsondualityviews`)
252+
* - Oracle Database version 23 JSON-Relational Duality Views (see :ref:`jsondualityviews`)
253253
- Yes
254254
- Yes
255255
- No
@@ -309,7 +309,7 @@ For more details see :ref:`driverdiff` and :ref:`upgrading83`.
309309
- Yes
310310
- No
311311
- No
312-
* - Oracle Database 23ai Pipelining (see :ref:`pipelining`)
312+
* - Oracle Database version 23 Pipelining (see :ref:`pipelining`)
313313
- Yes
314314
- No
315315
- No
@@ -325,7 +325,7 @@ For more details see :ref:`driverdiff` and :ref:`upgrading83`.
325325
- Yes
326326
- Yes
327327
- Yes
328-
* - Oracle Database 23ai Sessionless Transactions (see :ref:`sessionlesstxns`)
328+
* - Oracle Database version 23 Sessionless Transactions (see :ref:`sessionlesstxns`)
329329
- Yes
330330
- Yes
331331
- No
@@ -401,7 +401,7 @@ example when binding numeric values.
401401
- :data:`~oracledb.DB_TYPE_DATE`
402402
- datetime.date, datetime.datetime
403403
- No relevant notes
404-
* - BOOLEAN (PL/SQL and Oracle Database 23ai SQL)
404+
* - BOOLEAN (PL/SQL and Oracle Database version 23 SQL)
405405
- :data:`~oracledb.DB_TYPE_BOOLEAN`
406406
- Any type convertible to bool
407407
- No relevant notes

doc/src/user_guide/aq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ types which are detailed below.
4848
Array enqueuing and dequeuing is not supported for JSON payloads.
4949
* - JMS
5050
- Supported
51-
- Supported for single and array message enqueuing and dequeuing when using Oracle Client 19c (or later) and Oracle Database 23ai.
51+
- Supported for single and array message enqueuing and dequeuing when using Oracle Client 19 (or later) and Oracle Database version 23 (or later).
5252

5353
**Usage Notes**
5454

doc/src/user_guide/asyncio.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,8 @@ about Oracle Database Pipelining.
381381

382382
.. note::
383383

384-
True pipelining only occurs when you are connected to Oracle Database 23ai.
384+
True pipelining only occurs when you are connected to Oracle Database
385+
version 23, or later.
385386

386387
When you connect to an older database, operations are sequentially
387388
executed by python-oracledb. Each operation concludes before the next is

0 commit comments

Comments
 (0)