Skip to content

Releases: descope/python-sdk

1.7.11

30 Sep 12:16
247981f
Compare
Choose a tag to compare

This release adds support for batch user patch operations.

🚀 New Features & Enhancements

  • Batch User Patch – Support for patching multiple users in a single operation (#659)

Full Changelog: 1.7.10...1.7.11

1.7.10

17 Sep 17:16
acb7b26
Compare
Choose a tag to compare

This release introduces support for using the Descope FGA Cache Proxy from the Python SDK

🚀 New Features & Enhancements

  • Descope FGA Cache Support: Response times of repeated FGA check calls, especially in high volume scenarios, can be reduced to sub-millisecond scales by re-directing the calls to a Descope FGA Cache Proxy running in the same backend cluster as your application. After setting up the proxy server via the Descope provided Docker image, set the fga_cache_url parameter to be equal to the proxy URL to enable its use in the SDK (#656)

🛠 Fixes & Maintenance

  • Various dependency & CI tools version updates

Full Changelog: 1.7.9...1.7.10

1.7.9

20 Aug 21:51
10eee9b
Compare
Choose a tag to compare

This release adds a way to search users that must have multiple roles in a tenant as well as fixing jwt expiry error message.

🚀 New Features & Enhancements

  • Allow searching for users with all roles in a tenant in #637

🛠 Fixes & Maintenance

  • Adjust jwt expiry error messages in #634

Full Changelog: 1.7.8...1.7.9

1.7.8

12 Aug 17:47
bef0cb4
Compare
Choose a tag to compare

This release introduces support for authentication management keys and outbound apps support.

🚀 New Features & Enhancements

  • Auth Management Key – Added capability to use management key for Auth requests (#624)
  • Outbound Apps Support – Added support for managing outbound apps (#621)

🔗 Full Changelog: Compare 1.7.7...1.7.8

1.7.7

23 Jul 18:03
a526f22
Compare
Choose a tag to compare

This release introduces support for Python 3.13, embedded link signup, default role assignment, and enhancements to user and tenant search functionality.

🚀 New Features & Enhancements

  • Embedded Link Signup – Added support for user signup via embedded links (#585)
  • Default Role on Sign-Up – Allow setting a default role when creating new users (#588)
  • Python 3.13 Support – Added compatibility with Python 3.13 (#599)
  • Tenant Role Search Enhancements – Added tenant_role_ids and tenant_role_names parameters to user search results (#612)

🛠 Fixes & Maintenance

  • Test User Support – Added support for managing test users through the User Management functions (#609)

🔗 Full Changelog: Compare 1.7.6...1.7.7

1.7.6

29 May 06:41
8ba826c
Compare
Choose a tag to compare

This release includes a minor fix to the impersonation flow.

🛠️ Fixes

  • Stop Impersonation Path Fix – Corrected the API path used to stop an impersonation session to ensure proper request routing (#581)

🔗 Full Changelog: Compare 1.7.5...1.7.6

1.7.5

13 May 09:25
dd50c63
Compare
Choose a tag to compare

This release includes improvements to user invitation status, SSO enforcement settings, tenant management, FGA resource handling, and more.

🚀 New Features & Enhancements

  • Expand Role Search Options – Add the ability to include project roles in role search (#550)
  • Invite Users with Specific Status – Support inviting users with a predefined user status (#556)
  • Custom Refresh Token Duration – Allow setting a custom refresh token duration during authentication (#559)
  • Tenant API Enhancements – Introduced the ability to Enforce SSO or Disable a tenant using the enforce_sso and disabled fields in the tenant management API (#538)
  • Save/Load FGA Resource Details – Added management APIs to persist FGA resource configurations (#562)
  • Stop Impersonation API – Introduced an endpoint to explicitly stop an active impersonation session (#565)
  • Add Template ID and Provider ID to Update User – Extended the update user request to support specifying a template and provider ID (#549)

🔗 Full Changelog: Compare 1.7.4...1.7.5

1.7.4

09 Apr 10:43
02deb2f
Compare
Choose a tag to compare

This release includes enhancements to SSO role management, user management APIs, anonymous user support, and more.

🚀 New Features & Enhancements

  • Update JWT Refresh Duration Default Param – Set default parameter handling for JWT refresh duration (#492)
  • Anonymous Users Support – Added support for creating and managing anonymous users (#494)
  • Search Users by User IDs – Added capability to search for users using user IDs (#498)
  • Return User Response in Update/Patch User – The update_user and patch_user methods now return the updated user object (#500)
  • Default SSO Roles Support – Added support for configuring default roles for SSO users (#539)

🔗 Full Changelog: Compare 1.7.3...1.7.4

1.7.3

25 Feb 05:39
e56d018
Compare
Choose a tag to compare

Enhancements

  • Multi-SSO support in tenants: In order to support multi-SSO tenants, and extra configuration of the sso_id parameter has been added to the SSO start function.
  • Configurable expiration time of JWT: We added support to configure the JWT's expiration time, using the update_jwt function.
  • Search users by dates: An option to filter user searches based on their creation time or modified time, using the search_all function.
  • TOTP seed deletion via management SDK: The function remove_totp_seed supports removing a TOTP seed for a specific user, based on their login ID.
  • README enhancements: Tiny adjustments to our README, to provide better examples.

Bug fixes

  • Fixed API rate limiting message parsing: We made sure Descope's service rate limiting messages are delivered and parsed properly.

1.7.2

12 Jan 14:06
e1a05db
Compare
Choose a tag to compare

Enhancements

  • Impersonation JWT configurations: We've expanded the impersonate function to allow passing custom_claims as well as tenant_id, so that the created JWT will include that information.