github blitz-js/blitz v0.28.0

latest releases: blitz@2.0.0-alpha.26, @blitzjs/rpc@2.0.0-alpha.26, @blitzjs/next@2.0.0-alpha.26...
16 months ago

💥 Breaking Changes

  • Remove implicit auto-build with blitz start --production. #1623
    • New usage: blitz build && blitz start --production
    • Probably you are already doing this by running blitz build in the build step and blitz start --production in the run step of deployment.
  • 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

🐞 Patches

  • Upgrade next: 10.0.3 → 10.0.4: #1644
  • Fix broken css module imports: #1645
  • Fix bug preventing imports from files/libraries ending in "pages" or "api": #1649
  • Fix a false duplicate error with .coverage directory in your project: #1654
  • Fix bug where "db" in a path name will break client side imports: #1594
  • Fix bug where cancelling blitz install still outputs success message: #1616
  • Fix blitz db commands showing incorrect error: #1648
  • Fix: allow numbers and underscore in names for blitz generate model: #1618
  • Add missing exports for LinkProps, ImageProps, and ErrorProps: #1613
  • Improve error message from useQuery for case of incorrect resolver location: #1653
  • Remove unused packages from core: #1630
  • Remove pretty-ms dependency (move code into core): #1628
  • Remove unused packages from @blitzjs/server: #1634
  • Upgrade all dependencies: #1657
  • Remove unnecessary log message about git core.excludesFiles: #1663
  • Change log message from "alpha software" to "beta software": c700ee4
  • Change a number of dependencies to use ranges to help reduce size of installed node_modules: #1665
  • Remove unused packages from @blitzjs/installer: #1633
  • Remove hasha dependency: #1627
  • Remove unused packages from file-pipeline: #1631
  • Remove unused dep node-fetch: #1632
  • Clean up fetch dependencies: #1642

⚡️ Changes to the New App Template

  • Change Final Form <LabeledTextField/> to properly parse numbers: #1658
  • Update a few dependencies including React to 0.0.0-experimental-3310209d0: #1662
  • 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 @phillipkregg as a contributor: 4e79196
  • Add @timReynolds as a contributor: b31e1ac
  • Upgrade Node.js to version 12.20.0: #1655
  • Skip flaky windows packages test: #1635
  • Added Reo as L1 Maintainer to the README: #1637
  • Improve release script patch: d48161d
  • Timeout example testing after 20mins: #1640
  • Change all agnosticSource tests to not run on windows: #1643
  • Fix CI windows example test and other CI maintenance: #1639
  • 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 @KATT, @arjundubey-cr, @Skn0tt, @scisteffan, and @Kosai106, @reo777, @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.