π Minor Changes
- Add new
Image
component from Next.js 10: #1423import {Image} from 'blitz'
- Change
useParam()
to always returnundefined
if param doesnβt exist (instead of""
orNaN
: #1474 & #1491 - Update
blitz generate
templates for Prisma 2.12.0 compatibility: #1518 - Change
prisma.findOne
toprisma.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
andhasMany
options fromblitz 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
π 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!