npm blitz 0.30.0-canary.8
v0.30.0-canary.8

latest releases: 0.0.0-next-js-15-20241105135421, 0.0.0-tanstack-query-5-20241105135355, 2.1.3...
3 years ago

🚀 New Features

  • Add page.authenticate, page.redirectAuthenticatedTo, and page.suppressFirstRenderFlicker: #1901
  • Add useAuthorize and useRedirectAuthenticated hooks: #1900
  • Remove requirement of publicData.roles: #1788
  • Important CLI Change: Change blitz generate default value syntax from default[value] to default=value: #1906

🐞 Patches

  • Fix useQuery hooks return type when enabled or suspense could be false: #1893
  • Fix type of publicData in client & server utilities to be Partial<PublicData> because public data is empty by default: #1788
  • Upgrade superjson: 1.6.0 → 1.6.2: #1904

⚡️ Changes to the New App Template

  • Update all pages to use the new page options like page.authenticate: #1901
  • Switch from using publicData.roles to publicData.role: #1788
  • Fix react-hook-form reset password page: #1902

Internal Meta Changes

Credits

Huge thanks to @Kosai106 and @LBrian for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.