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

build(deps): bump comrak from 0.24.1 to 0.26.0 #254

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 18, 2024

Bumps comrak from 0.24.1 to 0.26.0.

Release notes

Sourced from comrak's releases.

v0.26.0

  • Restore inline sourcepos as experimental. by @​kivikakk in kivikakk/comrak#444
    • This is needed by some downstream users, so we re-introduce it, with a clearly labelled option.

Diff: kivikakk/comrak@v0.25.0...v0.26.0

v0.25.0

  • Discord-flavored Markdown by @​Meow and @​liamwhite in kivikakk/comrak#421
    • Three new extensions and two render options are added:
      • extension.underline adds support for __underlined__ text.
      • extension.spoiler adds support for ||spoiler|| text.
      • extension.greentext adds support for image board-style >greentext, which isn't transformed into a blockquote.
      • render.ignore_setext disables parsing setext-style headings.
      • render.ignore_empty_links causes links with no text (like [](https://github.com/kivikakk/comrak/blob/HEAD/xyz)) to remain in the text as-is.
  • nodes: add From impls for AstNode. by @​kivikakk in kivikakk/comrak#424
    • Back by popular demand: AstNode::from(NodeValue).
    • Also added is AstNode::from(Ast), if you have sourcepos.
  • AST validation by @​yannham in kivikakk/comrak#425
    • The AST is validated when formatting a document as CommonMark in debug builds.
  • Address autolink edge cases. by @​kivikakk in kivikakk/comrak#426
    • Autolinks had many edge cases where output differed from upstream cmark-gfm. These have been fixed by following upstream's parser design closely.
  • shortcodes: capture all known aliases. by @​kivikakk in kivikakk/comrak#427
    • We didn't parse shortcodes containing numbers or +. We do now.
  • Support both upstream CommonMark and GFM's differences in the base spec. by @​kivikakk in kivikakk/comrak#428
    • GFM modifies even base CommonMark output somewhat. We now support and validate against both.
  • cm: count ol items from start of each list. by @​kivikakk in kivikakk/comrak#429
    • Ordered list item numbers are normalised on formatting back to CommonMark.
  • arena_tree: panic if iterator invalidation causes trouble. by @​kivikakk in kivikakk/comrak#437
    • arena_tree would silently stop iteration when trying to proceed from a child that had lost its parent. It now panics instead, as the old behaviour is incorrect and impossible to notice.
  • broken reflink callback updates & big cleanup. by @​kivikakk in kivikakk/comrak#438
    • The broken reference link callback has been moved into ParseOptions (which now takes a lifetime, meaning Options does too).
    • The callback now takes a struct containing both the normalised reference, and the original text, and the return value has changed from a 2-tuple to a struct for clarity.
    • parse_document_with_broken_link_callback has been marked deprecated.
  • Inline sourcepos fixes. by @​kivikakk in kivikakk/comrak#439
    • Inline sourcepos was provided on a best-effort basis, but there are multiple correctness issues which can't be fixed without significant work.
    • Inline sourcepos is no longer reported in HTML output. It remains in the AST and in XML output, but it is not reliable. See the PR for details.
    • Link sourcepos is slightly better than it was when it spans multiple lines.

New Contributors

Diff: kivikakk/comrak@v0.24.1...v0.25.0

Changelog

Sourced from comrak's changelog.

[v0.26.0] - 12-07-2024

  • Restore inline sourcepos as experimental. by @​kivikakk in kivikakk/comrak#444
    • This is needed by some downstream users, so we re-introduce it, with a clearly labelled option.

Diff: kivikakk/comrak@v0.25.0...v0.26.0

[v0.25.0] - 12-07-2024

  • Discord-flavored Markdown by @​Meow and @​liamwhite in kivikakk/comrak#421
    • Three new extensions and two render options are added:
      • extension.underline adds support for __underlined__ text.
      • extension.spoiler adds support for ||spoiler|| text.
      • extension.greentext adds support for image board-style >greentext, which isn't transformed into a blockquote.
      • render.ignore_setext disables parsing setext-style headings.
      • render.ignore_empty_links causes links with no text (like [](https://github.com/kivikakk/comrak/blob/main/xyz)) to remain in the text as-is.
  • nodes: add From impls for AstNode. by @​kivikakk in kivikakk/comrak#424
    • Back by popular demand: AstNode::from(NodeValue).
    • Also added is AstNode::from(Ast), if you have sourcepos.
  • AST validation by @​yannham in kivikakk/comrak#425
    • The AST is validated when formatting a document as CommonMark in debug builds.
  • Address autolink edge cases. by @​kivikakk in kivikakk/comrak#426
    • Autolinks had many edge cases where output differed from upstream cmark-gfm. These have been fixed by following upstream's parser design closely.
  • shortcodes: capture all known aliases. by @​kivikakk in kivikakk/comrak#427
    • We didn't parse shortcodes containing numbers or +. We do now.
  • Support both upstream CommonMark and GFM's differences in the base spec. by @​kivikakk in kivikakk/comrak#428
    • GFM modifies even base CommonMark output somewhat. We now support and validate against both.
  • cm: count ol items from start of each list. by @​kivikakk in kivikakk/comrak#429
    • Ordered list item numbers are normalised on formatting back to CommonMark.
  • arena_tree: panic if iterator invalidation causes trouble. by @​kivikakk in kivikakk/comrak#437
    • arena_tree would silently stop iteration when trying to proceed from a child that had lost its parent. It now panics instead, as the old behaviour is incorrect and impossible to notice.
  • broken reflink callback updates & big cleanup. by @​kivikakk in kivikakk/comrak#438
    • The broken reference link callback has been moved into ParseOptions (which now takes a lifetime, meaning Options does too).
    • The callback now takes a struct containing both the normalised reference, and the original text, and the return value has changed from a 2-tuple to a struct for clarity.
    • parse_document_with_broken_link_callback has been marked deprecated.
  • Inline sourcepos fixes. by @​kivikakk in kivikakk/comrak#439
    • Inline sourcepos was provided on a best-effort basis, but there are multiple correctness issues which can't be fixed without significant work.

... (truncated)

Commits
  • 415f527 Merge pull request #445 from kivikakk/release/v0.26.0
  • 0c62d39 changelog.txt: update.
  • ed7113c [skip test] update changelog
  • 6b268f9 Cargo.toml: v0.26.0.
  • 0de8251 Merge pull request #444 from kivikakk/experimental-inline-sourcepos
  • 1dc3fed html: only show inline sourcepos when asked for.
  • c5f5f2d Revert "html: don't report sourcepos on inlines."
  • ae113bf Merge pull request #440 from kivikakk/release/v0.25.0
  • 83e90b2 changelog.txt: elaborate on 0.25.0, and clean up.
  • 17c02a2 [skip test] update changelog
  • Additional commits viewable in compare view

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 <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)

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

@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jul 18, 2024
@dependabot dependabot bot force-pushed the dependabot/cargo/comrak-0.26.0 branch 2 times, most recently from 3fe486a to 6c510be Compare July 25, 2024 05:07
@dependabot dependabot bot force-pushed the dependabot/cargo/comrak-0.26.0 branch 4 times, most recently from 2ebce8e to 285b20c Compare August 1, 2024 05:25
@dependabot dependabot bot force-pushed the dependabot/cargo/comrak-0.26.0 branch 2 times, most recently from 2c08b6c to 1a28b3d Compare August 12, 2024 09:32
Bumps [comrak](https://github.com/kivikakk/comrak) from 0.24.1 to 0.26.0.
- [Release notes](https://github.com/kivikakk/comrak/releases)
- [Changelog](https://github.com/kivikakk/comrak/blob/main/changelog.txt)
- [Commits](kivikakk/comrak@v0.24.1...v0.26.0)

---
updated-dependencies:
- dependency-name: comrak
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/cargo/comrak-0.26.0 branch from 1a28b3d to 95bffa1 Compare August 16, 2024 20:31
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 20, 2024

Superseded by #283.

@dependabot dependabot bot closed this Aug 20, 2024
@dependabot dependabot bot deleted the dependabot/cargo/comrak-0.26.0 branch August 20, 2024 03:20
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 rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants