nelsonjchen / github-wiki-see-rs

🔎 Did you know most GitHub Wikis can't index on search engines? Search Engine Enablement for GitHub Wikis service. 400,000+ GitHub Wikis, now indexable by your favorite search engine.
https://github-wiki-see.page
MIT License
102 stars 18 forks source link

Bump comrak from 0.20.0 to 0.27.0 #604

Closed dependabot[bot] closed 1 month ago

dependabot[bot] commented 2 months ago

Bumps comrak from 0.20.0 to 0.27.0.

Release notes

Sourced from comrak's releases.

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.

New Contributors

Diff: https://github.com/kivikakk/comrak/compare/v0.24.1...v0.25.0

... (truncated)

Changelog

Sourced from comrak's changelog.

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

... (truncated)

Commits
  • 7ff5110 Merge pull request #456 from kivikakk/release/v0.27.0
  • 34fa5c4 changelog.txt: update.
  • 4f99010 [skip test] update changelog
  • 42237a1 Cargo.toml: v0.27.0.
  • 9ad7f53 Merge pull request #455 from kivikakk/bw-inline-sourcepos-cli
  • 6e93973 Merge branch 'main' into bw-inline-sourcepos-cli
  • 36a39df Add experimental-inline-sourcepos to cli options
  • 25f4b06 Merge pull request #453 from kivikakk/bw-inline-sourcepos
  • 2e144c5 Fix sourcepos for ___ and ***
  • feaf5cf Use a line_offset vector to track offsets for inline sourcepos
  • 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 1 month ago

Superseded by #607.