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

fix(deps): update dependency next-mdx-remote to v5 #355

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 22, 2024

This PR contains the following updates:

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

Release Notes

hashicorp/next-mdx-remote (next-mdx-remote)

v5.0.0

Compare Source

Major Changes
  • #​448 67a221f Thanks @​dstaley! - Update to MDX v3 and add support for React 19. Fix various TypeScript errors. Remove usage of Rollup.

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


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, 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.

@renovate renovate bot requested a review from stijnmoreels as a code owner May 22, 2024 21:05
@renovate renovate bot requested review from fgheysels and pim-simons as code owners May 22, 2024 21:05
Copy link

netlify bot commented May 22, 2024

Deploy Preview for arcus ready!

Name Link
🔨 Latest commit 578abed
🔍 Latest deploy log https://app.netlify.com/sites/arcus/deploys/6792027aa882570008944bff
😎 Deploy Preview https://deploy-preview-355--arcus.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.

@renovate renovate bot force-pushed the renovate-next-mdx-remote-5.x branch from 7340cd1 to 57d9456 Compare June 21, 2024 11:56
@renovate renovate bot force-pushed the renovate-next-mdx-remote-5.x branch from 57d9456 to 2586ef2 Compare July 8, 2024 05:33
@renovate renovate bot force-pushed the renovate-next-mdx-remote-5.x branch from 2586ef2 to ebc94e1 Compare July 23, 2024 04:49
@renovate renovate bot force-pushed the renovate-next-mdx-remote-5.x branch from ebc94e1 to 096af14 Compare August 27, 2024 06:49
@renovate renovate bot force-pushed the renovate-next-mdx-remote-5.x branch from 096af14 to 578abed Compare January 23, 2025 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants