Skip to content

Releases: blitz-js/blitz

v2.0.0-alpha.57

22 Jul 18:08
718a194
Compare
Choose a tag to compare
v2.0.0-alpha.57 Pre-release
Pre-release

🐞 Patches

blitz

@blitzjs/next

  • 0f18c68: Avoid reassigning queryClient in prefetch methods

@blitzjs/rpc

  • 716e188: Fix queries/mutations lookup on Windows

v0.45.5

15 Jul 10:48
Compare
Choose a tag to compare

⚙️ Recipes

  • Fix recipes location when using blitz install

v2.0.0-alpha.56

20 Jul 12:36
57a53fa
Compare
Choose a tag to compare
v2.0.0-alpha.56 Pre-release
Pre-release

🐞 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

@blitzjs/rpc

@blitzjs/codemod

v2.0.0-alpha.55

18 Jul 09:31
72addbb
Compare
Choose a tag to compare
v2.0.0-alpha.55 Pre-release
Pre-release

🐞 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

14 Jul 14:09
b364af7
Compare
Choose a tag to compare
v2.0.0-alpha.54 Pre-release
Pre-release

🐞 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

  • a961aff: Add missing lint deps to the new app templates
  • 80e1ead: Add jest.config.js to newly generated typescript apps

v2.0.0-alpha.53

07 Jul 13:45
a9c6bcc
Compare
Choose a tag to compare
v2.0.0-alpha.53 Pre-release
Pre-release

🐞 Patches

To upgrade

npm i @blitzjs/next@alpha

@blitzjs/next

  • a7e37c5: Export BlitzProvider from @blitzjs/next

v2.0.0-alpha.52

06 Jul 17:27
a9c6bcc
Compare
Choose a tag to compare
v2.0.0-alpha.52 Pre-release
Pre-release

To Upgrade

npm i blitz@alpha

🐞 Patches

@blitzjs/generator

  • 12cb7a7: Upgrade Prisma to v4.0.0

v2.0.0-alpha.50

06 Jul 15:10
a9c6bcc
Compare
Choose a tag to compare
v2.0.0-alpha.50 Pre-release
Pre-release

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

04 Jul 15:40
830b51d
Compare
Choose a tag to compare
v2.0.0-alpha.49 Pre-release
Pre-release

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

12 Apr 10:49
Compare
Choose a tag to compare

🐞 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
  • Upgradereact and @types/react, update types: #3282

Internal Meta Changes

Credits

Huge thanks to @Vandivier and @husnuljahneer for helping!