diff --git a/CHANGELOG.md b/CHANGELOG.md index a4ae68c3..d15e10ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Okta Python SDK Changelog +# 3.4.5 + +## Fixed +* Fixed the `UserType` model being generated with only an `id` field, causing all other properties (`name`, `displayName`, `description`, `created`, `createdBy`, `default`, `lastUpdated`, `lastUpdatedBy`, `_links`) to be silently dropped when deserializing `/api/v1/meta/types/user/*` responses. Root cause was a schema name collision in `openapi/api.yaml`: the inline anonymous object on `User.type` was auto-promoted by OpenAPI Generator 7.x to a model named `UserType`, shadowing the real `UserType` component schema. Resolved by extracting the inline `User.type` object into a new `UserTypeRef` component and `$ref`ing it from `User.type`, so the real `UserType` component now generates with all defined fields. The on-wire JSON shape of `User.type` is unchanged. PR [#575](https://github.com/okta/okta-sdk-python/pull/575) + # 3.4.4 ## Fixed diff --git a/README.md b/README.md index 7dfdc968..e5cdfe32 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ This repository contains the Okta management SDK for Python. This SDK can be use This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: -- Package version: 3.1.0 +- Package version: 3.4.5 - OpenAPI JAR Generator version: 7.7.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://developer.okta.com/](https://developer.okta.com/) diff --git a/okta/__init__.py b/okta/__init__.py index 943db5ef..c7e34a53 100644 --- a/okta/__init__.py +++ b/okta/__init__.py @@ -21,7 +21,7 @@ """ # noqa: E501 -__version__ = "3.4.4" +__version__ = "3.4.5" import importlib as _importlib import threading as _threading diff --git a/openapi/config.yaml b/openapi/config.yaml index 36d88ac0..a6000525 100644 --- a/openapi/config.yaml +++ b/openapi/config.yaml @@ -1,7 +1,7 @@ templateDir: ./templates outputDir: .. packageName: okta -packageVersion: 3.4.4 +packageVersion: 3.4.5 useOneOfDiscriminatorLookup: true files: okta/okta_configuration.mustache: diff --git a/openapi/templates/README.mustache b/openapi/templates/README.mustache index 0f10322e..036a51c3 100644 --- a/openapi/templates/README.mustache +++ b/openapi/templates/README.mustache @@ -54,6 +54,8 @@ This library uses semantic versioning and follows Okta's [Library Version Policy The latest release can always be found on the [releases page][github-releases]. +**NOTE:** We have implemented DPoP and the support is now available in the latest version of the SDK. + ## Need help? If you run into problems using the SDK, you can: diff --git a/openapi/templates/setup.mustache b/openapi/templates/setup.mustache index 0ee5cac7..e49f60f2 100644 --- a/openapi/templates/setup.mustache +++ b/openapi/templates/setup.mustache @@ -70,7 +70,7 @@ setup( "Topic :: Software Development :: Libraries :: Python Modules", ], name=NAME, - version="3.4.4", + version="3.4.5", description="Python SDK for the Okta Management API", author="Okta, Inc.", author_email="developer-community-products@okta.com", diff --git a/pyproject.toml b/pyproject.toml index 69d136f1..b82d7126 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "okta" -version = "3.4.4" +version = "3.4.5" description = "Okta Admin Management" authors = ["Okta Developer Team "] license = "Apache-2.0" diff --git a/setup.py b/setup.py index 0ee5cac7..e49f60f2 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ def get_version(): "Topic :: Software Development :: Libraries :: Python Modules", ], name=NAME, - version="3.4.4", + version="3.4.5", description="Python SDK for the Okta Management API", author="Okta, Inc.", author_email="developer-community-products@okta.com",