Skip to content

Python SDK Changelog

v2.4.0

What’s Changed

New Contributors

Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.3.0…v2.4.0

v2.3.0

What’s Changed

Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.2.0…v2.3.0

v2.2.0

What’s Changed

Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.2.1…v2.2.0

v2.2.1

What’s Changed

Full Changelog: https://github.com/scalekit-inc/scalekit-sdk-python/compare/v2.0.1…v2.2.1

v2.0.1

What’s Changed

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_code method now returns organization_id and connection_id in addition to user details and tokens. This provides more context to the frontend upon successful authentication.

:sparkles: Enhancements

  • Authentication Data Enrichment: The authenticate_with_code method in scalekit/client.py has been updated to include organization_id and connection_id in 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_organizations method in scalekit/organization.py from CreateOrganizationResponse to ListOrganizationsResponse for 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 M2MClient class (scalekit/m2m_client.py) for managing M2M authentication
  • Updated ScalekitClient to 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.