github blitz-js/blitz v0.24.0-canary.0

latest releases: v2.1.3, blitz@2.1.3, @blitzjs/rpc@2.1.3...
pre-release4 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.