💥 Breaking Changes
- Rename
ssrQuery
toinvokeWithMiddleware
: #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
- Docs: add hmajid2301 as a contributor: #1227
- Refactor and add tests for public data store: #1204
- Docs: add phillippschmedt as a contributor: #1228
- Update @brunocrosier as a contributor: 6a37f32
- Update @engelkes-finstreet as a contributor: 1335379
Credits
Huge thanks to @brunocrosier, @johncantrell97, @hmajid2301, @jamiedavenport, @phillippschmedt, @wKovacs64, and @clgeoio for helping!