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

latest releases: v2.1.3, blitz@2.1.3, @blitzjs/rpc@2.1.3...
pre-release2 years ago

🐞 Patches

blitz

  • 9db6c88: Fix blitz --help CLI command not being found
  • d98e4ba: Add blitz routes CLI command back to toolkit
  • 9fe0cc5: Fix auth related React hydration errors by not redirecting until after component mount.
  • af58e2b: Add a global Blitz version check when generating a new Blitz project to ensure users use the latest Blitz.
  • 2ade726: Add blitz export CLI command to toolkit
  • 0edeaa3: Allow for custom page extensions for the wildcard blitz route. For example [...blitz].api.ts. For more information vist https://nextjs.org/docs/api-reference/next.config.js/custom-page-extensions
  • 430f6ec: Only generate the prisma client if it's not found in node_modules when running a blitz cli command.
  • 15d22af: Add blitz console CLI command back to toolkit
  • aa34661: Fix invalidateQuery generating wrong param when no param argument is passed
  • 8e0c9d7: Migrate over recipe functionality from legacy framework & expose recipe builder helper functions that find and modify next.config.js, blitz-server & blitz-client.
  • e2c1889: Add client testing utilities and a sample test to a new blitz app template

@blitzjs/auth

  • 9fe0cc5: Fix auth related React hydration errors by not redirecting until after component mount.

@blitzjs/next

  • 1742eb4: Fix prefetching infinite Blitz queries.
  • 9fe0cc5: Fix auth related React hydration errors by not redirecting until after component mount.
  • e2c1889: Add client testing utilities and a sample test to a new blitz app template
  • 25f4526: Treat API Route handler as a middleware. This allows outer middlewares to completely wrap queries and mutations.

@blitzjs/rpc

@blitzjs/codemod

  • b3b4c21: Unwrap invokeWithMiddleware so the query or mutation is called directly when running the codemod
  • eb970f7: Fix detecting blitz.config.(ts|js) config file when running the codemod.

@blitzjs/generator

  • 0473020: Update prisma-ast dependency to prevent Blitz generator from failing when Prisma keywords are used as model names
  • 824a9b5: Fix no-floating-promises lint errors after generating pages with Blitz generator by adding await to router.push calls in the templates
  • d6717b9: Load schema.prisma path from package.json instead of assuming it's db/schema.prisma
  • bf4aaf1: Move useCurrentUser hook from core/hooks to users/hooks folder
  • b43c1a8: Remove the random user (noop@blitzjs.com) & use user's default git account when commiting a new generated blitz project.
  • 83281a8: Fix eslint config in new JavaScript app templates
  • bd09db7: Remove views property from Session.PublicData in types.ts file
  • e2c1889: Add client testing utilities and a sample test to a new blitz app template

Don't miss a new blitz release

NewReleases is sending notifications on new releases.