Skip to content

Commit a9ce3f6

Browse files
zecakehHywan
authored andcommitted
chore: Add changelog for merging SessionTokens
Signed-off-by: Kévin Commaille <[email protected]>
1 parent a27f8f7 commit a9ce3f6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/matrix-sdk/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ simpler methods:
113113
`CsrfToken`.
114114
- The `error` field of `AuthorizationError` uses an error type from the oauth2
115115
crate rather than one from mas-oidc-client.
116+
- [**breaking**]: `OidcSessionTokens` and `MatrixSessionTokens` have been merged
117+
into `SessionTokens`. Methods to get and watch session tokens are now
118+
available directly on `Client`.
119+
`(MatrixAuth/Oidc)::session_tokens_stream()`, can be replaced by
120+
`Client::subscribe_to_session_changes()` and then calling
121+
`Client::session_tokens()` on a `SessionChange::TokenRefreshed`.
116122

117123
## [0.10.0] - 2025-02-04
118124

0 commit comments

Comments
 (0)