Skip to content

Commit dec87f1

Browse files
Releasing version 2.139.0
Releasing version 2.139.0
2 parents 22fd62c + 662d0e3 commit dec87f1

File tree

97 files changed

+14709
-10201
lines changed

Some content is hidden

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

97 files changed

+14709
-10201
lines changed

CHANGELOG.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,32 @@ Change Log
33
All notable changes to this project will be documented in this file.
44

55
The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
6+
====================
7+
2.139.0 - 2024-11-19
8+
====================
9+
10+
Added
11+
-----
12+
* Support for optional parameters for unified auditing in the Database service
13+
* Support for user groups for creating technical requests in the Support Management service
14+
* Support for additional checksum algorithms (SHA-256, SHA-384, CRC32C) in the Object Storage service
15+
* Support for single Read Only (RO) endpoint for the read replicas in the PostgreSQL service
16+
* Support for exascale database vaults in the Database service
17+
* Support for virtual machine clusters with database vaults in the Database service
18+
* Support for N3-Gi version in the Database service
19+
20+
Changed
21+
-------
22+
* The vendored library idna was upgraded from version `2.10` to `3.10`
23+
* The vendored library urllib3 was upgraded from version `1.26.9` to `1.26.20`
24+
25+
Breaking
26+
--------
27+
* The property `sub_components` was removed from the model `SubCategories` in the Customer Incident Management Service
28+
* The constants `LIMIT_STATUS_APPROVED`, `LIMIT_STATUS_PARTIALLY_APPROVED`, `LIMIT_STATUS_NOT_APPROVED`, `LIMIT_STATUS_REJECTED` were removed from the model `CreateLimitItemDetails` in the Customer Incident Management Service
29+
* The property `limit_status` was removed from the model `CreateLimitItemDetails` in the Customer Incident Management Service
30+
* The model `ServiceCategories` was removed from the Customer Incident Management Service
31+
632
====================
733
2.138.1 - 2024-11-12
834
====================

THIRD_PARTY_LICENSES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ httpsig_cffi
7373
* Project home: https://github.com/hawkowl/httpsig_cffi
7474

7575
idna
76-
* Copyright (c) 2013-2021, Kim Davies All rights reserved
76+
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
7777
* License: BSD 3-Clause "New" or "Revised" License
7878
* Source code: https://github.com/kjd/idna
7979
* Project home: https://github.com/kjd/idna

THIRD_PARTY_LICENSES_DEV.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ httpsig_cffi
163163
* Project home: https://github.com/hawkowl/httpsig_cffi
164164

165165
idna
166-
* Copyright (c) 2013-2021, Kim Davies All rights reserved
166+
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
167167
* License: BSD 3-Clause "New" or "Revised" License
168168
* Source code: https://github.com/kjd/idna
169169
* Project home: https://github.com/kjd/idna

docs/api/cims.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ Cims
2222
oci.cims.models.ActivityItem
2323
oci.cims.models.Category
2424
oci.cims.models.Classifier
25+
oci.cims.models.CmosUserGroupInfo
2526
oci.cims.models.Contact
2627
oci.cims.models.ContactList
2728
oci.cims.models.ContextualData
@@ -44,8 +45,8 @@ Cims
4445
oci.cims.models.Item
4546
oci.cims.models.LimitItem
4647
oci.cims.models.Resource
47-
oci.cims.models.ServiceCategories
4848
oci.cims.models.ServiceCategory
49+
oci.cims.models.Services
4950
oci.cims.models.Status
5051
oci.cims.models.SubCategories
5152
oci.cims.models.SubCategory

docs/api/cims/models/oci.cims.models.ServiceCategories.rst renamed to docs/api/cims/models/oci.cims.models.CmosUserGroupInfo.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
ServiceCategories
1+
CmosUserGroupInfo
22
=================
33

44
.. currentmodule:: oci.cims.models
55

6-
.. autoclass:: ServiceCategories
6+
.. autoclass:: CmosUserGroupInfo
77
:show-inheritance:
88
:special-members: __init__
99
:members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Services
2+
========
3+
4+
.. currentmodule:: oci.cims.models
5+
6+
.. autoclass:: Services
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

