Skip to content

Commit 5311008

Browse files
Tweak release notes for consistency.
1 parent 9d04d8b commit 5311008

File tree

1 file changed

+45
-45
lines changed

1 file changed

+45
-45
lines changed

Diff for: doc/src/release_notes.rst

+45-45
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Common Changes
6464
#) Improvements to data frame fetching with :meth:`Connection.fetch_df_all()`
6565
and :meth:`Connection.fetch_df_batches()`:
6666

67-
- Added support for CLOB, BLOB and RAW data types
67+
- Added support for CLOB, BLOB, and RAW data types
6868
- Fixed support for BOOLEAN data type
6969
- Fixed bug when NUMBER data is fetched that does not have a precision or
7070
scale specified and :attr:`defaults.fetch_decimals` is set to *True*.
@@ -84,13 +84,13 @@ Common Changes
8484
a DML RETURNING statement.
8585
#) An error message that links to :ref:`documentation <ldapconnections>` on
8686
setting up a protocol hook function is now returned by default for LDAP and
87-
LDAPS URL connection strings in python-oracledb thin mode, or when
87+
LDAPS URL connection strings in python-oracledb Thin mode, or when
8888
:attr:`defaults.thick_mode_dsn_passthrough` is *False*.
8989
#) Error ``DPY-2062: payload cannot be enqueued since it does not match the
9090
payload type supported by the queue`` is now raised when the payload of a
9191
message being enqueued is not supported by the queue. Previously,
9292
python-oracledb Thick mode raised the error ``DPI-1071: payload type in
93-
message properties must match the payload type of the queue`` and thin mode
93+
message properties must match the payload type of the queue`` and Thin mode
9494
raised an internal error.
9595
#) Improved the test suite and documentation.
9696

@@ -243,7 +243,7 @@ Common Changes
243243
(`issue 458 <https://github.com/oracle/python-oracledb/issues/458>`__).
244244
#) Error ``DPY-2053: python-oracledb thin mode cannot be used because thick
245245
mode has already been enabled`` is now raised when attempting to use
246-
asyncio in thick mode
246+
asyncio in Thick mode
247247
(`issue 448 <https://github.com/oracle/python-oracledb/issues/448>`__).
248248
#) Error ``DPY-2056: registered handler for protocol "{protocol}" failed for
249249
arg "{arg}"`` is now raised when an exception occurs when calling the
@@ -458,8 +458,8 @@ Common Changes
458458
different connection. Previously, the attempt may have succeeded or may
459459
have failed with a number of different unexpected exceptions.
460460
#) Error ``DPY-1006: cursor is not open`` is now raised consistently when
461-
attempting to bind a closed cursor. Previously, thin mode would result in a
462-
segfault and thick mode would result in unusual errors.
461+
attempting to bind a closed cursor. Previously, Thin mode would result in a
462+
segfault and Thick mode would result in unusual errors.
463463

464464

