Releases: blitz-js/blitz
v2.0.0-alpha.57
🐞 Patches
blitz
- 3511d5b: Temporarily skip version check
- @blitzjs/[email protected]
@blitzjs/next
- 0f18c68: Avoid reassigning queryClient in prefetch methods
@blitzjs/rpc
- 716e188: Fix queries/mutations lookup on Windows
v0.45.5
v2.0.0-alpha.56
🐞 Patches
blitz
-
abb1ad5: Improve codemod utilities
-
abe2afc: Fix a long-standing issue with occasional blitz auth flakiness
This bug would sometimes cause users to be logged out or to experience an CSRFTokenMismatchError. This bug, when encountered, usually by lots of setPublicData or session.create calls, would not set the cookie headers correctly resulting in cookies being set to a previous state or in a possibly undefined state.
There are no security concerns as far as I can tell.
-
0ac6e17: fixes blitz not loading custom server
-
8bcb471: Fix auth issue where session token and publicData cookie were updated unnecessarily, leading to potential user logout
- Previously, we were updating the session token each time public data changed. This is not needed, and it would cause race condition bugs where a user could be unexpectedly logged out because a request already in flight would not match the new session token.
- Previously, we were updating the publicData cookie even when it hadn't changed. This may reduce unnecessary re-renders on the client.
- @blitzjs/[email protected]
@blitzjs/auth
-
3f20a47: Update
deleteSession
return type — allow undefined values -
abe2afc: Fix a long-standing issue with occasional blitz auth flakiness
This bug would sometimes cause users to be logged out or to experience an CSRFTokenMismatchError. This bug, when encountered, usually by lots of setPublicData or session.create calls, would not set the cookie headers correctly resulting in cookies being set to a previous state or in a possibly undefined state.
There are no security concerns as far as I can tell.
-
8bcb471: Fix auth issue where session token and publicData cookie were updated unnecessarily, leading to potential user logout
- Previously, we were updating the session token each time public data changed. This is not needed, and it would cause race condition bugs where a user could be unexpectedly logged out because a request already in flight would not match the new session token.
- Previously, we were updating the publicData cookie even when it hadn't changed. This may reduce unnecessary re-renders on the client.
-
Updated dependencies [abb1ad5]
-
Updated dependencies [abe2afc]
-
Updated dependencies [0ac6e17]
-
Updated dependencies [8bcb471]
@blitzjs/next
- d9fc5d8: Allow prefetching multiple queries in gSSP and gSP
- @blitzjs/[email protected]
@blitzjs/rpc
- Updated dependencies [3f20a47]
- Updated dependencies [abb1ad5]
- Updated dependencies [abe2afc]
- Updated dependencies [0ac6e17]
- Updated dependencies [8bcb471]
- @blitzjs/[email protected]
- [email protected]
@blitzjs/codemod
- Updated dependencies [abb1ad5]
- Updated dependencies [abe2afc]
- Updated dependencies [0ac6e17]
- Updated dependencies [8bcb471]
- [email protected]
- @blitzjs/[email protected]
v2.0.0-alpha.55
🐞 Patches
blitz
- 8f166a5: Check for new versions when running CLI
- 54a66a9: Show all blitz packages when running
blitz version
command
@blitzjs/auth
- 1c80909: Fix
Page.authenticate
not working for layout components
@blitzjs/next
- 8d9ea00: Fix prefetching multiple queries causes only the last one to be passed to page
@blitzjs/rpc
- df7cee8: Fix pipe resolver return type
@blitzjs/generator
- ab4d9de: Don't try to copy RPC API endpoint in templates that don't have it
v2.0.0-alpha.54
🐞 Patches
blitz
- f397cc2: Fixes issue when generating a new blitz app with the form flag that ends up installing the wrong form library
- cacb65d: Fixes wrong import of the db module in
blitz db seed
command function - 348fd6f: Fix redirectAuthenticatedTo errors
- 20fc9f8: Fix SSP / SP not prefetching queries correctly
- a3bbe6c: Fix routes manifest showing duplicates for non queries|resolvers reso…
- ffa7b5c: During
blitz new
if project name argument is set to "." change it to current folder name
@blitzjs/next
- 348fd6f: Fix redirectAuthenticatedTo errors
- 20fc9f8: Fix SSP / SP not prefetching queries correctly
- 80e1ead: Add jest.config.js to newly generated typescript apps
@blitzjs/rpc
- 20fc9f8: Fix SSP / SP not prefetching queries correctly
@blitzjs/generator
v2.0.0-alpha.53
🐞 Patches
To upgrade
npm i @blitzjs/next@alpha
@blitzjs/next
- a7e37c5: Export BlitzProvider from @blitzjs/next
v2.0.0-alpha.52
v2.0.0-alpha.50
To Upgrade:
npm i blitz@alpha @blitzjs/next@alpha @blitzjs/rpc@alpha @blitzjs/auth@alpha
🐞 Patches
@blitzjs/next
- dc694cf: Removes the check for when withBlitz is mounted before rendering the users app. We had this previously to avoid the react 18 suspense error being showing in development with nextjs.
@blitzjs/rpc
- c11f040: Update Next.js version and addBasePath location
@blitzjs/generator
- c11f040: Update Next.js version in generator template package.json file
v2.0.0-alpha.49
To Upgrade:
npm i blitz@alpha @blitzjs/next@alpha @blitzjs/rpc@latest @blitzjs/auth@latest
🐞 Patches
@blitzjs/next
- bec9512: Allow resolverPath to be a function which is ran for every file path that is converted to RPC Route
@blitzjs/rpc
- bec9512: Allow resolverPath to be a function which is ran for every file path that is converted to RPC Route
v0.45.4
🐞 Patches
- Bump superjson from 1.7.5 to 1.8.1 in /nextjs: #3165
⚡️ Changes to the New App Template
- Change preview-email to just in time import so it doesn't need to be in production deps: f2d8148
- Upgrade
react
and@types/react
, update types: #3282
Internal Meta Changes
- added @Lokprakash-babu as contributor: 19ea640
- added @eai04191 as contributor: e5c6071
- Add @husnuljahneer as L1 Maintainer: #3142
- added @numanaral as contributor: d41385b
- Add JDLT to sponsors list: #3226
- added @jscyo as contributor: 2675942
- added @davidbarker as contributor: 85c10b9
- added @timfee as contributor: 09a8c94
- added @Caslus as contributor: 7c698f0
- updated @dillonraphael contributions: a7deaaf
Credits
Huge thanks to @Vandivier and @husnuljahneer for helping!