Releases: blitz-js/blitz
Releases · blitz-js/blitz
v0.40.0-canary.4
🐞 Patches
- Fix serialization of RedirectError: #2659
- Fix No matching version found for eslint-config-next: 18b3f32
Internal Meta Changes
- added @hashimwarren as contributor: a8f5db4
- added @damilolarandolph as contributor: 2b2c9f1
Credits
Huge thanks to @akbo for helping!
v0.40.0-canary.3
v0.40.0-canary.1
🐞 Patches
- Fix
cannot find next/data-client
error: 3e267be
v0.40.0-canary.0
💥 Breaking Changes
- Auto generated RPC endpoints now use a flat path with shared namespace instead of using the full file path. #2516
- This is only a breaking change if you are manually invoking the autogenerated endpoints, like from a mobile app.
- This change is according to this RFC.
- See the docs
-/api/auth/mutations/login +/api/rpc/login -/api/modules/users/queries/getUsers +/api/rpc/getUsers
🚀 New Features
- Ability to version queries & mutations. This is mainly useful when you have mobile apps. #2516
FILE: app/users/mutations/createUser.ts API URL: /api/rpc/createUser FILE: app/users/mutations/v2/createUser.ts API URL: /api/rpc/v2/createUser
v0.39.0
💥 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!
v0.39.0-canary.0
💥 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
🐞 Patches
- Fix duplicate image types (requires adding line to global.d.ts): #2597
- Fix bug when no dependencies are defined in app package.json: #2607
⚡️ 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
Credits
Huge thanks to @doncicuto, @roesh, @sam3d, @zenhob, and @bravo-kernel for helping!
v0.38.6
🐞 Patches
- Fix validateZodSchema bug: undefined is not an object (evaluating 'e[n]._errors[0]'): #2572
- Fix
useQuery
types to support "select" prop: #2581 - Set x-powered-by header to Blitz.js: #2586
👩🍳 Recipes
- Chakra-UI recipe updates the
LabeledTextField
with Chakra's native components: #2564
Internal Meta Changes
- added @anothernode as contributor: 83ce0bd
- added @msichterman as contributor: 5e354c7
- Retire @malkomalko from L1 Maintainers: #2571
- added @medihack as contributor: 0a3b71c
- added @muyiwaolu as contributor: e799b08
- Removed React Bricks from the sponsors list: fee52d2
Credits
Huge thanks to @nimashoghi, @roesh, @muyiwaolu, and @abuuzayr for helping!
v0.38.5
v0.38.4
🐞 Patches
- Fix
blitz dev
not working on Windows and add more Windows CI tests: #2554 - Fix false "Found a change in blitz.config.js" message: #2559
Internal Meta Changes
- Add @abuuzayr as L1 maintainer: #2549
- added @ricardo-rp as contributor: 43f9cc2
- Remove @robdrosenberg from L2 Maintainers: #2553
Credits
Huge thanks to @abuuzayr for helping!
v0.38.3
🐞 Patches
- Fix CSRF error when using
session.$setPublicData
: #2541 - Route manifest replace nbsp with normal space: #2482
- Fix broken api routes in
0.38.3-canary.0
release: #2545 - Next.js Fork Migration: Move multiple pages folders support plus pages+api sibling into nextjs core: #2502
- Next.js Fork Migration: Move blitz.config.(js|ts) support into nextjs core: #2532
⚡️ Changes to the New App Template
- Remove
<Suspense>
from _app.js because it causes buggy redirect behavior: #2548 - Add
.blitz.config.compiled.js
to.gitignore
Internal Meta Changes
- added @esemeniuc as contributor: 9240d86
- Add test for Page.redirectAuthenticatedTo: #2531
Credits
Huge thanks to @esemeniuc for helping!