docs/api/database.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ Database
122122
oci.database.models.CompleteExternalBackupJobDetails
123123
oci.database.models.ComputePerformanceSummary
124124
oci.database.models.ConfigureAutonomousDatabaseVaultKeyDetails
125+
oci.database.models.ConfigureExascaleExadataInfrastructureDetails
125126
oci.database.models.ConfigureSaasAdminUserDetails
126127
oci.database.models.ConsoleConnection
127128
oci.database.models.ConsoleConnectionSummary
@@ -286,6 +287,7 @@ Database
286287
oci.database.models.ExadbVmClusterUpdateHistoryEntry
287288
oci.database.models.ExadbVmClusterUpdateHistoryEntrySummary
288289
oci.database.models.ExadbVmClusterUpdateSummary
290+
oci.database.models.ExascaleConfigDetails
289291
oci.database.models.ExascaleDbStorageDetails
290292
oci.database.models.ExascaleDbStorageInputDetails
291293
oci.database.models.ExascaleDbStorageVault
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ConfigureExascaleExadataInfrastructureDetails
2+
=============================================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: ConfigureExascaleExadataInfrastructureDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
ExascaleConfigDetails
2+
=====================
3+
4+
.. currentmodule:: oci.database.models
5+
6+
.. autoclass:: ExascaleConfigDetails
7+
:show-inheritance:
8+
:special-members: __init__
9+
:members:
10+
:undoc-members:
11+
:inherited-members:

src/oci/_vendor/idna/__init__.py

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,50 @@
11
# coding: utf-8
22
# Modified Work: Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4-
# Copyright (c) 2013-2018, Kim Davies. All rights reserved.
4+
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
55

6+
from .core import (
7+
IDNABidiError,
8+
IDNAError,
9+
InvalidCodepoint,
10+
InvalidCodepointContext,
11+
alabel,
12+
check_bidi,
13+
check_hyphen_ok,
14+
check_initial_combiner,
15+
check_label,
16+
check_nfc,
17+
decode,
18+
encode,
19+
ulabel,
20+
uts46_remap,
21+
valid_contextj,
22+
valid_contexto,
23+
valid_label_length,
24+
valid_string_length,
25+
)
26+
from .intranges import intranges_contain
627
from .package_data import __version__
7-
from .core import *
28+
29+
__all__ = [
30+
"__version__",
31+
"IDNABidiError",
32+
"IDNAError",
33+
"InvalidCodepoint",
34+
"InvalidCodepointContext",
35+
"alabel",
36+
"check_bidi",
37+
"check_hyphen_ok",
38+
"check_initial_combiner",
39+
"check_label",
40+
"check_nfc",
41+
"decode",
42+
"encode",
43+
"intranges_contain",
44+
"ulabel",
45+
"uts46_remap",
46+
"valid_contextj",
47+
"valid_contexto",
48+
"valid_label_length",
49+
"valid_string_length",
50+
]

src/oci/_vendor/idna/codec.py

Lines changed: 47 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,56 @@
11
# coding: utf-8
22
# Modified Work: Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4-
# Copyright (c) 2013-2018, Kim Davies. All rights reserved.
4+
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
55

6-
from .core import encode, decode, alabel, ulabel, IDNAError
76
import codecs
87
import re
8+
from typing import Any, Optional, Tuple
99

10-
_unicode_dots_re = re.compile(u'[\u002e\u3002\uff0e\uff61]')
10+
from .core import IDNAError, alabel, decode, encode, ulabel
1111

12-
class Codec(codecs.Codec):
12+
_unicode_dots_re = re.compile("[\u002e\u3002\uff0e\uff61]")
1313

14-
def encode(self, data, errors='strict'):
1514

16-
if errors != 'strict':
17-
raise IDNAError("Unsupported error handling \"{0}\"".format(errors))
15+
class Codec(codecs.Codec):
16+
def encode(self, data: str, errors: str = "strict") -> Tuple[bytes, int]:
17+
if errors != "strict":
18+
raise IDNAError('Unsupported error handling "{}"'.format(errors))
1819

1920
if not data:
20-
return "", 0
21+
return b"", 0
2122

2223
return encode(data), len(data)
2324

24-
def decode(self, data, errors='strict'):
25-
26-
if errors != 'strict':
27-
raise IDNAError("Unsupported error handling \"{0}\"".format(errors))
25+
def decode(self, data: bytes, errors: str = "strict") -> Tuple[str, int]:
26+
if errors != "strict":
27+
raise IDNAError('Unsupported error handling "{}"'.format(errors))
2828

2929
if not data:
30-
return u"", 0
30+
return "", 0
3131

3232
return decode(data), len(data)
3333

