github blitz-js/blitz v0.17.0

latest releases: v2.0.8, blitz@2.0.8, @blitzjs/rpc@2.0.8...
3 years ago

💥 Breaking Changes

  • Rename <Error> to <ErrorComponent>: #808
- import {Error} from 'blitz'
+ import {ErrorComponent} from 'blitz'

🚀 Major Changes

🚀 Minor Changes

  • Add NotFoundError to Blitz and add default 404 page to new app template: #811
  • Change new app template to use react-error-boundary instead of custom ErrorBoundary component: #807
  • Add optional returnType parameter to useParams: #759
  • Improved API for defining Blitz Recipes: #770
  • Allow custom DB connection logic and add example for using DB clients other than Prisma: #739
  • Add Blitz Recipe for Tailwind CSS: #776
  • Upgrade Next.js to 9.5.1: #812
  • Upgrade react-query to 2.5.11: #820

🐞 Patches

  • Fix a couple useParam() bugs + add full tests: #762
  • Fix small README typo in new app template: #764
  • Fix error during static pre-rendering in development: #761
  • Fix blitz db migrate stuck on first production deploy: #786
  • Fix global middleware not working in serverless builds: #787
  • Fully fix errors from useQuery during pre-rendering: #791
  • Add Node version check and warning to CLI startup routine: #804
  • Remove delete data.id from Generated update mutations: #789
  • Fix bug when users use next-compose-plugins and with framework code being transpiled in dev: #823

👀 Changes to Example Apps

  • Change auth example to use a shared <Form> component that abstracts the actual form library: #778
  • Add bundle analyzer to auth example: #795
  • Add example usage of superjson with getServerSideProps in store example: #819
  • Add to store example superjson for getStaticProps: #822

Internal Meta Changes

  • Bump lodash from 4.17.15 to 4.17.19: #769
  • Docs: add rubenmoya as a contributor: #783
  • Remove GUI code - rework in progress: #781
  • Enable CI cache for windows: #785
  • Docs: add robertgrzonka as a contributor: #802
  • Add github orkflow for bundle size reporting: #799
  • Bump elliptic from 6.5.2 to 6.5.3 in /examples/plain-js: #818
  • Update sponsorship section: 7f8609b
  • Update README.md: 852fdc6

Credits

Huge thanks to @aem, @Skn0tt, @cktang88, @rubenmoya, @simonedelmann, @merelinguist, and @robertgrzonka for helping!

Don't miss a new blitz release

NewReleases is sending notifications on new releases.