π₯ Breaking Changes
β οΈ In order to install any Recipe, you now must upgrade Blitz to 0.18.0
or greater.
π₯ Major Changes
- π± Add user signup/login/logout to new apps by defaultβοΈ: #834
- Add Jest and React Testing Library to new apps: #810
- Enable full JS object serialization/deserialization for queries/mutations by integrating superjson: #827
π Minor Changes
- Add Persistent layout to new app template with
<Layout>
andgetLayout()
: #897 - Add
SessionContext
andsession.authorize()
to query/mutation generators: #869 - Update eslint to v7 in new app template and the blitz repo: #853
- Change new app template to set database through .env: #876
- Add
--no-git
flag toblitz new
#889 (WIP): #905 - Migrate Recipes to jscodeshift and Support conditional JSX expressions: #898
- Change
db/index.ts
in new app template to useglobalThis
instead ofglobal
: #813 - Rename
.babelrc.js
tobabel.config.js
in new app template: #849 - Upgrade Next.js to 9.5.2: #872
π Recipes
- Add Blitz Recipe for Chakra-UI:
blitz install chakra
#830 - Add Blitz Recipe for Render.com:
blitz install render
#835 - Add Blitz Recipe for Emotion:
blitz install emotion
#805 - Add Blitz Recipe for Material-UI:
blitz install material-ui
: #840
π Patches
- Fix
prisma.connect
warning with prisma 2.4.0: #839 - Add extra debugging info to
blitz -v
: #816 - Fix
blitz db reset
for Prisma >= 2.2.0: #870 - Fix session middleware when deployed to Vercel: #871
- Fix render recipe by adding NODE_ENV=production: 1a7274e
- Fix to not use secure cookies on localhost: #895
- Fix return types of
useParam
anduseParams
: #902 - Show
blitz install
command inblitz help
output: #903 - Change
useQuery
to only retry on network errors by default: #908 - Change
ctx.session.userId
type to beany
: #912 - Fix: Refetch all queries if session changes: #914
- Fix to allow usage without
db/index.(ts|js)
file: #906 - Allow having
pageName.test.tsx
insidepages
: #850 - Capitalize help command description: #899
π Changes to Example Apps
- Add e2e tests to auth example: #817
- Update all examples to use latest eslint: #852
- Bump Prisma Version to Latest in Examples (#893): #866
Internal Meta Changes
- Bump lodash from 4.17.15 to 4.17.19 in /examples/plain-js: #829
- Docs: add rubenmoya as a contributor: #831
- Docs: add agoxlea as a contributor: #845
- Docs: add chris-tse as a contributor: #846
- Docs: add nettofarah as a contributor: #860
- Docs: add rohanjulka19 as a contributor: #867
- Docs: add pragmaticivan as a contributor: #873
- Docs: add drenther as a contributor: #883
- Docs: add scisteffan as a contributor: #884
- Docs: add kripod as a contributor: #892
- Docs: add toddgeist as a contributor: #896
- Docs: add Weilbyte as a contributor: #907
- Docs: add cardotrejos as a contributor: #911
- Update @dwightwatson as a contributor: ade63c5
- Add @SebastianKurp as a contributor: 984a10a
Credits
Huge thanks to @Zeko369, @peaonunes, @pragmaticivan, @dwightwatson, @drenther, @wKovacs64, @aem, @Weilbyte, @kripod, @agoxlea, @chris-tse, @toddgeist, @simonedelmann, @rubenmoya, and @nettofarah for helping!