💥 Breaking Changes
- Rename
mutate
tosetQueryData
: #1291
-const [product, {mutate}] = useQuery(getProduct, {where: {id: props.query.id}})
+const [product, {setQueryData}] = useQuery(getProduct, {where: {id: props.query.id}})
🚀 Minor Changes
- Add
setQueryData()
utility: #1291
🐞 Patches
- Fix
blitz db seed
not working: #1363 - Upgrade superjson: 1.2.3 → 1.3.0: #1347
- Fix error stack trace regression by upgrading tslog: 2.9.0 → 2.9.1: #1348
- Fix db.connect error when using without prisma: #1342
- Fix blitz CLI not using proper exit codes: #1316
- Fix your jest tests failing because of useQuery error message: #1357
- Added useMemo call for response from useRouter: #1352
⚡️ Changes to the New App Template
- Fix tests not found if app has blitz in the name: #1355
- Add incremental:true to tsconfig.json: #1350
Internal Meta Changes
- Adds test to assert useMutation validation: #1351
- Docs: add nksaraf as a contributor: #1358
- Docs: add dulcehc as a contributor: #1359
- Docs: add markhaehnel as a contributor: #1360
- Docs: add sirmyron as a contributor: #1361
- Docs: add nemesv as a contributor: #1373
- Add @zanedb as a contributor: cbcbeef
Credits
Huge thanks to @aericson, @nksaraf, @markhaehnel, @sirmyron, @nemesv, @dulcehc, and @peaonunes for helping!