34+
3435
class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
35-
def _buffer_encode(self, data, errors, final):
36-
if errors != 'strict':
37-
raise IDNAError("Unsupported error handling \"{0}\"".format(errors))
36+
def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[bytes, int]:
37+
if errors != "strict":
38+
raise IDNAError('Unsupported error handling "{}"'.format(errors))
3839

3940
if not data:
40-
return ("", 0)
41+
return b"", 0
4142

4243
labels = _unicode_dots_re.split(data)
43-
trailing_dot = u''
44+
trailing_dot = b""
4445
if labels:
4546
if not labels[-1]:
46-
trailing_dot = '.'
47+
trailing_dot = b"."
4748
del labels[-1]
4849
elif not final:
4950
# Keep potentially unfinished label until the next call
5051
del labels[-1]
5152
if labels:
52-
trailing_dot = '.'
53+
trailing_dot = b"."
5354

5455
result = []
5556
size = 0
@@ -60,37 +61,33 @@ def _buffer_encode(self, data, errors, final):
6061
size += len(label)
6162

6263
# Join with U+002E
63-
result = ".".join(result) + trailing_dot
64+
result_bytes = b".".join(result) + trailing_dot
6465
size += len(trailing_dot)
65-
return (result, size)
66+
return result_bytes, size
67+
6668

6769
class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
68-
def _buffer_decode(self, data, errors, final):
69-
if errors != 'strict':
70-
raise IDNAError("Unsupported error handling \"{0}\"".format(errors))
70+
def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple[str, int]:
71+
if errors != "strict":
72+
raise IDNAError('Unsupported error handling "{}"'.format(errors))
7173

7274
if not data:
73-
return (u"", 0)
74-
75-
# IDNA allows decoding to operate on Unicode strings, too.
76-
if isinstance(data, unicode):
77-
labels = _unicode_dots_re.split(data)
78-
else:
79-
# Must be ASCII string
80-
data = str(data)
81-
unicode(data, "ascii")
82-
labels = data.split(".")
83-
84-
trailing_dot = u''
75+
return ("", 0)
76+
77+
if not isinstance(data, str):
78+
data = str(data, "ascii")
79+
80+
labels = _unicode_dots_re.split(data)
81+
trailing_dot = ""
8582
if labels:
8683
if not labels[-1]:
87-
trailing_dot = u'.'
84+
trailing_dot = "."
8885
del labels[-1]
8986
elif not final:
9087
# Keep potentially unfinished label until the next call
9188
del labels[-1]
9289
if labels:
93-
trailing_dot = u'.'
90+
trailing_dot = "."
9491

9592
result = []
9693
size = 0
@@ -100,24 +97,31 @@ def _buffer_decode(self, data, errors, final):
10097
size += 1
10198
size += len(label)
10299

103-
result = u".".join(result) + trailing_dot
100+
result_str = ".".join(result) + trailing_dot
104101
size += len(trailing_dot)
105-
return (result, size)
102+
return (result_str, size)
106103

107104

108105
class StreamWriter(Codec, codecs.StreamWriter):
109106
pass
110107

108+
111109
class StreamReader(Codec, codecs.StreamReader):
112110
pass
113111

114-
def getregentry():
112+
113+
def search_function(name: str) -> Optional[codecs.CodecInfo]:
114+
if name != "idna2008":
115+
return None
115116
return codecs.CodecInfo(
116-
name='idna',
117+
name=name,
117118
encode=Codec().encode,
118119
decode=Codec().decode,
119120
incrementalencoder=IncrementalEncoder,
120121
incrementaldecoder=IncrementalDecoder,
121122
streamwriter=StreamWriter,
122123
streamreader=StreamReader,
123124
)
125+
126+
127+
codecs.register(search_function)

src/oci/_vendor/idna/compat.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
# coding: utf-8
22
# Modified Work: Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
33
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
4-
# Copyright (c) 2013-2018, Kim Davies. All rights reserved.
4+
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
55

6-
from .core import *
7-
from .codec import *
6+
from typing import Any, Union
87

9-
def ToASCII(label):
8+
from .core import decode, encode
9+
10+
11+
def ToASCII(label: str) -> bytes:
1012
return encode(label)
1113

12-
def ToUnicode(label):
14+
15+
def ToUnicode(label: Union[bytes, bytearray]) -> str:
1316
return decode(label)
1417

15-
def nameprep(s):
16-
raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")
1718

19+
def nameprep(s: Any) -> None:
20+
raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")

0 commit comments

Comments
 (0)