npm blitz 0.26.0
v0.26.0

latest releases: 2.0.8, 2.0.7, 0.0.0-turbopack-20240403083540...
3 years ago

πŸš€ Minor Changes

  • Add new Image component from Next.js 10: #1423
    • import {Image} from 'blitz'
  • Change useParam() to always return undefined if param doesn’t exist (instead of "" or NaN: #1474 & #1491
  • Update blitz generate templates for Prisma 2.12.0 compatibility: #1518
  • Change prisma.findOne to prisma.findFirst for Prisma 2.12 compatibility: #1525

🐞 Patches

  • Upgrade next: 10.0.1 β†’ 10.0.2: #1481
  • Only run Lambda warm-up HEAD requests when target is serverless: #159
  • Automatically clear .blitz cache when you change blitz versions: #1446
  • Remove undocumented hasOne and hasMany options from blitz generate model: #1476
  • Fix initial migration for new apps is not included in the initial git commit: #1464
  • Fix issue where blitz start --production rebuilds during deployment: #1477
  • Fix an import edgecase by only rewriting relative paths imports for files in special folders: #1496
  • Fix File not found with singular glob: #1493
  • Fix bug where blitz db seed will error silently: #1510
  • Fix image component external domains not working in production: #1463
  • Fix ability to import from pages, API routes, and queries/mutations: #1456

⚑️ Changes to the New App Template

  • Add .next and .blitz to .prettierignore: #1498

πŸ‘©β€πŸ³ Recipes

  • Update Chakra UI Recipe for 1.0: #1466
  • Update Tailwind recipe for v2: #1486

πŸ‘€ Changes to Example Apps

  • Add Fauna Example: #1458
  • Upgrade @prisma/cli: 2.10.0 β†’ 2.12.0: #1523
  • Upgrade @prisma/sdk: 2.10.0 β†’ 2.12.0: #1524
  • Upgrade @prisma/client: 2.12.0-dev.53 β†’ 2.12.0: #1522

Internal Meta Changes

  • Docs: add piotrski as a contributor: #1467
  • Rudi Yardley retired as core member: f70d8d9
  • Set up Kodiak for PR automerging: 555ea5b
  • Cleanup unused args in server: #1494
  • Docs: add KATT as a contributor: #1500
  • Docs: add dmzza as a contributor: #1501
  • Docs: add rayandrews as a contributor: #1502
  • Fix lint warnings: #1515
  • Docs: add rap2hpoutre as a contributor: #1520
  • Docs: add Mzaien as a contributor: #1526
  • Add @cwray-tech as a contributor: 1126b13
  • Added Flavio as L1 Maintainer to the README: #1469
  • Add @rap2hpoutre as a contributor: 8f20b07

Credits

Huge thanks to @KATT, @Zeko369, @dmzza, @rayandrews, @rap2hpoutre, @Skn0tt, @piotrski, @mzaien, and @Flavyoo for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.