Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)
Expand Down
2 changes: 1 addition & 1 deletion okta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
""" # noqa: E501


__version__ = "3.4.4"
__version__ = "3.4.5"

import importlib as _importlib
import threading as _threading
Expand Down
2 changes: 1 addition & 1 deletion openapi/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
templateDir: ./templates
outputDir: ..
packageName: okta
packageVersion: 3.4.4
packageVersion: 3.4.5
useOneOfDiscriminatorLookup: true
files:
okta/okta_configuration.mustache:
Expand Down
2 changes: 2 additions & 0 deletions openapi/templates/README.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion openapi/templates/setup.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "okta"
version = "3.4.4"
version = "3.4.5"
description = "Okta Admin Management"
authors = ["Okta Developer Team <devex-public@okta.com>"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down