Skip to content
This repository has been archived by the owner on Feb 21, 2025. It is now read-only.

fix(deps): update dependency next-mdx-remote to ^4.4.1 #7550

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2025

This PR contains the following updates:

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

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


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


Configuration

📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 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.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Feb 2, 2025

Deploy Preview for sourcegraph ready!

Name Link
🔨 Latest commit a5c1d7f
🔍 Latest deploy log https://app.netlify.com/sites/sourcegraph/deploys/679f0db6b9aca100087f5d6f
😎 Deploy Preview https://deploy-preview-7550--sourcegraph.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants