github blitz-js/blitz v2.0.0-alpha.56

latest releases: v2.1.0, v2.1.1, blitz@2.1.1...
pre-release2 years ago

🐞 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/generator@2.0.0-alpha.56

@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]

    • blitz@2.0.0-alpha.56

@blitzjs/next

  • d9fc5d8: Allow prefetching multiple queries in gSSP and gSP
    • @blitzjs/rpc@2.0.0-alpha.56

@blitzjs/rpc

  • Updated dependencies [3f20a47]
  • Updated dependencies [abb1ad5]
  • Updated dependencies [abe2afc]
  • Updated dependencies [0ac6e17]
  • Updated dependencies [8bcb471]
    • @blitzjs/auth@2.0.0-alpha.56
    • blitz@2.0.0-alpha.56

@blitzjs/codemod

  • Updated dependencies [abb1ad5]
  • Updated dependencies [abe2afc]
  • Updated dependencies [0ac6e17]
  • Updated dependencies [8bcb471]
    • blitz@2.0.0-alpha.56
    • @blitzjs/generator@2.0.0-alpha.56

Don't miss a new blitz release

NewReleases is sending notifications on new releases.