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.28.0 #290

Closed dependabot[bot] closed 2 weeks ago

dependabot[bot] commented 1 month ago

Bumps comrak from 0.24.1 to 0.28.0.

Release notes

Sourced from comrak's releases.

v0.28.0

Diff: https://github.com/kivikakk/comrak/compare/v0.27.0...v0.28.0

v0.27.0

Diff: https://github.com/kivikakk/comrak/compare/v0.26.0...v0.27.0

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.

... (truncated)

Changelog

Sourced from comrak's changelog.

[v0.28.0] - 05-09-2024

Diff: https://github.com/kivikakk/comrak/compare/v0.27.0...v0.28.0

[v0.27.0] - 19-08-2024

Diff: https://github.com/kivikakk/comrak/compare/v0.26.0...v0.27.0

[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.

... (truncated)

Commits
  • 1a33c63 Merge pull request #463 from kivikakk/release/v0.28.0
  • 7f106c6 changelog.txt: update.
  • 58a9aa4 [skip test] update changelog
  • f0630fc Cargo.toml: v0.28.0.
  • 92efde0 Merge pull request #461 from kivikakk/bw-fix-relaxed-autolinks
  • 56ed78f cargo fmt.
  • e982dbd Fix autolinking in markdown links
  • 30e8bdf tests: add some missing options in api.rs.
  • e30dd1e Merge pull request #458 from JmPotato/figure_rendering_option
  • b11a4e9 Check the title before rendering <figcaption>
  • Additional commits viewable in compare view


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 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] commented 2 weeks ago

Superseded by #296.