Skip to content

Commit eaa2fa8

Browse files
committed
updates changelog
1 parent 440b3db commit eaa2fa8

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- `website_domain` inside `InputAppInfo` is now optional. Using `origin` recommended over using `website_domain`. Using `website_domain` will continue to work.
1818

1919
### Breaking Change
20-
- The order or arguments in the `InputAppInfo`
20+
- The order or arguments in the `InputAppInfo` has changed. If NOT using keyword arguments for `app_info` in `supertokens.init`, then you will have to move `website_domain` like so:
21+
22+
Before:
23+
```python
24+
init(
25+
app_info=InputAppInfo(
26+
"app_name",
27+
"api_domain",
28+
"website_domain",
29+
None, # api_gateway_path
30+
None, # api_base_path
31+
None, # website_base_path
32+
),
33+
# other configs..
34+
)
35+
```
36+
37+
After:
38+
```python
39+
init(
40+
app_info=InputAppInfo(
41+
"app_name",
42+
"api_domain",
43+
None, # api_gateway_path
44+
None, # api_base_path
45+
None, # website_base_path
46+
"website_domain"
47+
),
48+
# other configs..
49+
)
50+
```
51+
52+
- In the session recipe, if there is an `UNAUTHORISED` or `TOKEN_THEFT_DETECTED` error, the session tokens are cleared in the response regardless of if you have provided your own `error_handlers` in `session.init`
2153

2254
## [0.17.0] - 2023-11-14
2355
- Fixes `create_reset_password_link` in the emailpassword recipe wherein we passed the `rid` instead of the token in the link

0 commit comments

Comments
 (0)