contentful / forma-36

A design system by Contentful
https://f36.contentful.com
MIT License
329 stars 81 forks source link

chore: bump next-mdx-remote from 3.0.8 to 5.0.0 #2799

Open dependabot[bot] opened 1 month ago

dependabot[bot] commented 1 month ago

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

You can trigger a rebase of this PR 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 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)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
forma-36 ❌ Failed (Inspect) Jun 17, 2024 1:47pm
changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: a91a976ceaa41bbba560f8bc06177331f781d7db

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

github-actions[bot] commented 2 weeks ago

Marking pull request as stale since there was no activity for 30 days