Python SDK Changelog
v2.4.0
What’s Changed
- Feature connected accounts by @Avinash-Kamath in https://github.com/scalekit-inc/scalekit-sdk-python/pull/73
- Add resend_invite method @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/77
- [SK-2059] Update Test Cases to utilize new error handling capability by @jranaskit in https://github.com/scalekit-inc/scalekit-sdk-python/pull/76
- Add Langchain support for scalkit SDK by @Avinash-Kamath in https://github.com/scalekit-inc/scalekit-sdk-python/pull/79
- Relax python-dotenv constraint to >=1.1.0 by @joshwilhelmi in https://github.com/scalekit-inc/scalekit-sdk-python/pull/83
- Add delete domain sdk method & domain_type parameter to create_domain method and update proto files by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/82
New Contributors
- @Avinash-Kamath made their first contribution in https://github.com/scalekit-inc/scalekit-sdk-python/pull/73
- @joshwilhelmi made their first contribution in https://github.com/scalekit-inc/scalekit-sdk-python/pull/83
Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.3.0…v2.4.0
v2.3.0
What’s Changed
- add passwordless sdk methods by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/65
- Update Error Handling for Python SDK by @jranaskit in https://github.com/scalekit-inc/scalekit-sdk-python/pull/66
- add scope validation in validate_token method by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/68
Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.2.0…v2.3.0
v2.2.0
What’s Changed
- add list_organization_clients sdk method by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/64
Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.2.1…v2.2.0
v2.2.1
What’s Changed
- Implemented sdk methods for environment roles by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/61
Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.0.1…v2.2.1
v2.0.1
What’s Changed
- Upgrade setuptools version to >=78.1.1 by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/58
- return refresh token and handle errors in authenticate_with_code ,skip audience validation in validate_access_token if audience is not passed by @dhaneshbs in https://github.com/scalekit-inc/scalekit-sdk-python/pull/60
Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.0.0…v2.0.1
v2.0.0 - Full Stack Authentication Release
🚀 What’s New?
This is a major release that introduces Full Stack Authentication (FSA) capabilities to the Python SDK. This empowers developers to build comprehensive, enterprise-ready authentication and user management into their applications with minimal code.
With this release, developers can now programmatically:
- Implement passwordless sign-in using magic links and one-time passcodes.
- Connect to any enterprise identity provider via SAML and OIDC for Single Sign-On (SSO).
- Manage the entire user lifecycle, including invitations, role-based access control (RBAC), and provisioning.
- Enforce advanced security policies such as session duration and idle timeouts at the organization level.
🆕 Full Stack Authentication Support Added
The SDK has been significantly updated to provide a complete interface for Scalekit’s Full Stack Authentication platform. This includes:
- Authentication Methods: New clients and methods for handling passwordless, social, and enterprise SSO authentication flows in a unified manner.
- User Management: A comprehensive set of APIs to create, read, update, and delete users and their role assignments.
- Organization Management: Full programmatic control over organization settings, including security policies and domain management.
Please refer to the official documentation and migration guide to upgrade your application to v2.0.0.
v1.1.0 - Include connection identifiers on code exchange
:rocket: What’s New?
- The
authenticate_with_codemethod now returnsorganization_idandconnection_idin addition to user details and tokens. This provides more context to the frontend upon successful authentication.
:sparkles: Enhancements
- Authentication Data Enrichment: The
authenticate_with_codemethod inscalekit/client.pyhas been updated to includeorganization_idandconnection_idin its return value. This change was implemented to better support frontend requirements by providing these identifiers directly after the authentication process. - Type Hint Correction: Corrected the return type hint for the
list_organizationsmethod inscalekit/organization.pyfromCreateOrganizationResponsetoListOrganizationsResponsefor better accuracy.
v1.0.9 - Machine-2-Machine authentication release
🚀 What’s New?
- Developers can now programmatically:
- Create and manage M2M clients
- Handle organization client secrets
- Validate M2M tokens
- Update organization client configurations
🆕 M2M Client Support Added
- Introduced new Machine-to-Machine (M2M) authentication features to the Python SDK
- Added a new
M2MClientclass (scalekit/m2m_client.py) for managing M2M authentication - Updated
ScalekitClientto include M2M client management capabilities - New methods for organization client management in
scalekit/client.py
🧪 Testing Improvements
- Replaced unit tests with comprehensive integration tests
- Introduced Makefile for automated rebuild process
- Enhanced test coverage for M2M client functionality
- Added test documentation in
tests/TEST_README.md
✨ Enhancements
- Added token validation method for enhanced security
- Improved client secret management capabilities
- Minor bug fixes and refactoring across multiple files
📚 Notes
- Applications integrating with the SDK can now utilize M2M authentication
- Review new classes and methods for M2M client support
v1.0.6 – Delete SSO Connections & Directories
🚀 What’s New
Developers can now delete SSO connections and SCIM directories through the SDK.
🛠️ Enhancements & Changes
- Added
delete_connection()to the Connections API. - Added
delete_directory()to the Directories API. - These methods allow programmatic deletion of connections and directories for a given organization.
v1.0.5 – Create enterprise connections & generate feature specific admin portal
🚀 What’s New?
- Developers can now create a SSO connections and directory sync through SDK.
- Generate admin portal specific to an enterprise connection — either an SSO or Directory connection.
✨ Enhancements
- The generate_portal_link method now supports generating feature-specific portal links.
- Added a create_connection method for streamlined creation of organization connections.
- Added a create_directory method for easier directory creation by organization ID.