Skip to content

Commit

Permalink
Releasing version 2.139.0
Browse files Browse the repository at this point in the history
Releasing version 2.139.0
  • Loading branch information
oci-dex-release-bot authored Nov 19, 2024
2 parents 22fd62c + 662d0e3 commit dec87f1
Show file tree
Hide file tree
Showing 97 changed files with 14,709 additions and 10,201 deletions.
26 changes: 26 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,32 @@ Change Log
All notable changes to this project will be documented in this file.

The format is based on `Keep a Changelog <http://keepachangelog.com/>`_.
====================
2.139.0 - 2024-11-19
====================

Added
-----
* Support for optional parameters for unified auditing in the Database service
* Support for user groups for creating technical requests in the Support Management service
* Support for additional checksum algorithms (SHA-256, SHA-384, CRC32C) in the Object Storage service
* Support for single Read Only (RO) endpoint for the read replicas in the PostgreSQL service
* Support for exascale database vaults in the Database service
* Support for virtual machine clusters with database vaults in the Database service
* Support for N3-Gi version in the Database service

Changed
-------
* The vendored library idna was upgraded from version `2.10` to `3.10`
* The vendored library urllib3 was upgraded from version `1.26.9` to `1.26.20`

Breaking
--------
* The property `sub_components` was removed from the model `SubCategories` in the Customer Incident Management Service
* 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
* The property `limit_status` was removed from the model `CreateLimitItemDetails` in the Customer Incident Management Service
* The model `ServiceCategories` was removed from the Customer Incident Management Service

====================
2.138.1 - 2024-11-12
====================
Expand Down
2 changes: 1 addition & 1 deletion THIRD_PARTY_LICENSES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ httpsig_cffi
* Project home: https://github.com/hawkowl/httpsig_cffi

idna
* Copyright (c) 2013-2021, Kim Davies All rights reserved
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
* License: BSD 3-Clause "New" or "Revised" License
* Source code: https://github.com/kjd/idna
* Project home: https://github.com/kjd/idna
Expand Down
2 changes: 1 addition & 1 deletion THIRD_PARTY_LICENSES_DEV.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ httpsig_cffi
* Project home: https://github.com/hawkowl/httpsig_cffi

idna
* Copyright (c) 2013-2021, Kim Davies All rights reserved
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.
* License: BSD 3-Clause "New" or "Revised" License
* Source code: https://github.com/kjd/idna
* Project home: https://github.com/kjd/idna
Expand Down
3 changes: 2 additions & 1 deletion docs/api/cims.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Cims
oci.cims.models.ActivityItem
oci.cims.models.Category
oci.cims.models.Classifier
oci.cims.models.CmosUserGroupInfo
oci.cims.models.Contact
oci.cims.models.ContactList
oci.cims.models.ContextualData
Expand All @@ -44,8 +45,8 @@ Cims
oci.cims.models.Item
oci.cims.models.LimitItem
oci.cims.models.Resource
oci.cims.models.ServiceCategories
oci.cims.models.ServiceCategory
oci.cims.models.Services
oci.cims.models.Status
oci.cims.models.SubCategories
oci.cims.models.SubCategory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ServiceCategories
CmosUserGroupInfo
=================

.. currentmodule:: oci.cims.models

.. autoclass:: ServiceCategories
.. autoclass:: CmosUserGroupInfo
:show-inheritance:
:special-members: __init__
:members:
Expand Down
11 changes: 11 additions & 0 deletions docs/api/cims/models/oci.cims.models.Services.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Services
========

.. currentmodule:: oci.cims.models

.. autoclass:: Services
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
2 changes: 2 additions & 0 deletions docs/api/database.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ Database
oci.database.models.CompleteExternalBackupJobDetails
oci.database.models.ComputePerformanceSummary
oci.database.models.ConfigureAutonomousDatabaseVaultKeyDetails
oci.database.models.ConfigureExascaleExadataInfrastructureDetails
oci.database.models.ConfigureSaasAdminUserDetails
oci.database.models.ConsoleConnection
oci.database.models.ConsoleConnectionSummary
Expand Down Expand Up @@ -286,6 +287,7 @@ Database
oci.database.models.ExadbVmClusterUpdateHistoryEntry
oci.database.models.ExadbVmClusterUpdateHistoryEntrySummary
oci.database.models.ExadbVmClusterUpdateSummary
oci.database.models.ExascaleConfigDetails
oci.database.models.ExascaleDbStorageDetails
oci.database.models.ExascaleDbStorageInputDetails
oci.database.models.ExascaleDbStorageVault
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ConfigureExascaleExadataInfrastructureDetails
=============================================

.. currentmodule:: oci.database.models

.. autoclass:: ConfigureExascaleExadataInfrastructureDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ExascaleConfigDetails
=====================

.. currentmodule:: oci.database.models

.. autoclass:: ExascaleConfigDetails
:show-inheritance:
:special-members: __init__
:members:
:undoc-members:
:inherited-members:
47 changes: 45 additions & 2 deletions src/oci/_vendor/idna/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,50 @@
# coding: utf-8
# Modified Work: Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
# 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.
# Copyright (c) 2013-2018, Kim Davies. All rights reserved.
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.

from .core import (
IDNABidiError,
IDNAError,
InvalidCodepoint,
InvalidCodepointContext,
alabel,
check_bidi,
check_hyphen_ok,
check_initial_combiner,
check_label,
check_nfc,
decode,
encode,
ulabel,
uts46_remap,
valid_contextj,
valid_contexto,
valid_label_length,
valid_string_length,
)
from .intranges import intranges_contain
from .package_data import __version__
from .core import *

__all__ = [
"__version__",
"IDNABidiError",
"IDNAError",
"InvalidCodepoint",
"InvalidCodepointContext",
"alabel",
"check_bidi",
"check_hyphen_ok",
"check_initial_combiner",
"check_label",
"check_nfc",
"decode",
"encode",
"intranges_contain",
"ulabel",
"uts46_remap",
"valid_contextj",
"valid_contexto",
"valid_label_length",
"valid_string_length",
]
90 changes: 47 additions & 43 deletions src/oci/_vendor/idna/codec.py
Original file line number Diff line number Diff line change
@@ -1,55 +1,56 @@
# coding: utf-8
# Modified Work: Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
# 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.
# Copyright (c) 2013-2018, Kim Davies. All rights reserved.
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.

from .core import encode, decode, alabel, ulabel, IDNAError
import codecs
import re
from typing import Any, Optional, Tuple

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

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

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

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

if not data:
return "", 0
return b"", 0

return encode(data), len(data)

def decode(self, data, errors='strict'):

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

if not data:
return u"", 0
return "", 0

return decode(data), len(data)


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

if not data:
return ("", 0)
return b"", 0

labels = _unicode_dots_re.split(data)
trailing_dot = u''
trailing_dot = b""
if labels:
if not labels[-1]:
trailing_dot = '.'
trailing_dot = b"."
del labels[-1]
elif not final:
# Keep potentially unfinished label until the next call
del labels[-1]
if labels:
trailing_dot = '.'
trailing_dot = b"."

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

# Join with U+002E
result = ".".join(result) + trailing_dot
result_bytes = b".".join(result) + trailing_dot
size += len(trailing_dot)
return (result, size)
return result_bytes, size


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

if not data:
return (u"", 0)

# IDNA allows decoding to operate on Unicode strings, too.
if isinstance(data, unicode):
labels = _unicode_dots_re.split(data)
else:
# Must be ASCII string
data = str(data)
unicode(data, "ascii")
labels = data.split(".")

trailing_dot = u''
return ("", 0)

if not isinstance(data, str):
data = str(data, "ascii")

labels = _unicode_dots_re.split(data)
trailing_dot = ""
if labels:
if not labels[-1]:
trailing_dot = u'.'
trailing_dot = "."
del labels[-1]
elif not final:
# Keep potentially unfinished label until the next call
del labels[-1]
if labels:
trailing_dot = u'.'
trailing_dot = "."

result = []
size = 0
Expand All @@ -100,24 +97,31 @@ def _buffer_decode(self, data, errors, final):
size += 1
size += len(label)

result = u".".join(result) + trailing_dot
result_str = ".".join(result) + trailing_dot
size += len(trailing_dot)
return (result, size)
return (result_str, size)


class StreamWriter(Codec, codecs.StreamWriter):
pass


class StreamReader(Codec, codecs.StreamReader):
pass

def getregentry():

def search_function(name: str) -> Optional[codecs.CodecInfo]:
if name != "idna2008":
return None
return codecs.CodecInfo(
name='idna',
name=name,
encode=Codec().encode,
decode=Codec().decode,
incrementalencoder=IncrementalEncoder,
incrementaldecoder=IncrementalDecoder,
streamwriter=StreamWriter,
streamreader=StreamReader,
)


codecs.register(search_function)
17 changes: 10 additions & 7 deletions src/oci/_vendor/idna/compat.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# coding: utf-8
# Modified Work: Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
# 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.
# Copyright (c) 2013-2018, Kim Davies. All rights reserved.
# Copyright (c) 2013-2024, Kim Davies and contributors. All rights reserved.

from .core import *
from .codec import *
from typing import Any, Union

def ToASCII(label):
from .core import decode, encode


def ToASCII(label: str) -> bytes:
return encode(label)

def ToUnicode(label):

def ToUnicode(label: Union[bytes, bytearray]) -> str:
return decode(label)

def nameprep(s):
raise NotImplementedError("IDNA 2008 does not utilise nameprep protocol")

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

0 comments on commit dec87f1

Please sign in to comment.