npm blitz 0.24.0-canary.0
v0.24.0-canary.0

latest releases: 2.0.8, 2.0.7, 0.0.0-turbopack-20240403083540...
3 years ago

💥 Breaking Changes

  • Rename ssrQuery to invokeWithMiddleware: #1218

🚀 Minor Changes

  • Lots of logging & error improvements!! Remove result logs, redact passwords, etc: #1212
  • Add invoke() — the new way to imperatively call queries/mutations: #1217
  • Add getQueryKey utility: #1224
  • Add invalidateQuery utility: #1226
  • Change all generated file paths to be kebab-case: #1197

🐞 Patches

  • Fix query cache not being invalidated on route navigation: #1225
  • Fix session race condition that would result in CSRF errors or users being logged out: #1209
  • Fix bug with creating new session after revoking current one: #1200
  • Fix husky pre-push script for new apps: #120
  • Don't run prettier is blitz new fails: #1202
  • Improve error message when attempting useQuery with regular functions: #1223
  • Enforce NodeJS Version >= 12 for CLI: #1213

⚡️ Changes to the New App Template

  • Fix logout mutation usage in generated app index page: #1201

Internal Meta Changes

Credits

Huge thanks to @brunocrosier, @johncantrell97, @hmajid2301, @jamiedavenport, @phillippschmedt, @wKovacs64, and @clgeoio for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.