website icon indicating copy to clipboard operation
website copied to clipboard

chore(deps-dev): bump next-mdx-remote from 3.0.8 to 5.0.0

Open dependabot[bot] opened this issue 9 months ago • 1 comments

Bumps next-mdx-remote from 3.0.8 to 5.0.0.

Release notes

Sourced from next-mdx-remote's releases.

v5.0.0

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

What's Changed

Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.4.0...v4.4.1

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 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 (
	&lt;&gt;
		&lt;h1&gt;{frontmatter.title}&lt;/h1&gt;
		{content}
	&lt;/&gt;
)

</tr></table>

... (truncated)

Changelog

Sourced from next-mdx-remote's changelog.

5.0.0

Major Changes

  • #448 67a221f Thanks @​dstaley! - Update to MDX v3 and add support for React 19. Fix various TypeScript errors. Remove usage of Rollup.
Commits
  • 0d8438f fix: add release script
  • 634b3b7 Version Packages (#461)
  • 67a221f next-mdx-remote v5 (#448)
  • 5ca1064 Merge pull request #453 from hashicorp/compliance/add-headers
  • a868874 [COMPLIANCE] Add Copyright and License Headers
  • 5b97c4b chore: add issue templates
  • da4412a Merge pull request #446 from hashicorp/ds.canary-releases
  • bab00c7 feat: add support for canary releases
  • 995a3b2 Merge pull request #440 from navidadelpour/fix-access-frontmatter-example
  • b4de901 fix: remove indentations that cause issue in parsing frontmatter
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by hashibot-web, a new releaser for next-mdx-remote since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

dependabot[bot] avatar May 22 '24 23:05 dependabot[bot]