465465
oracledb 2.3.0 (July 2024)
@@ -546,7 +546,7 @@ Common Changes
546546
:data:`oracledb.POOL_GETMODE_TIMEDWAIT` and the timeout expires.
547547
Previously ``asyncio.TimeoutError`` was being raised when using
548548
:ref:`asyncio <asyncio>` and ``ORA-24457: OCISessionGet() could not find a
549-
free session in the specified timeout period`` was being raised in thick
549+
free session in the specified timeout period`` was being raised in Thick
550550
mode.
551551
#) If both the ``sid`` and ``service_name`` parameters are specified to
552552
:meth:`oracledb.makedsn()`, now only the ``service_name`` parameter is
@@ -912,7 +912,7 @@ Common Changes
912912
#) Error ``DPY-4029: errors in array DML exceed 65535`` is now raised when the
913913
number of batch errors exceeds 65535 when calling
914914
:meth:`Cursor.executemany()` with the parameter ``batcherrors`` set to the
915-
value ``True``. Note that in thick mode this error is not raised unless the
915+
value *True*. Note that in Thick mode this error is not raised unless the
916916
number of batch errors is a multiple of 65536; instead, the number of batch
917917
errors returned is modulo 65536
918918
(`issue 262 <https://github.com/oracle/python-oracledb/issues/262>`__).
@@ -963,8 +963,8 @@ Common Changes
963963
(`issue 217 <https://github.com/oracle/python-oracledb/issues/217>`__).
964964
#) SQL statement parsing now raises ``DPY-2041: missing ending quote (') in
965965
string`` or ``DPY-2042: missing ending quote (") in identifier`` for
966-
statements with the noted invalid syntax. Previously, thick mode gave
967-
``ORA-1756`` or ``ORA-1740``, respectively, while thin mode did not throw
966+
statements with the noted invalid syntax. Previously, Thick mode gave
967+
``ORA-1756`` or ``ORA-1740``, respectively, while Thin mode did not throw
968968
an error.
969969
#) Added missing ">" to ``repr()`` of :ref:`sodadb`.
970970

@@ -1059,7 +1059,7 @@ Common Changes
10591059
#) Added support for fetching VARCHAR2 and LOB columns which contain JSON (and
10601060
have the "IS JSON" check constraint enabled) in the same way as columns of
10611061
type JSON (which requires Oracle Database 21c or higher) are fetched. In
1062-
thick mode this requires Oracle Client 19c or higher. The attribute
1062+
Thick mode this requires Oracle Client 19c or higher. The attribute
10631063
``oracledb.__future__.old_json_col_as_obj`` must be set to the value
10641064
``True`` for this behavior to occur. In version 2.0 this will become the
10651065
normal behavior and setting this attribute will no longer be needed.
@@ -1162,7 +1162,7 @@ Thin Mode Changes
11621162
#) Added support for connecting to databases that accept passwords longer than
11631163
30 UTF-8 encoded bytes.
11641164
#) Detect the time zone on the OS and set the session timezone using this
1165-
value to be consistent with thick mode
1165+
value to be consistent with Thick mode
11661166
(`issue 144 <https://github.com/oracle/python-oracledb/issues/144>`__).
11671167
#) Improved BOOLEAN handling.
11681168
#) Error ``DPY-6005: cannot connect to database`` is now raised for all
@@ -1204,7 +1204,7 @@ Thin Mode Changes
12041204
of times any session callback must be invoked, and allow connections to
12051205
be timed out.
12061206
- Removed packet for negotiating network services which are not supported
1207-
in thin mode.
1207+
in Thin mode.
12081208
- Removed unneeded packet for changing the password of the connected user.
12091209

12101210

@@ -1229,22 +1229,22 @@ Common Changes
12291229
#) Added method :meth:`ConnectParams.parse_dsn_with_credentials()` for parsing
12301230
a DSN that contains credentials.
12311231
#) Error ``DPY-2038: element at index {index} does not exist`` is now raised
1232-
whenever an element in a database collection is missing. Previously, thick
1233-
mode raised ``DPI-1024: element at index {index} does not exist`` and thin
1232+
whenever an element in a database collection is missing. Previously, Thick
1233+
mode raised ``DPI-1024: element at index {index} does not exist`` and Thin
12341234
mode raised ``KeyError`` or ``IndexError``.
12351235
#) Error ``DPY-2039: given index {index} must be in the range of {min_index}
12361236
to {max_index}`` is now raised whenever an element in a database collection
1237-
is set outside the bounds of the collection. Previously, thick mode raised
1237+
is set outside the bounds of the collection. Previously, Thick mode raised
12381238
``OCI-22165: given index [{index}] must be in the range of [{min_index}] to
1239-
[{max_index}]`` and thin mode raised ``IndexError``.
1239+
[{max_index}]`` and Thin mode raised ``IndexError``.
12401240
#) Error ``DPY-2040: parameters "batcherrors" and "arraydmlrowcounts" may only
12411241
be true when used with insert, update, delete and merge statements`` is now
1242-
raised when either of the parameters `batcherrors` and `arraydmlrowcounts`
1243-
is set to the value `True` when calling :meth:`Cursor.executemany()`.
1244-
Previously, thick mode raised ``DPI-1063: modes DPI_MODE_EXEC_BATCH_ERRORS
1245-
and DPI_MODE_EXEC_ARRAY_DML_ROWCOUNTS can only be used with insert, update,
1246-
delete and merge statements`` and thin mode raised
1247-
``ORA-03137: malformed TTC packet from client rejected``
1242+
raised when either of the parameters ``batcherrors`` and
1243+
``arraydmlrowcounts`` is set to the value `True` when calling
1244+
:meth:`Cursor.executemany()`. Previously, Thick mode raised ``DPI-1063:
1245+
modes DPI_MODE_EXEC_BATCH_ERRORS and DPI_MODE_EXEC_ARRAY_DML_ROWCOUNTS can
1246+
only be used with insert, update, delete and merge statements`` and Thin
1247+
mode raised ``ORA-03137: malformed TTC packet from client rejected``
12481248
(`issue 128 <https://github.com/oracle/python-oracledb/issues/128>`__).
12491249
#) Internal changes to ensure that errors taking place while raising
12501250
exceptions are handled more gracefully.
@@ -1406,7 +1406,7 @@ Thin Mode Changes
14061406

14071407
#) Added support for getting the LOB chunk size
14081408
(`issue 14 <https://github.com/oracle/python-oracledb/issues/14>`__).
1409-
#) The error `DPY-2030: LOB offset must be greater than zero` is now raised
1409+
#) The error ``DPY-2030: LOB offset must be greater than zero`` is now raised
14101410
when the offset parameter to :func:`LOB.read()` is zero or negative
14111411
(`issue 13 <https://github.com/oracle/python-oracledb/issues/13>`__).
14121412
#) Internally, before a connection is returned from a pool, check for control
@@ -1421,8 +1421,8 @@ Thin Mode Changes
14211421
when connecting to a database that the listener configuration file states
14221422
exists but actually doesn't
14231423
(`issue 51 <https://github.com/oracle/python-oracledb/issues/51>`__).
1424-
#) The error `DPY-3016: python-oracledb thin mode cannot be used because the
1425-
cryptography package is not installed` is now raised when the cryptography
1424+
#) The error ``DPY-3016: python-oracledb thin mode cannot be used because the
1425+
cryptography package is not installed`` is now raised when the cryptography
14261426
package is not installed, instead of an ImportError. This allows platforms
14271427
that are not capable of building the cryptography package to still use
14281428
Thick mode.
@@ -1458,8 +1458,8 @@ oracledb 1.0.3 (August 2022)
14581458
Thin Mode Changes
14591459
+++++++++++++++++
14601460

1461-
#) The error `DPY-3015: password verifier type is not supported by
1462-
python-oracledb in thin mode` is now raised when
1461+
#) The error ``DPY-3015: password verifier type is not supported by
1462+
python-oracledb in thin mode`` is now raised when
14631463
the database sends a password challenge with a verifier type that is not
14641464
recognized, instead of `ORA-01017: invalid username/password`
14651465
(`issue 26 <https://github.com/oracle/python-oracledb/issues/26>`__).
@@ -1525,7 +1525,7 @@ Thin Mode Changes
15251525
#) Fixed connection retry count handling to work in cases where the database
15261526
listener is running but the service is down
15271527
(`issue 3 <https://github.com/oracle/python-oracledb/issues/3>`__).
1528-
#) Return the same value for TIMESTAMP WITH TIME ZONE columns as thick mode
1528+
#) Return the same value for TIMESTAMP WITH TIME ZONE columns as Thick mode
15291529
(`issue 7 <https://github.com/oracle/python-oracledb/issues/7>`__).
15301530
#) Fixed order in which bind data is sent to the server when LONG and
15311531
non-LONG column data is interspersed
@@ -1692,10 +1692,10 @@ cx_Oracle 8.2 (May 2021)
16921692
Initial work was done in `PR 549
16931693
<https://github.com/oracle/python-cx_Oracle/pull/549>`__.
16941694
#) Enhanced dead connection detection. If an Oracle Database error indicates
1695-
that a connection is no longer usable, the error `DPI-1080: connection was
1696-
closed by ORA-%d` is now returned. The `%d` will be the Oracle error
1695+
that a connection is no longer usable, the error ``DPI-1080: connection was
1696+
closed by ORA-%d`` is now returned. The `%d` will be the Oracle error
16971697
causing the connection to be closed. Using the connection after this will
1698-
give `DPI-1010: not connected`. This behavior also applies for
1698+
give ``DPI-1010: not connected``. This behavior also applies for
16991699
:data:`Connection.call_timeout` errors that result in an unusable
17001700
connection.
17011701
#) Eliminated a memory leak when calling :meth:`SodaOperation.filter()` with a
@@ -2177,8 +2177,8 @@ cx_Oracle 6.4.1 (July 2018)
21772177
Oracle number format
21782178
(`ODPI-C issue 67 <https://github.com/oracle/odpi/issues/67>`__).
21792179

2180-
#) Prevent error "cx_Oracle.ProgrammingError: positional and named binds
2181-
cannot be intermixed" when calling cursor.setinputsizes() without any
2180+
#) Prevent error ``cx_Oracle.ProgrammingError: positional and named binds
2181+
cannot be intermixed`` when calling cursor.setinputsizes() without any
21822182
parameters and then calling cursor.execute() with named bind parameters
21832183
(`issue 199 <https://github.com/oracle/python-cx_Oracle/issues/199>`__).
21842184

@@ -2221,7 +2221,7 @@ cx_Oracle 6.4 (July 2018)
22212221
(`issue 193 <https://github.com/oracle/python-cx_Oracle/issues/193>`__).
22222222
- If the statement should be deleted from the statement cache, first check
22232223
to see that there is a statement cache currently being used; otherwise,
2224-
the error "ORA-24300: bad value for mode" will be raised under certain
2224+
the error ``ORA-24300: bad value for mode`` will be raised under certain
22252225
conditions.
22262226

22272227
#) Added support for using the cursor as a context manager
@@ -2278,8 +2278,8 @@ cx_Oracle 6.3 (April 2018)
22782278
- Fixed binding of LONG data (values exceeding 32KB) when using the
22792279
function :meth:`Cursor.executemany()`.
22802280
- Added code to verify that a CQN subscription is open before permitting it
2281-
to be used. Error "DPI-1060: subscription was already closed" will now be
2282-
raised if an attempt is made to use a subscription that was closed
2281+
to be used. Error ``DPI-1060: subscription was already closed`` will now
2282+
be raised if an attempt is made to use a subscription that was closed
22832283
earlier.
22842284
- Stopped attempting to unregister a CQN subscription before it was
22852285
completely registered. This prevents errors encountered during
@@ -2345,8 +2345,8 @@ cx_Oracle 6.2 (March 2018)
23452345
<https://oracle.github.io/odpi/doc/releasenotes.html#
23462346
version-2-2-1-march-5-2018>`__.
23472347

2348-
- eliminate error "DPI-1054: connection cannot be closed when open
2349-
statements or LOBs exist" (`issue 138
2348+
- eliminate error ``DPI-1054: connection cannot be closed when open
2349+
statements or LOBs exist`` (`issue 138
23502350
<https://github.com/oracle/python-cx_Oracle/issues/138>`__).
23512351
- avoid a round trip to the database when a connection is released back to
23522352
the pool by preventing a rollback from being called when no transaction
@@ -2463,7 +2463,7 @@ cx_Oracle 6.0.3 (November 2017)
24632463
- Prevent use of uninitialized data in certain cases (`issue 77
24642464
<https://github.com/oracle/python-cx_Oracle/issues/77>`__).
24652465
- Attempting to ping a database earlier than 10g results in error
2466-
"ORA-1010: invalid OCI operation", but that implies a response from the
2466+
``ORA-1010: invalid OCI operation``, but that implies a response from the
24672467
database and therefore a successful ping, so treat it that way!
24682468
- Correct handling of conversion of some numbers to NATIVE_FLOAT.
24692469
- Prevent use of NaN with Oracle numbers since it produces corrupt data
@@ -2536,11 +2536,11 @@ cx_Oracle 6.0 (August 2017)
25362536
#version-2-0-august-14-2017>`__.
25372537

25382538
- Prevent closing the connection when there are any open statements or
2539-
LOBs and add new error "DPI-1054: connection cannot be closed when open
2540-
statements or LOBs exist" when this situation is detected; this is
2541-
needed to prevent crashes under certain conditions when statements or
2542-
LOBs are being acted upon while at the same time (in another thread) a
2543-
connection is being closed; it also prevents leaks of statements and
2539+
LOBs and add new error ``DPI-1054: connection cannot be closed when
2540+
open statements or LOBs exist`` when this situation is detected; this
2541+
is needed to prevent crashes under certain conditions when statements
2542+
or LOBs are being acted upon while at the same time (in another thread)
2543+
a connection is being closed; it also prevents leaks of statements and
25442544
LOBs when a connection is returned to a session pool.
25452545
- On platforms other than Windows, if the regular method for loading the
25462546
Oracle Client libraries fails, try using $ORACLE_HOME/lib/libclntsh.so

0 commit comments

Comments
 (0)