github blitz-js/blitz v2.0.0-beta.4

latest releases: v2.1.0, v2.1.1, blitz@2.1.1...
2 years ago

🐞 Patches

blitz

  • c213d52: Fix issue with the route name that's generated for nested routes in @blitzjs/rpc. This was causing issues for windows users.
  • 0b94a45: Upgrade superjson to the latest version
  • 161270e: Only run the prisma generate command when the schema file changes.

@blitzjs/auth

  • 713aead: Allow specifying custom strategy name in Blitz's passport adapter

@blitzjs/next

  • 69fb280: Allow setting static page properties (e.g. getInitialProps) on the App component
  • 0b94a45: Upgrade superjson to the latest version

@blitzjs/rpc

  • c213d52: Fix issue with the route name that's generated for nested routes in @blitzjs/rpc. This was causing issues for windows users.
  • 0b94a45: Upgrade superjson to the latest version
  • f6dac09: Improve RPC logging: print resolverName() insetad of /resolverName()

@blitzjs/codemod

  • d3403cf: Show file path on error when running the upgrade legacy codemod.
  • 74a4ce8: Add AuthenticatedSessionContext to the upgrade-legacy codemod import map
  • 43e65cf: Remove TypeScript type annotations from next.config.js (a JavaScript file) in the upgrade-legacy codemod.
  • da914c9: Convert import statements to require when creating the next.config.js file in the codemod

@blitzjs/generator

  • 7498aef: Fix tsconfig.json referencing blitz-env.d.ts insetad of next-env.d.ts in new app templates
  • 22344d0: New apps generated by the cli was missing the getLayout function in _app, so when you used the getLayout property on your page, it didn't render. You'll need to manually update your _app if you generated an app with blitz v2.
  • 8fa9a56: Fix eslint and types setup in minimal app template
  • c53978d: Fix upgrade-legacy Update imports step — import getAntiCSRFToken and AuthenticatedMiddlewareCtx from correct locations
  • a84b8de: Remove -cookie-prefix appended to the cookiePrefix config property in the new app template. It will also fix auth and CSRF issues for users upgrading from a legacy framework.

Don't miss a new blitz release

NewReleases is sending notifications on new releases.