github blitz-js/blitz v0.18.0

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

πŸ’₯ 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> and getLayout(): #897
  • Add SessionContext and session.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 to blitz new #889 (WIP): #905
  • Migrate Recipes to jscodeshift and Support conditional JSX expressions: #898
  • Change db/index.ts in new app template to use globalThis instead of global: #813
  • Rename .babelrc.js to babel.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 and useParams: #902
  • Show blitz install command in blitz help output: #903
  • Change useQuery to only retry on network errors by default: #908
  • Change ctx.session.userId type to be any: #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 inside pages: #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!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.