Skip to content

Releases: blitz-js/blitz

v0.40.0-canary.4

20 Aug 13:56
Compare
Choose a tag to compare
v0.40.0-canary.4 Pre-release
Pre-release

🐞 Patches

  • Fix serialization of RedirectError: #2659
  • Fix No matching version found for eslint-config-next: 18b3f32

Internal Meta Changes

Credits

Huge thanks to @akbo for helping!

v0.40.0-canary.3

19 Aug 14:17
Compare
Choose a tag to compare
v0.40.0-canary.3 Pre-release
Pre-release

🚀 New Features

  • Upgrade next.js to 11.1.0: #2656

🐞 Patches

  • Fix RedirectError incorrectly failing Cypress tests: #2655

Credits

Huge thanks to @akbo for helping!

v0.40.0-canary.1

17 Aug 23:54
Compare
Choose a tag to compare
v0.40.0-canary.1 Pre-release
Pre-release

🐞 Patches

  • Fix cannot find next/data-client error: 3e267be

v0.40.0-canary.0

16 Aug 23:05
Compare
Choose a tag to compare
v0.40.0-canary.0 Pre-release
Pre-release

💥 Breaking Changes

  • Auto generated RPC endpoints now use a flat path with shared namespace instead of using the full file path. #2516
    • This is only a breaking change if you are manually invoking the autogenerated endpoints, like from a mobile app.
    • This change is according to this RFC.
    • See the docs
    -/api/auth/mutations/login
    +/api/rpc/login
    -/api/modules/users/queries/getUsers
    +/api/rpc/getUsers

🚀 New Features

  • Ability to version queries & mutations. This is mainly useful when you have mobile apps. #2516
    FILE:    app/users/mutations/createUser.ts
    API URL: /api/rpc/createUser
    
    FILE:    app/users/mutations/v2/createUser.ts
    API URL: /api/rpc/v2/createUser
    

v0.39.0

13 Aug 17:35
Compare
Choose a tag to compare

💥 Breaking Changes

  • Add ability to access req and res objects in the Passport adapter: #2576
    Breaking change only if using the callback version:
    -export default passportAuth((ctx) => ({
    +export default passportAuth(({ctx, req, res}) => ({

🚀 New Features

  • Add support for BLITZ_PUBLIC_ environment variables (NEXT_PUBLIC_ will continue to work): #2611
  • Add support for Page.redirectAuthenticatedTo to be a function with access to session: #2634

🐞 Patches

  • Fix duplicate image types: #2597
    • Requires adding /// <reference types="next/image-types/global" /> to global.d.ts
  • Fix bug when no dependencies are defined in app package.json: #2607
  • Fix a bug when just 1 level deep inside yarn workspace: #2599
  • Fix case where blitz new prints an error but continues creating app: #2637
  • Fix occasional ENOENT error during blitz recipe install: #2638
  • Throw error if two pages have the same name (important for Routes to be accurate): #2606
  • Fix dehydrateState does not apply server side props: #2617
  • Fix indentation of json on blitz generate edit pages: #2652

⚡️ Changes to the New App Template

  • Fix image warning in index page: #2593
  • Update favicon for new apps to be orange version of the blitz logo: #2602

Internal Meta Changes

Credits

Huge thanks to @doncicuto, @roesh, @s-r-x, @sam3d, @zenhob, @kenkuan, @meehawk, @ravindranrahul, @clgeoio, and @bravo-kernel for helping!

v0.39.0-canary.0

31 Jul 13:38
Compare
Choose a tag to compare
v0.39.0-canary.0 Pre-release
Pre-release

💥 Breaking Changes

  • Add ability to access req and res objects in the Passport adapter: #2576
    Breaking change only if using the callback version:
    -export default passportAuth((ctx) => ({
    +export default passportAuth(({ctx, req, res}) => ({

🚀 New Features

  • Add support for BLITZ_PUBLIC_ environment variables (NEXT_PUBLIC_ will continue to work): #2611

🐞 Patches

  • Fix duplicate image types (requires adding line to global.d.ts): #2597
  • Fix bug when no dependencies are defined in app package.json: #2607

⚡️ Changes to the New App Template

  • Fix image warning in index page: #2593
  • Update favicon for new apps to be orange version of the blitz logo: #2602

Internal Meta Changes

Credits

Huge thanks to @doncicuto, @roesh, @sam3d, @zenhob, and @bravo-kernel for helping!

v0.38.6

21 Jul 22:38
Compare
Choose a tag to compare

🐞 Patches

  • Fix validateZodSchema bug: undefined is not an object (evaluating 'e[n]._errors[0]'): #2572
  • Fix useQuery types to support "select" prop: #2581
  • Set x-powered-by header to Blitz.js: #2586

👩‍🍳 Recipes

  • Chakra-UI recipe updates the LabeledTextField with Chakra's native components: #2564

Internal Meta Changes

Credits

Huge thanks to @nimashoghi, @roesh, @muyiwaolu, and @abuuzayr for helping!

v0.38.5

08 Jul 21:48
Compare
Choose a tag to compare

🐞 Patches

  • Fix intermittent CSRFTokenMismatchError (anticsrf cooking being set to undefined): #2561

v0.38.4

07 Jul 23:43
Compare
Choose a tag to compare

🐞 Patches

  • Fix blitz dev not working on Windows and add more Windows CI tests: #2554
  • Fix false "Found a change in blitz.config.js" message: #2559

Internal Meta Changes

Credits

Huge thanks to @abuuzayr for helping!

v0.38.3

05 Jul 22:23
Compare
Choose a tag to compare

🐞 Patches

  • Fix CSRF error when using session.$setPublicData: #2541
  • Route manifest replace nbsp with normal space: #2482
  • Fix broken api routes in 0.38.3-canary.0 release: #2545
  • Next.js Fork Migration: Move multiple pages folders support plus pages+api sibling into nextjs core: #2502
  • Next.js Fork Migration: Move blitz.config.(js|ts) support into nextjs core: #2532

⚡️ Changes to the New App Template

  • Remove <Suspense> from _app.js because it causes buggy redirect behavior: #2548
  • Add .blitz.config.compiled.js to .gitignore

Internal Meta Changes

Credits

Huge thanks to @esemeniuc for helping!