You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Adds support for plugins under the `experimental` property in `SuperTokensConfig`
- Introduces a `SupertokensPublicConfig` class to work with plugins
- Refactors the AccountLinking recipe to be automatically initialized on SuperTokens init
- Adds `is_recipe_initialized` method to check if a recipe has been initialized
- Adds new base classes for `RecipeInterface`, `APIInterface`, `Config`
- Refactors existing config classes to follow `<Recipe>Config` and `<Recipe>NormalizedConfig`
- Older names left in as aliases
- Standardizes `__init__` exports
- Adds `__all__` to recipe `__init__` files to explicitly declare exports
- Adds ruff rule to format `__all__` exports
Copy file name to clipboardExpand all lines: CHANGELOG.md
+44Lines changed: 44 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,50 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
9
9
## [unreleased]
10
10
11
+
## [0.31.0] - 2025-07-18
12
+
### Adds plugins support
13
+
- Adds an `experimental` property (`SuperTokensExperimentalConfig`) to the `SuperTokensConfig`
14
+
- Plugins can be configured under using the `plugins` property in the `experimental` config
15
+
- Refactors the AccountLinking recipe to be automatically initialized on SuperTokens init
16
+
- Adds `is_recipe_initialized` method to check if a recipe has been initialized
17
+
18
+
### Breaking Changes
19
+
-`AccountLinkingRecipe.get_instance` will now raise an exception if not initialized
20
+
- Various config classes renamed for consistency across the codebase, and classes added where they were missing
21
+
- Old classes added to the recipe modules as aliases for backward compatibility, but will be removed in future versions. Prefer using the renamed classes.
22
+
-`InputOverrideConfig` renamed to `<Recipe>OverrideConfig`
23
+
-`OverrideConfig` renamed to `Normalised<Recipe>OverrideConfig`
24
+
- Input config classes like `<Recipe>InputConfig` renamed to `<Recipe>Config`
25
+
- Normalised config classes like `<Recipe>Config` renamed to `Normalised<Recipe>Config`
0 commit comments