v2.0.0-rc.1
Pre-release
Pre-release
2.0.0-rc.1 (2022-08-16)
Bug Fixes
- add AuthResponse type (d7881b3)
- add custom error classes (0e0cac4)
- allow custom storage key in localstorage (9335ccc)
- clean up signInWithOAuth types (ef1011f)
- clean up signInWithOAuth types (9fce93e)
- cleanup localStorage session format (a93adc6)
- cleanup type docs (0fe005c)
- correct typo (828b0b3)
- destructure currentSession from persistedSession (420b71f)
- export errors (4c07a72)
- fix ts error introduced with prettier changes (709e3f4)
- fixes exponential backoff upon token refresh (01e39c6)
- getSession() read from localStorage every time (e18334e)
- getUser should accept jwt (7a7075f)
- ignore no-extra-semi (8ed1dd7)
- make types tighter (77299d3)
- makes setAuth work with inMemorySession (9794043)
- move resetPasswordForEmail and refreshAccessToken to GoTrueClient (8f1d19e)
- only saveSession when persistSession is true (815a9bf)
- properly handle non AuthError's (ff228a7)
- refactor update method (f794b1b)
- refactor user methods (49aef46)
- refreshSession should take in an optional refreshToken (4d20e57)
- remove _recoverSession (6ee6f10)
- remove duplicated methods in GoTrueApi (f6d9c41)
- remove multitab stuff (0a9814b)
- remove unnecessary notify events (31c9041)
- rename localstorage to storage (41e66e6)
- resolve & reset deferred upon refresh error (90ed495)
- send headers on all requests (5dfdd94)
- signInWithPassword should send sign-in event (92e4f0e)
- typedocs docs (d4a49ee)
- typo in auth cookie error (489af4d)
- verifyOTP should send session (81b52db)
Features
- add getUser method (d32ae77)
- added async getSession method (a722840)
- Merge pull request #304 from supabase/km/refactor-sign-in (f14cc9f)
- refactor returns types to always return data (0b3086a)
- Release V2 RC (9d6d199)
- remove all cookie related methods (6211cf1)
- remove deprecated functions (1e3ce97)
- rename GoTrueApi to GoTrueAdminApi (4f6b92a)
BREAKING CHANGES
- Release V2