0.2.9
Changes
Next.js 13 Support
Slightly delayed (sorry about that) Contentlayer now finally supports the Next.js version 13. Things should work just as they did before when using getStaticProps
. 🚀
However, unfortunately React Server Components (RSC) can't yet be used with Contentlayer as there's a number of blocking bugs in Next.js itself (e.g. vercel/next.js#41865) which need to be fixed first. You can track the progress here: #311
Other changes
- Improved types for
useMDXComponent
(#312 - thanks @Andrey-Bazhanov) - Upgraded other deps