v2.0.0
Major changes :
- Supabase JS SDK V2 😇
- Folder structure
- Previous module's mutations/queries are now in a
service.server
(collocate all the module's service in one place)
- Previous module's mutations/queries are now in a
- Auth session is reworked to align with folder structure changes
requireAuthSession
no longer call Supabase Auth API by default to verify user access token (it's still safe, we signed our cookie)requireAuthSession
takes a new optional param calledverify
(boolean) to work as before 😉
- No more needing to start a shadow database to create a Prisma migration (I don't know why maybe it's thanks to Supabase). It results in a huge time saving!
- Removed RLS example (view readme) and Realtime example (coming back is planned, but it's quite similar as V1)