Skip to content

v2.0.0

Compare
Choose a tag to compare
@rphlmr rphlmr released this 23 Oct 16:31
· 19 commits to main since this release
6502e6d

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)
  • 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 called verify (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)