Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2025

Bumps react-markdown from 9.0.3 to 10.0.0.

Release notes

Sourced from react-markdown's releases.

10.0.0

Full Changelog: remarkjs/react-markdown@9.1.0...10.0.0

9.1.0

Full Changelog: remarkjs/react-markdown@9.0.3...9.1.0

Changelog

Sourced from react-markdown's changelog.

10.0.0 - 2025-02-20

  • aaaa40b Remove support for className prop migrate: see “Remove className” below

Remove className

The className prop was removed. If you want to add classes to some element that wraps the markdown you can explicitly write that element and add the class to it. You can then choose yourself which tag name to use and whether to add other props.

Before:

<Markdown className="markdown-body">{markdown}</Markdown>

After:

<div className="markdown-body">
  <Markdown>{markdown}</Markdown>
</div>

9.1.0 - 2025-02-20

  • 6ce120e Add support for async plugins
Commits

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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 24, 2025
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/react-markdown-10.0.0 branch from 26e2b01 to 96fc4a4 Compare February 24, 2025 11:29
Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from 9.0.3 to 10.0.0.
- [Release notes](https://github.com/remarkjs/react-markdown/releases)
- [Changelog](https://github.com/remarkjs/react-markdown/blob/main/changelog.md)
- [Commits](remarkjs/react-markdown@9.0.3...10.0.0)

---
updated-dependencies:
- dependency-name: react-markdown
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@torokati44 torokati44 force-pushed the dependabot/npm_and_yarn/react-markdown-10.0.0 branch from 96fc4a4 to 10e8067 Compare February 24, 2025 14:30
Comment on lines -52 to -54
<div>
<div className={type == "excerpt" ? classes.excerpt : classes.contents}>
<Markdown
className={type == "excerpt" ? classes.excerpt : classes.contents}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See: https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-classname

Since we already had a <div> directly around the <Markdown> (and nothing else) here, I assumed we don't need to add another layer.

@torokati44 torokati44 merged commit 8310315 into master Feb 24, 2025
1 check passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-markdown-10.0.0 branch February 24, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants