Skip to content

Releases: blitz-js/blitz

v2.0.0-beta.22

12 Jan 05:15
21b83fb
Compare
Choose a tag to compare

🚀 Features/Improvements

blitz

  • 8aa22a0: Add currentPassword to the default fields that are masked in the logger

@blitzjs/rpc

  • 2703618: Change rpc route basepath to be one folder higher when using includeRPC in monorepos

@blitzjs/generator

  • 7abfb90: Redesign the index page for newly generated blitz projects

🐞 Patches

blitz

  • 989691e: Use src instead of app folder for blitz generate custom-template

@blitzjs/auth

  • 145d5a0: Fix failed localStorage access to not crash the application

@blitzjs/generator

  • bcef81f: Fix missing MockRouter prop in test utils

v2.0.0-beta.21

04 Jan 17:24
9be4d86
Compare
Choose a tag to compare

🚀 Features/Improvements

blitz

  • d692b4c: Fix suspense error codegen patch for nextjs versions 13-13.0.6
  • 10f98c6: Add an href property to the generated route manifest that will return a string of the pathname and include query params.
  • d5b8faa: Add regex to support inline and non-inline codebase and proper next.js package version check

@blitzjs/auth

  • 82e8b64: Fixes adding authError query param in Passport adapter.

@blitzjs/next

  • 10f98c6: Add an href property to the generated route manifest that will return a string of the pathname and include query params.

@blitzjs/rpc

  • d692b4c: Fix suspense error codegen patch for nextjs versions 13-13.0.6
  • 0025856: Support full api of tanstack invalidateQueries

🐞 Patches

@blitzjs/generator

  • 77b7da0: Remove husky pre-push hook & update pre-commit hook to only run prettier

v2.0.0-beta.20

16 Dec 19:11
13c2642
Compare
Choose a tag to compare

🚀 Features/Improvements

blitz

  • 74a14b7: When db.$reset() rejects, reject with an Error object
  • 6ece096: Decoupled Blitz RPC from Blitz Auth to allow independent use.
  • a059627: Fix blitz install for recipes that use the path helper to check if ./src/pages directory is available, otherwise use ./pages

@blitzjs/auth

  • 6ece096: Decoupled Blitz RPC from Blitz Auth to allow independent use.
  • 03bad31: fix Cannot read properties of null (reading 'isReady') for pnpm/yarn v3

@blitzjs/next

  • 6ece096: Decoupled Blitz RPC from Blitz Auth to allow independent use.
  • 03bad31: fix Cannot read properties of null (reading 'isReady') for pnpm/yarn v3

@blitzjs/rpc

  • 6ece096: Decoupled Blitz RPC from Blitz Auth to allow independent use.
  • 03bad31: fix Cannot read properties of null (reading 'isReady') for pnpm/yarn v3
  • 8c247e2: Switch from jest to vitest in new app templates
  • 650a157: fix: allow GET requests without params and meta keys

🐞 Patches

@blitzjs/generator

  • 8c247e2: Switch from jest to vitest in new app templates

v2.0.0-beta.19

22 Nov 21:11
474b549
Compare
Choose a tag to compare

🚀 Features/Improvements

blitz

  • 942536d: update paginate.ts, return more params for more complex pagination control
  • c1e0040: transpile packages to es2015 to support older browsers
  • 696f48c: some providers need extra attributes, update for wrapAppWithProvider
  • a6f32d1: Export enhancePrisma for client again (Fixes #3964)
  • c126b81: fix for when using "blitz install" inside recipe with addRunCommandStep causes hangs up
  • b33db08: Fix ambigious class warning log & upgrade superjson from 1.9.1 to 1.11.0

@blitzjs/auth

  • c1e0040: transpile packages to es2015 to support older browsers

@blitzjs/next

  • c1e0040: transpile packages to es2015 to support older browsers
  • b33db08: Fix ambigious class warning log & upgrade superjson from 1.9.1 to 1.11.0

@blitzjs/rpc

  • c1e0040: transpile packages to es2015 to support older browsers
  • b493c93: fix resolverPath:root and make it work with monorepo resolver
  • b33db08: Fix ambigious class warning log & upgrade superjson from 1.9.1 to 1.11.0

🐞 Patches

@blitzjs/generator

  • b80c3d9: Fix form paths when running blitz generate all

v2.0.0-beta.18

16 Nov 23:58
4c0024c
Compare
Choose a tag to compare

🚀 Features/Improvements

@blitzjs/rpc

  • 72a4e59: internal: remove unneeed useSession from useQuery hooks
  • c0a3b1e: Fix mutability bug in RPC configuration
  • ed2b0e2: Add ability to put your query and mutation resolvers in a separate monorepo folder, allowing you to use them in multiple apps.

v2.0.0-beta.17

09 Nov 20:24
936211a
Compare
Choose a tag to compare

🐞 Patches

blitz

  • 5ea068b: Check if blitz-server & blitz-client is located in either the app or src directory and return the correct path for blitz recipes.
  • 8b4bf99: Update dependencies
  • 88caa18: Patch next13 for suspense error

@blitzjs/auth

  • 8b4bf99: Update dependencies
  • 97469a1: Added option role to authenticate property of BlitzPage to authenticate page with respect to the role of the user. String value or Array of strings can be passed to authorize users.

@blitzjs/next

  • 8b4bf99: Update dependencies
  • 97469a1: Added option role to authenticate property of BlitzPage to authenticate page with respect to the role of the user. String value or Array of strings can be passed to authorize users.

@blitzjs/rpc

@blitzjs/generator

  • 2a81af7: Update generator templates to use the src directory instead of app
  • 8b4bf99: Update dependencies

v2.0.0-beta.16

04 Nov 19:54
0959a11
Compare
Choose a tag to compare

🚀 Features/Improvements

@blitzjs/auth

  • 55a43ce: maybe fix anon session CSRF issue + add ability to customize anon session expiry time

@blitzjs/next

  • 11b548e: Change setupBlitzServer logger config to be optional. Will default to BlitzLogger

@blitzjs/rpc

  • 55a43ce: maybe fix anon session CSRF issue + add ability to customize anon session expiry time
  • ceb7db2: Add an opt-in GET request support to RPC specification by exporting a config object that has the httpMethod property.
    from query files.

🐞 Patches

blitz

  • 1569bd5: Upgrade tslog to the latest version
  • ceb7db2: Add an opt-in GET request support to RPC specification by exporting a config object that has the httpMethod property.
    from query files.
  • 8e5903c: Fix cannot find module db error in JavaScript template. Replace requiring the config using esbuild with parsing using jscodeshift to get the cliConfig values. Added logic to find the blitz-server file in src directory
  • 4545912: Include resolvers in src directory in blitz console

@blitzjs/generator

  • 1569bd5: Upgrade tslog to the latest version
  • 8e5903c: Fix cannot find module db error in JavaScript template. Replace requiring the config using esbuild with parsing using jscodeshift to get the cliConfig values. Added logic to find the blitz-server file in src directory

v2.0.0-beta.15

28 Oct 07:29
0ebdf3b
Compare
Choose a tag to compare

🐞 Patches

blitz

  • 1b798d9: Fix useSession hook by exporting enhancePrisma from the server entry point instead of server

v2.0.0-beta.14

25 Oct 10:34
d73b1d7
Compare
Choose a tag to compare

🐞 Patches

blitz

  • 78fd5c4: Fix blitz install command getting stuck on the Generating file diff... step
  • 0a8b0cb: Fix custom server's TypeScript error - add es6 target config to the esbuild config

@blitzjs/generator

  • 5476139: Remove unnecessary as number assertions from new app templates
  • 60de057: Fix reset token being undefined when passed to the resetPassword mutation

v2.0.0-beta.13

19 Oct 06:59
81dd346
Compare
Choose a tag to compare

🐞 Patches

blitz

  • a6e81f1: Add BlitzLogger plugin and allow customizing logging
  • 6f43498: Fix "Ambiguous class detected" errors reported by SuperJson by removing duplicated export from errors.ts file

@blitzjs/next

  • a6e81f1: Add BlitzLogger plugin and allow customizing logging

@blitzjs/rpc

  • 7b63f0f: Allow the updater function in setQueryData to return undefined to match react-query typings

@blitzjs/generator

  • 4e26ae2: Upgrade eslint-config-next in new app templates to fix linting issues on blitz build