Skip to content
Open
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
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to the Kinde Python SDK will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.0] - 2026-04-16

### Added
- **OAuth & management**: Invitation codes in the OAuth login flow; management client regenerated from the latest spec (OpenAPI Generator 7.19) with improved dynamic OpenAPI class generation
- **Documentation**: README development setup and refreshed management client examples

### Fixed
- **Auth & frameworks**: OAuth fixes for FastAPI and Flask (including call signatures and namespaced state keys), hardened example apps, and more reliable Flask async handling and tests
- **Management client**: Wrapper and token handling corrections, plus fetching the OpenAPI spec from the canonical URL
- **Build & tests**: Dependency and security alignment (`requirements.txt` / Snyk), pytest-cov v7–compatible coverage configuration

### Improved
- **Management client**: DRYer delegation over the generated management API
- **Dependencies & CI**: Wider compatible ranges (including Python-specific `requests` pins), routine dependency bumps, updated GitHub Actions, Python 3.9–friendly pylint tooling, and removal of unused generated OpenAPI test stubs

## [2.2.0] - 2025-10-14

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion kinde_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from kinde_sdk.core.framework.null_framework import NullFramework
from kinde_sdk.core.session_management import KindeSessionManagement

__version__ = "2.2.0"
__version__ = "2.3.0"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Check for version references across the codebase to ensure consistency.

# Search for version patterns in common configuration files
echo "=== Checking version in configuration files ==="
fd -e toml -e py -e cfg -e json -e yaml -e yml -x grep -l "version" {} \; | while read -r file; do
  echo "--- $file ---"
  rg -n "version.*['\"]?2\.[0-9]+\.[0-9]+" "$file" || true
done

echo ""
echo "=== Checking for potential hardcoded version strings ==="
# Look for version patterns that might be hardcoded
rg -n "2\.2\.0" --type py --type toml --type json --type yaml

echo ""
echo "=== Checking __version__ definitions ==="
rg -n "__version__\s*=\s*['\"]2\.[0-9]+\.[0-9]+['\"]" --type py

Repository: kinde-oss/kinde-python-sdk

Length of output: 26618


Update version references in submodule __init__.py files to 2.3.0.

The frontend and management submodules still reference version "2.0.0" and must be updated to match the main package version:

  • kinde_sdk/frontend/__init__.py, line 18: Change __version__ = "2.0.0" to "2.3.0"
  • kinde_sdk/management/__init__.py, line 18: Change __version__ = "2.0.0" to "2.3.0"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@kinde_sdk/__init__.py` at line 28, Update the __version__ variable in the
frontend and management submodules to match the main package version: change the
__version__ variable in the frontend module from "2.0.0" to "2.3.0" and do the
same in the management module so both __version__ values align with the
top-level package version "2.3.0".


__all__ = [
"OAuth",
Expand Down
2 changes: 1 addition & 1 deletion kinde_sdk/frontend/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "2.0.0"
__version__ = "2.3.0"

# import apis into sdk package
from kinde_sdk.frontend.api.billing_api import BillingApi
Expand Down
2 changes: 1 addition & 1 deletion kinde_sdk/management/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "2.0.0"
__version__ = "2.3.0"

# Define package exports
__all__ = [
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "kinde-python-sdk"
version = "2.2.0"
version = "2.3.0"
authors = [
{ name = "Kinde Engineering", email = "engineering@kinde.com" },
]
Expand Down