github blitz-js/blitz v0.23.0

latest releases: blitz@2.0.0-alpha.26, @blitzjs/rpc@2.0.0-alpha.26, @blitzjs/next@2.0.0-alpha.26...
20 months ago

💥 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 for blitz 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

Credits

Huge thanks to @yuta0801, @pbteja1998, @hardfire, @xiaoyu-tamu, @engelkes-finstreet, @taylorcjohnson, @doeixd, @nitaking, and @enricoschaaf for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.