@@ -5,6 +5,32 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8+ ## [ 0.1.3-beta] - 2025-08-15
9+
10+ ### Added
11+ - Multi-account token management via ` TokenStore ` abstraction
12+ - Default secure implementation: ` SecureTokenStore ` (backed by ` flutter_secure_storage ` )
13+ - High-level API ` MisskeyAuthManager ` to orchestrate OAuth/MiAuth authentication and token persistence
14+ - Models and types for account/token management: ` StoredToken ` , ` AccountKey ` , ` AccountEntry `
15+ - Public exports for store/manager types from ` misskey_auth.dart `
16+
17+ ### Changed
18+ - ` MisskeyOAuthClient ` and ` MisskeyMiAuthClient ` no longer persist tokens; they only perform the authentication flow and return results
19+ - Constructors now focus on networking concerns (` Dio ` and timeouts)
20+
21+ ### Removed
22+ - Storage-related APIs from clients:
23+ - ` MisskeyOAuthClient.getStoredAccessToken() `
24+ - ` MisskeyOAuthClient.clearTokens() `
25+ - ` MisskeyMiAuthClient.getStoredAccessToken() `
26+ - ` MisskeyMiAuthClient.clearTokens() `
27+ - ` MisskeyMiAuthClient ` constructor parameter for storage injection
28+
29+ ### Breaking Changes
30+ - Removed storage APIs from both ` MisskeyOAuthClient ` and ` MisskeyMiAuthClient ` (use ` MisskeyAuthManager ` and ` TokenStore ` instead)
31+ - ` MisskeyMiAuthClient ` constructor signature changed (storage parameter removed)
32+ - Token lifecycle (save/read/delete) responsibilities moved from clients to ` TokenStore ` /` MisskeyAuthManager `
33+
834## [ 0.1.2-beta] - 2025-08-15
935
1036### Added
0 commit comments