v0.42.0
🚀 New Features
- Add a minimal app template: #2764
- Add authenticated layout support with
Layout.authenticate
: #2825 - Allow user to select a recipe with
blitz install
command: #2828 - Add support for async
experimental.initServer()
: #2798 - Allow setting secureCookies in sessionMiddleware config: #2361
🐞 Patches
- Improve error message on a duplicate page name error: #2823
- Fix
blitz generate
--dry-run flag not being respected: #2858 - Fix broken route manifest in 0.41.2-canary.2: #2870
- Fix
blitz generate
in javascript projects: #2859 - Export MutateFunction type from blitz/react-query: #2882
- Fix using HOCs in _app.js: #2897
- Fix so middleware errors (like CSRFMissmatchError) don't crash the server: #2901
⚡️ Changes to the New App Template
- Update new apps dependencies, format files, improve readmes: #2849
- Pin react and react-dom versions in package.json (And I think fix the cannot find module react issue): #2868
- Add prompt to
blitz new
to choose javascript or typescript: #2739
👩🍳 Recipes
👀 Changes to Example Apps
Internal Meta Changes
- added @p-siriphanthong as contributor: 6a539a3
- added @shawn-fetanat as contributor: 8a5596f
- added @mochi-sann as contributor: e2490b9
- updated @mochi-sann contributions: 5fc4cbb
- Move internal @blitzjs/core package into nextjs fork core: #2857
- added @camsloanftc as contributor: 40a6c7d
- added @sitek94 as contributor: 7c4e9c8
- added @vivek7405 as contributor: 4d1c997
- Remove internal @blitzjs/config package and move @blitzjs/repl into core: #2860
- added @cj as contributor: 52d569e
- added @RobertBroersma as contributor: f8e9d75
- Update dehydrated state integration test for Map: #2649
- added @cbejensen as contributor: aa00886
- added @dvnrsn as contributor: afd6e3f
- added @devtombiz as contributor: 046587d
- Update monorepo browserslist version: #2900
Credits
Huge thanks to @JuanM04, @mochi-sann, @g3offrey, @p-siriphanthong, @flybayer, @cj, @dvnrsn, @vivek7405, @devtombiz, and @Skn0tt for helping!