💥 Breaking Changes
- Change
useSession
to use suspense by default: #1888- You now need to ensure
useSession
has a<Suspense>
component above it in the tree - You can use
useSession({suspense: false})
to disable it - Suspense disabled if you are using
reactMode: 'legacy'
- You now need to ensure
🚀 New Features
- Add
initialPublicData
option touseSession
for use with SSR: #1807 - Automatically prompt to run
prisma migrate
afterblitz generate
: #1894
🐞 Patches
- Update all Yarn dependencies (2021-02-08): #1886
- Fix typo in anti-csrf cookie name: #1889
- Fix
useSession
return type to haveuserId: number | null
: #1895 - Fix vercel deployments with 0.30-canary: #1897
Internal Meta Changes
- Docs: add lcswillems as a contributor: #1892
- Docs: add rodrigoehlers as a contributor: #1896
- Add internal
BlitzAppRoot
component: #1898 - Docs: add mtford90 as a contributor: #1899
Credits
Huge thanks to @mtford90, @engelkes-finstreet, @camilo86, @lcswillems, and @rodrigoehlers for helping!