github blitz-js/blitz v0.30.0-canary.7

latest releases: v2.0.8, blitz@2.0.8, @blitzjs/rpc@2.0.8...
pre-release3 years ago

💥 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'

🚀 New Features

  • Add initialPublicData option to useSession for use with SSR: #1807
  • Automatically prompt to run prisma migrate after blitz generate: #1894

🐞 Patches

  • Update all Yarn dependencies (2021-02-08): #1886
  • Fix typo in anti-csrf cookie name: #1889
  • Fix useSession return type to have userId: 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!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.