Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

fix: handle null current session with split session storage#1071

Merged
hf merged 1 commit into
masterfrom
hf/fix-current-session-split
Jun 6, 2025
Merged

fix: handle null current session with split session storage#1071
hf merged 1 commit into
masterfrom
hf/fix-current-session-split

Conversation

@hf

@hf hf commented Jun 6, 2025

Copy link
Copy Markdown
Contributor

Due to bad typing the null case of a missing session when using the userStorage option introduced in #1023 caused a crash.

@hf hf merged commit bc6192a into master Jun 6, 2025
8 checks passed
@hf hf deleted the hf/fix-current-session-split branch June 6, 2025 14:30
hf pushed a commit that referenced this pull request Jul 14, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.71.0](v2.70.0...v2.71.0)
(2025-07-10)


### Features

* fallback to `getUser()` if the `kid` of the JWT is not found
([#1080](#1080))
([9721f60](9721f60))
* introduce experimental split user and session storage
([#1023](#1023))
([e7b2f21](e7b2f21))
* make `getClaims()` non experimental, add global cache
([#1078](#1078))
([ffe13d7](ffe13d7))
* remove solana dependency by inlining types
([#1079](#1079))
([7665f94](7665f94))


### Bug Fixes

* handle null current session with split session storage
([#1071](#1071))
([bc6192a](bc6192a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mandarini pushed a commit to supabase/supabase-js that referenced this pull request Oct 2, 2025
🤖 I have created a release *beep* *boop*
---


##
[2.71.0](supabase/auth-js@v2.70.0...v2.71.0)
(2025-07-10)


### Features

* fallback to `getUser()` if the `kid` of the JWT is not found
([#1080](supabase/auth-js#1080))
([9867cd1](supabase/auth-js@9867cd1))
* introduce experimental split user and session storage
([#1023](supabase/auth-js#1023))
([b3ea493](supabase/auth-js@b3ea493))
* make `getClaims()` non experimental, add global cache
([#1078](supabase/auth-js#1078))
([ce77cbf](supabase/auth-js@ce77cbf))
* remove solana dependency by inlining types
([#1079](supabase/auth-js#1079))
([9824c9b](supabase/auth-js@9824c9b))


### Bug Fixes

* handle null current session with split session storage
([#1071](supabase/auth-js#1071))
([69aca6f](supabase/auth-js@69aca6f))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants