github blitz-js/blitz v0.28.0-canary.0

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

💥 Breaking Changes

  • Removed unstable_ prefix from session middleware: #1607
// blitz.config.js
-const { sessionMiddleware, unstable_simpleRolesIsAuthorized } = require("@blitzjs/server")
+const { sessionMiddleware, simpleRolesIsAuthorized } = require("@blitzjs/server")

module.exports = {
  middleware: [
    sessionMiddleware({
-      unstable_isAuthorized: unstable_simpleRolesIsAuthorized,
+      isAuthorized: simpleRolesIsAuthorized,
    }),
  ],
}

🚀 Minor Changes

  • Add blitz routes command to see all routes: #1478

🐞 Patches

  • Fix bug where "db" in a path name will break client side imports: #1594
  • Add missing exports for LinkProps, ImageProps, and ErrorProps: #1613
  • Fix bug where cancelling blitz install still outputs success message: #1616
  • Fix: allow numbers and underscore in names for blitz generate model: #1618

⚡️ Changes to the New App Template

  • Change prisma version to be pinned to a minor version: #1595

👩‍🍳 Recipes

  • Fix and improve Theme UI recipe: #1583
  • Add Reflexjs recipe: #1585
  • Minor typo fix in chakra recipe explanation: #1597

Internal Meta Changes

  • Add G2i as sponsor: a749325
  • Remove error stack from console output on testing: #1540
  • Docs: add AkifumiSato as a contributor: #1591
  • Docs: add rayandrews as a contributor: #1592
  • Docs: add beeplin as a contributor: #1593
  • Add Andreas Asprou as a seedling sponsor: 34ee44e
  • Bump ini from 1.3.5 to 1.3.8: #1599
  • Docs: add mattfwood as a contributor: #1601
  • Add Render.com as a Bronze Sponsor!: b62dce3
  • Docs: add jackbravo as a contributor: #1614
  • Dylan Brookes retires from core team: 2ad5b68
  • Docs: add Kosai106 as a contributor: #1619
  • Docs: add arjundubey-cr as a contributor: #1620
  • Docs: add chanand as a contributor: #1621
  • Update release patch auto categorize allcontributors: bc829d6

Credits

Huge thanks to @scisteffan, @rayandrews, @Kosai106, @arjundubey-cr, @chanand, @tundera, @mattfwood, and @AkifumiSato for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.