hygraph / reference-marketing-website

Next.js starter for creating a SaaS Marketing Website with Hygraph ⚑️
https://marketing-websites.withheadlesscms.com
MIT License
129 stars 52 forks source link

chore(deps): update dependency next-mdx-remote to v4.4.1 #174

Open renovate[bot] opened 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate logo banner

This PR contains the following updates:

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

Release Notes

hashicorp/next-mdx-remote (next-mdx-remote) ### [`v4.4.1`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.4.1) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.4.0...v4.4.1) #### What's Changed - chore(types): remove unused imports by [@​thiskevinwang](https://togithub.com/thiskevinwang) in [https://github.com/hashicorp/next-mdx-remote/pull/348](https://togithub.com/hashicorp/next-mdx-remote/pull/348) - fix: Make sure frontmatter types flow through to MDXRemote by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/351](https://togithub.com/hashicorp/next-mdx-remote/pull/351) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.4.0...v4.4.1 ### [`v4.4.0`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.4.0) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.3.0...v4.4.0) This release includes a few fixes for frontmatter types, as well as a way to provide a frontmatter type to `serialize` or `compileMDX` and have it propagate through to the returned `frontmatter` property. See the [documentation](https://togithub.com/hashicorp/next-mdx-remote#access-frontmatter-outside-of-mdx) for an example. `serialize`: ```ts import { serialize } from 'next-mdx-remote/serialize' interface Frontmatter { title: string published: string description?: string } // πŸ‘‡ should have type Frontmatter const { frontmatter } = serialize, Frontmatter>(source) ``` `compileMDX`: ```tsx import { compileMDX } from 'next-mdx-remote/rsc' interface Frontmatter { title: string published: string description?: string } export default async function Page({ source }) { // πŸ‘‡ should have type Frontmatter const { content, frontmatter } = await compileMDX(source) return ( <>

{frontmatter.title}

{content} ) } ``` #### What's Changed - docs: fix react server components example by [@​greyhere](https://togithub.com/greyhere) in [https://github.com/hashicorp/next-mdx-remote/pull/334](https://togithub.com/hashicorp/next-mdx-remote/pull/334) - fix(rsc): do not require compiledSource in types by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/339](https://togithub.com/hashicorp/next-mdx-remote/pull/339) - fix: TFrontmatter type to unknown by [@​RebootGG](https://togithub.com/RebootGG) in [https://github.com/hashicorp/next-mdx-remote/pull/340](https://togithub.com/hashicorp/next-mdx-remote/pull/340) - remove newline from template literal by [@​chrisweb](https://togithub.com/chrisweb) in [https://github.com/hashicorp/next-mdx-remote/pull/346](https://togithub.com/hashicorp/next-mdx-remote/pull/346) - feat: Improve frontmatter types, pass generic TFrontmatter type through by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/342](https://togithub.com/hashicorp/next-mdx-remote/pull/342) #### New Contributors - [@​greyhere](https://togithub.com/greyhere) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/334](https://togithub.com/hashicorp/next-mdx-remote/pull/334) - [@​RebootGG](https://togithub.com/RebootGG) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/340](https://togithub.com/hashicorp/next-mdx-remote/pull/340) - [@​chrisweb](https://togithub.com/chrisweb) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/346](https://togithub.com/hashicorp/next-mdx-remote/pull/346) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.3.0...v4.4.0 ### [`v4.3.0`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.3.0): - Server Components Support (experimental) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.2.1...v4.3.0) `next-mdx-remote` now has experimental support for React Server Components! πŸŽ‰ Access the new API by importing from `next-mdx-remote/rsc`, and head to [the documentation](https://togithub.com/hashicorp/next-mdx-remote#react-server-components-rsc--nextjs-app-directory-support) for usage instructions and additional examples. ```tsx import { MDXRemote } from 'next-mdx-remote/rsc' export default async function Page() { const mdxSource = await getContent() return ( ) } ``` Big thanks to [@​timneutkens](https://togithub.com/timneutkens) for his contribution! *** #### What's Changed - Pass components directly to compiled MDX function by [@​timneutkens](https://togithub.com/timneutkens) in [https://github.com/hashicorp/next-mdx-remote/pull/330](https://togithub.com/hashicorp/next-mdx-remote/pull/330) - Add support for React Server Components by [@​timneutkens](https://togithub.com/timneutkens) in [https://github.com/hashicorp/next-mdx-remote/pull/331](https://togithub.com/hashicorp/next-mdx-remote/pull/331) - chore: run tests in isolation by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/332](https://togithub.com/hashicorp/next-mdx-remote/pull/332) - chore: document new RSC API by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/333](https://togithub.com/hashicorp/next-mdx-remote/pull/333) #### New Contributors - [@​timneutkens](https://togithub.com/timneutkens) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/330](https://togithub.com/hashicorp/next-mdx-remote/pull/330) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.2.1...v4.3.0 ### [`v4.2.1`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.2.1) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.2.0...v4.2.1) #### What's Changed - Fix: export `jsx-dev-runtime` in development mode by [@​imtsuki](https://togithub.com/imtsuki) in [https://github.com/hashicorp/next-mdx-remote/pull/323](https://togithub.com/hashicorp/next-mdx-remote/pull/323) #### New Contributors - [@​imtsuki](https://togithub.com/imtsuki) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/323](https://togithub.com/hashicorp/next-mdx-remote/pull/323) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.2.0...v4.2.1 ### [`v4.2.0`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.2.0) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.1.0...v4.2.0) #### What's Changed - Support serializing all VFile-compatible values by [@​nwalters512](https://togithub.com/nwalters512) in [https://github.com/hashicorp/next-mdx-remote/pull/311](https://togithub.com/hashicorp/next-mdx-remote/pull/311) #### New Contributors - [@​nwalters512](https://togithub.com/nwalters512) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/311](https://togithub.com/hashicorp/next-mdx-remote/pull/311) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.1.0...v4.2.0 ### [`v4.1.0`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.1.0) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.0.3...v4.1.0) #### What's Changed - chore: update reference to MDX options by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/280](https://togithub.com/hashicorp/next-mdx-remote/pull/280) - fix: loosen `frontmatter` type and make it configurable by [@​joemckenney](https://togithub.com/joemckenney) in [https://github.com/hashicorp/next-mdx-remote/pull/283](https://togithub.com/hashicorp/next-mdx-remote/pull/283) #### New Contributors - [@​joemckenney](https://togithub.com/joemckenney) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/283](https://togithub.com/hashicorp/next-mdx-remote/pull/283) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.3...v4.1.0 ### [`v4.0.3`](https://togithub.com/hashicorp/next-mdx-remote/releases/tag/v4.0.3) [Compare Source](https://togithub.com/hashicorp/next-mdx-remote/compare/v4.0.2...v4.0.3) #### What's Changed - Improved typing of the `frontmatter` prop. by [@​MatthijsMud](https://togithub.com/MatthijsMud) in [https://github.com/hashicorp/next-mdx-remote/pull/252](https://togithub.com/hashicorp/next-mdx-remote/pull/252) - fix: support both react 17 and react 18 jsx-runtime imports by [@​BRKalow](https://togithub.com/BRKalow) in [https://github.com/hashicorp/next-mdx-remote/pull/267](https://togithub.com/hashicorp/next-mdx-remote/pull/267) #### New Contributors - [@​MatthijsMud](https://togithub.com/MatthijsMud) made their first contribution in [https://github.com/hashicorp/next-mdx-remote/pull/252](https://togithub.com/hashicorp/next-mdx-remote/pull/252) **Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.2...v4.0.3

Configuration

πŸ“… Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» 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 Mend Renovate. View repository job log here.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated
reference-marketing-website βœ… Ready (Inspect) Visit Preview πŸ’¬ Add your feedback Mar 16, 2023 at 11:20AM (UTC)