From 1cdf836ba1d8546e9ebe2695936c9c2e6c5a5286 Mon Sep 17 00:00:00 2001 From: BinoyOza-okta Date: Mon, 16 Mar 2026 11:38:31 +0530 Subject: [PATCH 1/2] - Added Change log for the release 3.1.1. - Updated versions from 3.1.0 to 3.1.1 for release. --- CHANGELOG.md | 8 ++++++++ okta/__init__.py | 2 +- openapi/config.yaml | 2 +- openapi/templates/setup.mustache | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45e5415e..6ecb748e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Okta Python SDK Changelog +# 3.1.1 + +* Replaced the `flatdict` dependency to fix critical configuration delimiter collisions and empty YAML crashes ([https://github.com/okta/okta-sdk-python/issues/417](https://github.com/okta/okta-sdk-python/issues/417), [https://github.com/okta/okta-sdk-python/issues/496](https://github.com/okta/okta-sdk-python/issues/496), [https://github.com/okta/okta-sdk-python/issues/499](https://github.com/okta/okta-sdk-python/issues/499)). +* Implemented lazy loading for models and APIs to reduce SDK import time from 2 seconds to milliseconds (Issue #476). [https://github.com/okta/okta-sdk-python/issues/476](https://github.com/okta/okta-sdk-python/issues/476) +* Fixed OAuth 2.0 token requests failing with 400 errors by removing duplicate `client_assertion` parameters ([https://github.com/okta/okta-sdk-python/issues/384](https://github.com/okta/okta-sdk-python/issues/384), [https://github.com/okta/okta-sdk-python/issues/489](https://github.com/okta/okta-sdk-python/issues/489)). +* Added support for the `MFA_AS_SERVICE` application sign-on mode. +* Resolved `userBehaviors` validation errors in `get_logs` by adding the new `LogUserBehavior` model. + # 3.1.0 ## OVERVIEW diff --git a/okta/__init__.py b/okta/__init__.py index a301df4b..35092535 100644 --- a/okta/__init__.py +++ b/okta/__init__.py @@ -21,7 +21,7 @@ """ # noqa: E501 -__version__ = "3.1.0" +__version__ = "3.1.1" import importlib as _importlib import threading as _threading diff --git a/openapi/config.yaml b/openapi/config.yaml index 2fda5b65..29859d41 100644 --- a/openapi/config.yaml +++ b/openapi/config.yaml @@ -1,7 +1,7 @@ templateDir: ./templates outputDir: .. packageName: okta -packageVersion: 3.1.0 +packageVersion: 3.1.1 useOneOfDiscriminatorLookup: true files: okta/okta_configuration.mustache: diff --git a/openapi/templates/setup.mustache b/openapi/templates/setup.mustache index 3b608a99..8d57c0b8 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.1.0", + version="3.1.1", 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 47039619..6b178d46 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "okta" -version = "3.1.0" +version = "3.1.1" description = "Okta Admin Management" authors = ["Okta Developer Team "] license = "Apache-2.0" diff --git a/setup.py b/setup.py index 3b608a99..8d57c0b8 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ def get_version(): "Topic :: Software Development :: Libraries :: Python Modules", ], name=NAME, - version="3.1.0", + version="3.1.1", description="Python SDK for the Okta Management API", author="Okta, Inc.", author_email="developer-community-products@okta.com", From 8fd4aafdcfef4572bb6d6fd5788afce8b0a17aac Mon Sep 17 00:00:00 2001 From: BinoyOza-okta Date: Mon, 16 Mar 2026 11:48:06 +0530 Subject: [PATCH 2/2] - Marked the release as 3.2.0 minor upgrade as it contains spec changes. --- CHANGELOG.md | 2 +- okta/__init__.py | 2 +- openapi/config.yaml | 2 +- openapi/templates/setup.mustache | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ecb748e..733f08d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Okta Python SDK Changelog -# 3.1.1 +# 3.2.0 * Replaced the `flatdict` dependency to fix critical configuration delimiter collisions and empty YAML crashes ([https://github.com/okta/okta-sdk-python/issues/417](https://github.com/okta/okta-sdk-python/issues/417), [https://github.com/okta/okta-sdk-python/issues/496](https://github.com/okta/okta-sdk-python/issues/496), [https://github.com/okta/okta-sdk-python/issues/499](https://github.com/okta/okta-sdk-python/issues/499)). * Implemented lazy loading for models and APIs to reduce SDK import time from 2 seconds to milliseconds (Issue #476). [https://github.com/okta/okta-sdk-python/issues/476](https://github.com/okta/okta-sdk-python/issues/476) diff --git a/okta/__init__.py b/okta/__init__.py index 35092535..16124f98 100644 --- a/okta/__init__.py +++ b/okta/__init__.py @@ -21,7 +21,7 @@ """ # noqa: E501 -__version__ = "3.1.1" +__version__ = "3.2.0" import importlib as _importlib import threading as _threading diff --git a/openapi/config.yaml b/openapi/config.yaml index 29859d41..1d4a75d2 100644 --- a/openapi/config.yaml +++ b/openapi/config.yaml @@ -1,7 +1,7 @@ templateDir: ./templates outputDir: .. packageName: okta -packageVersion: 3.1.1 +packageVersion: 3.2.0 useOneOfDiscriminatorLookup: true files: okta/okta_configuration.mustache: diff --git a/openapi/templates/setup.mustache b/openapi/templates/setup.mustache index 8d57c0b8..475d3fbb 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.1.1", + version="3.2.0", 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 6b178d46..78e5b17a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "okta" -version = "3.1.1" +version = "3.2.0" description = "Okta Admin Management" authors = ["Okta Developer Team "] license = "Apache-2.0" diff --git a/setup.py b/setup.py index 8d57c0b8..475d3fbb 100644 --- a/setup.py +++ b/setup.py @@ -70,7 +70,7 @@ def get_version(): "Topic :: Software Development :: Libraries :: Python Modules", ], name=NAME, - version="3.1.1", + version="3.2.0", description="Python SDK for the Okta Management API", author="Okta, Inc.", author_email="developer-community-products@okta.com",