💥 Breaking Changes
- Removes prisma client generation from Blitz in favor of Prisma's new package.json schema config.
- This should not affect your normal flow. Now the prisma client will be automatically generated by prisma's postinstall hook. That didn't work before because of the custom schema location.
- Now all normal prisma commands work without specifying the custom schema, so
prisma introspect
will work now. - You must upgrade to Prisma 2.7.0+ and make the following change to package.json
// package.json
+ "prisma": {
+ "schema": "db/schema.prisma"
+ },
🚀 Minor Changes
- Add
--inspect
flag to enable Node.js inspector: #1063 - Add
--force
flag forblitz db reset
command: #1107 - Enable automatic network request cancelation for queries: #1092
🐞 Patches
- Significantly improve CLI performance: reduce execute time from ~1700ms -> ~900ms: #1057
- Fix type error for useQuery/usePaginatedQuery options object: #1059
- Fix
blitz generate query
does not preserve plurality: #1083 - Fix
blitz generate pages
to use kebab-case for all url paths: #1089 - Fix inability to have a
/test
page: #1111 - Partial fix for ES5 compatibility: #1124
- Improve error message for missing SESSION_SECRET_KEY: #1136
- Fix
blitz autocomplete
adding alpha warning message to the shell config: #1122 - Fix
blitz new
spewing out all the database migration logs: #1116 - Add a timeout to the "retrieving freshest dependencies" step for
blitz new
(#1132): c427ae2 - Fix an incorrect error message in
blitz start
: #1064 - Add
test
,tests
,spec
,specs
to build hash ignore list: #1102
⚡️ Changes to the New App Template
- Improve rendering of errors in generated Final Form #1095
- Change signup & login to lowerCase emails before saving and verifying: #1135
- Update husky scripts: add tsc to pre-commit and lint to pre-push: #1104
- Add dotenv-flow to jest config for new apps: #1112
- Change the schema provider to be just
sqlite
instead of an array: #1091
👩🍳 Recipes
- Improve Recipe for Render.com: #1108
- Update Taiwind recipe to opt in to future Tailwind CSS changes: #1118
Internal Meta Changes
- Add React Bricks as Seedling Sponsor!: 530ce85
- Docs: add yuta0801 as a contributor: #1086
- Docs: add taylorcjohnson as a contributor: #1093
- Add "recipe" and "newapp" type to release patch: 63c9375
- Docs: add doeixd as a contributor: #1109
- Docs: add hardfire as a contributor: #1113
- 🎉 Add Satoshi Nitawaki as L1 Maintainer: #1119
- Fix slack channel name in MAINTAINERS.md: #1117
- Docs: add enricoschaaf as a contributor: #1128
- Add lint rule to prevent Object.fromEntries in core package: #1129
- Add @Obii-bit as a contributor: 1b974a0
- Add @JoseRFelix as a contributor: 3e2b5dd
- Add @johncantrell97 as a contributor: e6dbbab
- Add @cktang88 as a contributor: fd1856b
- Add @johnletey as a contributor: 89b5597
- Add @ditorojuan as a contributor: d84c73d
- Add @tsriram as a contributor: 40a93ee
- Add @sergiodxa as a contributor: ab3fc26
- Update @cardotrejos as a contributor: 9ac856c
- Docs: add xiaoyu-tamu as a contributor: #1085
Credits
Huge thanks to @yuta0801, @pbteja1998, @hardfire, @xiaoyu-tamu, @engelkes-finstreet, @taylorcjohnson, @doeixd, @nitaking, and @enricoschaaf for helping!