💥 Breaking Changes
- Add ability to access
req
andres
objects in the Passport adapter: #2576
Breaking change only if using the callback version:-export default passportAuth((ctx) => ({ +export default passportAuth(({ctx, req, res}) => ({
🚀 New Features
- Add support for
BLITZ_PUBLIC_
environment variables (NEXT_PUBLIC_
will continue to work): #2611 - Add support for
Page.redirectAuthenticatedTo
to be a function with access tosession
: #2634
🐞 Patches
- Fix duplicate image types: #2597
- Requires adding
/// <reference types="next/image-types/global" />
toglobal.d.ts
- Requires adding
- Fix bug when no dependencies are defined in app package.json: #2607
- Fix a bug when just 1 level deep inside yarn workspace: #2599
- Fix case where
blitz new
prints an error but continues creating app: #2637 - Fix occasional ENOENT error during blitz recipe install: #2638
- Throw error if two pages have the same name (important for
Routes
to be accurate): #2606 - Fix dehydrateState does not apply server side props: #2617
- Fix indentation of json on
blitz generate
edit pages: #2652
⚡️ Changes to the New App Template
- Fix image warning in index page: #2593
- Update favicon for new apps to be orange version of the blitz logo: #2602
Internal Meta Changes
- added @rabbihossain as contributor: 334a771
- Add GraphCMS as sponsor: 6adf7c0
- added @bravo-kernel as contributor: c5ea235
- added @sam3d as contributor: 8c195a2
- added @doncicuto as contributor: d1b7e2b
- updated @doncicuto contributions: ae60841
- added @zenhob as contributor: 355cacc
- updated @beerose contributions: 4376a25
- updated @Talor-A contributions: 9d9e2e6
- added @m5r as contributor: 4527cfc
- added @kenkuan as contributor: d898b1f
- added @meehawk as contributor: de8dd85
- added @ravindranrahul as contributor: 4c33580
- updated @prisis contributions: 4b9b674
- added @s-r-x as contributor: 0e62c1a
- updated @s-r-x contributions: a6c8390
Credits
Huge thanks to @doncicuto, @Roesh, @s-r-x, @sam3d, @zenhob, @kenkuan, @meehawk, @ravindranrahul, @clgeoio, and @bravo-kernel for helping!