hygraph / reference-marketing-website

Next.js starter for creating a SaaS Marketing Website with Hygraph āš”ļø
https://marketing-websites.withheadlesscms.com
MIT License
132 stars 52 forks source link

chore(deps): update dependency next-mdx-remote to v4 #163

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next-mdx-remote 3.0.8 -> 4.0.2 age adoption passing confidence

Release Notes

hashicorp/next-mdx-remote ### [`v4.0.2`](https://togithub.com/hashicorp/next-mdx-remote/compare/4.0.1...v4.0.2) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/4.0.1...v4.0.2) ### [`v4.0.1`](https://togithub.com/hashicorp/next-mdx-remote/releases/4.0.1) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.0.0...4.0.1) #### What's Changed - fix: Can't resolve 'react/jsx-runtime.js' by [@​jakejarvis](https://togithub.com/jakejarvis) in [https://github.com/hashicorp/next-mdx-remote/pull/250](https://togithub.com/hashicorp/next-mdx-remote/pull/250) #### New Contributors - [@​jakejarvis](https://togithub.com/jakejarvis) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/250](https://togithub.com/hashicorp/next-mdx-remote/pull/250) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.0...4.0.1 ### [`v4.0.0`](https://togithub.com/hashicorp/next-mdx-remote/releases/v4.0.0) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/3.0.8...v4.0.0) `next-mdx-remote` has been upgraded to use MDX v2 under the hood, which comes with improved performance and a [whole list of other enhancements](https://mdxjs.com/blog/v2/). Due to the improved code generated from MDX, we've also been able to remove our usage of `esbuild`. If you're using Next v12, no changes should be required to upgrade! Users on Next v11.1 might need to set `experimental: { esmExternals: true }` in `next.config.js`. *Note that some of the underlying changes in MDX v2 may require you to adjust some of your MDX content or custom components.* Take it for a spin and let us know if you run into any issues. šŸ™ $ npm install next-mdx-remote@latest ##### Breaking Changes - Exposes ESM - Upgrade to MDX v2 under the hood, see the [blog post](https://mdxjs.com/blog/v2/) for more information - Remove esbuild integration ##### Features - Optional frontmatter parsing by passing `{ parseFrontmatter: true }` to `serialize()`. Frontmatter is then available in your MDX: ```mdx ``` ##### {frontmatter.page_title} Hello world! - Improved error messages when MDX fails to compile: ![Screen Shot 2021-12-10 at 12 04 04 PM](https://user-images.githubusercontent.com/1289701/145620766-a0a24e7f-30db-468b-b8f9-60722d7359f4.png) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/3.0.7...v4.0.0

Configuration

šŸ“… Schedule: "before 3am on Monday" (UTC).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by WhiteSource Renovate. View repository job log here.

vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

šŸ” Inspect: https://vercel.com/graphcms/reference-marketing-website/3cPK7TaK8Cw8RZTDKEpcToes5HNH
āœ… Preview: https://reference-marketing-website-git-renovate-next-m-70babd-graphcms.vercel.app