sebastienrousseau / shokunin

A Content-First Open Source Static Site Generator (SSG) written in Rust 🦀
https://shokunin.one
Apache License 2.0
30 stars 2 forks source link

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

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 3 months ago

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: https://github.com/kivikakk/comrak/compare/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: https://github.com/kivikakk/comrak/compare/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: https://github.com/kivikakk/comrak/compare/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 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[bot] commented 2 months ago

Superseded by #283.