Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 2, 2022

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

Compare Source

What's Changed

Full Changelog: hashicorp/next-mdx-remote@v4.4.0...v4.4.1

v4.4.0

Compare Source

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 for an example.

serialize:

import { serialize } from 'next-mdx-remote/serialize'

interface Frontmatter {
  title: string
  published: string
  description?: string
}

//     👇 should have type Frontmatter
const { frontmatter } = serialize<Record<string, unknown>, Frontmatter>(source)

compileMDX:

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<Frontmatter>(source)

	return (
		<>
			<h1>{frontmatter.title}</h1>
			{content}
		</>
	)
}

What's Changed

New Contributors

Full Changelog: hashicorp/next-mdx-remote@v4.3.0...v4.4.0

v4.3.0: - Server Components Support (experimental)

Compare Source

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 for usage instructions and additional examples.

import { MDXRemote } from 'next-mdx-remote/rsc'

export default async function Page() {
  const mdxSource = await getContent()

  return (
    <MDXRemote source={mdxSource} />
  )
}

Big thanks to @​timneutkens for his contribution!


What's Changed

New Contributors

Full Changelog: hashicorp/next-mdx-remote@v4.2.1...v4.3.0

v4.2.1

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/next-mdx-remote@v4.2.0...v4.2.1

v4.2.0

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/next-mdx-remote@v4.1.0...v4.2.0

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/next-mdx-remote@v4.0.3...v4.1.0

v4.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/next-mdx-remote@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.


  • If you want to rebase/retry this PR, check this box

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

@vercel
Copy link

vercel bot commented May 2, 2022

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)

@renovate renovate bot force-pushed the renovate/next-mdx-remote-4.x branch from f1f1ca7 to 16fd946 Compare September 25, 2022 21:39
@renovate renovate bot changed the title chore(deps): update dependency next-mdx-remote to v4.0.3 chore(deps): update dependency next-mdx-remote to v4.1.0 Sep 25, 2022
@renovate renovate bot force-pushed the renovate/next-mdx-remote-4.x branch from 16fd946 to dded61d Compare November 20, 2022 13:26
@renovate renovate bot changed the title chore(deps): update dependency next-mdx-remote to v4.1.0 chore(deps): update dependency next-mdx-remote to v4.2.0 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/next-mdx-remote-4.x branch from dded61d to 389458a Compare March 16, 2023 11:20
@renovate renovate bot changed the title chore(deps): update dependency next-mdx-remote to v4.2.0 chore(deps): update dependency next-mdx-remote to v4.4.1 Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants