Update CommonMark packages to v0.30.0 #537

Open
renovate-bot wants to merge 1 commit from renovate/commonmark-packages into main
Collaborator

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.commonmark:commonmark-ext-gfm-tables 0.28.0 -> 0.30.0 age adoption passing confidence
org.commonmark:commonmark-ext-gfm-strikethrough 0.28.0 -> 0.30.0 age adoption passing confidence
org.commonmark:commonmark-ext-gfm-alerts 0.28.0 -> 0.30.0 age adoption passing confidence
org.commonmark:commonmark-ext-footnotes 0.28.0 -> 0.30.0 age adoption passing confidence
org.commonmark:commonmark-ext-autolink 0.28.0 -> 0.30.0 age adoption passing confidence
org.commonmark:commonmark 0.28.0 -> 0.30.0 age adoption passing confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

commonmark/commonmark-java (org.commonmark:commonmark-ext-gfm-tables)

v0.30.0

Added
  • New option lineSeparator for MarkdownRenderer.Builder to change the default line
    separator from \n (e.g. to \r\n) (#​442)
  • YAML front matter extension: Support extracting the raw YAML content so that you can
    do the YAML parsing using a library (instead of the limited built-in parsing) (#​391)
Changed
  • Tables extension: Limit max number of parsed table cells by default (1 million cells),
    see option maxCells in TablesExtension.Builder. Parsing will throw an error if the
    limit would be exceeded, to protect against malicious input.
  • The default for maxOpenBlockParsers for Parser.Builder is now 100; configure the
    option to remove the limit.
  • Limit how deeply inline nodes may nest by default (100), see option maxInlineNesting in
    Parser.Builder; configure the option to remove the limit. This covers emphasis-like
    delimiters (e.g. * or the ins extension's +) as well as images, which can otherwise
    nest arbitrarily deep for a small amount of input. Anything over the limit is treated as
    plain text instead.
Fixed
  • Fix quadratic runtime on various pathological inputs (where inline syntax to start a
    node is used repeatedly but never finished):
    • Inline HTML like "x <!--".repeat(100_000) (#​447)
    • Autolink starts like "<".repeat(100_000)
    • Emphasis like "a**b" + "c* ".repeat(100_000)
    • Backticks runs of different lengths
  • Fix stack overflow errors when parsing pathological inputs with repeated syntax:
    • HTML block attributes
    • Autolink email addresses
    • Deeply nested emphasis
  • Fix stack overflow error when rendering/visiting deeply nested inline nodes, by capping nesting
    depth during parsing (see maxInlineNesting above). This can happen with emphasis, e.g.
    "*".repeat(n) + "x" + "*".repeat(n) or "*a ".repeat(n) + " b*".repeat(n), as well as with
    images, e.g. "![".repeat(n) + "x" + "](u)".repeat(n)
  • YAML front matter extension: Fix inefficient string concatenation for literal-block values (|)

v0.29.0

Added
  • Support rendering GFM task list items to Markdown (#​433)
  • Support rendering YAML front matter to Markdown (#​434)
  • Alerts
    • Allow customizing HTML attributes for alert title <p> tag via AttributeProvider (#​427)
    • New configuration for AlertsExtension to allow authors to provide custom
      titles per alert. See the
      custom titles section of the alerts README
      for more information. (#​430)
    • New configuration for AlertsExtension to allow alerts to be nested within
      other blocks (including other alerts). See
      this section of the alerts README
      for more information. (#​430)
    • New configuration for AlertsExtension to allow the set of alert types
      (including standard GFM types) to be completely overwritten. (#​435)
      var extension = AlertsExtension.builder()
              .setAllowedTypes(Map.ofEntries(
                      Map.entry("IMPORTANT", "Important"),
                      Map.entry("WARNING", "Warning")
                      Map.entry("BUG", "Known Bug")
              ))
              .build();
      
    • Support rendering alerts to text (#​437)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [org.commonmark:commonmark-ext-gfm-tables](https://github.com/commonmark/commonmark-java) | `0.28.0` -> `0.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-gfm-tables/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.commonmark:commonmark-ext-gfm-tables/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.commonmark:commonmark-ext-gfm-tables/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-gfm-tables/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.commonmark:commonmark-ext-gfm-strikethrough](https://github.com/commonmark/commonmark-java) | `0.28.0` -> `0.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-gfm-strikethrough/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.commonmark:commonmark-ext-gfm-strikethrough/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.commonmark:commonmark-ext-gfm-strikethrough/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-gfm-strikethrough/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.commonmark:commonmark-ext-gfm-alerts](https://github.com/commonmark/commonmark-java) | `0.28.0` -> `0.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-gfm-alerts/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.commonmark:commonmark-ext-gfm-alerts/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.commonmark:commonmark-ext-gfm-alerts/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-gfm-alerts/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.commonmark:commonmark-ext-footnotes](https://github.com/commonmark/commonmark-java) | `0.28.0` -> `0.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-footnotes/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.commonmark:commonmark-ext-footnotes/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.commonmark:commonmark-ext-footnotes/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-footnotes/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.commonmark:commonmark-ext-autolink](https://github.com/commonmark/commonmark-java) | `0.28.0` -> `0.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-autolink/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.commonmark:commonmark-ext-autolink/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.commonmark:commonmark-ext-autolink/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-autolink/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [org.commonmark:commonmark](https://github.com/commonmark/commonmark-java) | `0.28.0` -> `0.30.0` | [![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.commonmark:commonmark/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.commonmark:commonmark/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark/0.28.0/0.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>commonmark/commonmark-java (org.commonmark:commonmark-ext-gfm-tables)</summary> ### [`v0.30.0`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0300---2026-08-06) ##### Added - New option `lineSeparator` for `MarkdownRenderer.Builder` to change the default line separator from `\n` (e.g. to `\r\n`) ([#&#8203;442](https://github.com/commonmark/commonmark-java/issues/442)) - YAML front matter extension: Support extracting the raw YAML content so that you can do the YAML parsing using a library (instead of the limited built-in parsing) ([#&#8203;391](https://github.com/commonmark/commonmark-java/issues/391)) ##### Changed - Tables extension: Limit max number of parsed table cells by default (1 million cells), see option `maxCells` in `TablesExtension.Builder`. Parsing will throw an error if the limit would be exceeded, to protect against malicious input. - The default for `maxOpenBlockParsers` for `Parser.Builder` is now 100; configure the option to remove the limit. - Limit how deeply inline nodes may nest by default (100), see option `maxInlineNesting` in `Parser.Builder`; configure the option to remove the limit. This covers emphasis-like delimiters (e.g. `*` or the ins extension's `+`) as well as images, which can otherwise nest arbitrarily deep for a small amount of input. Anything over the limit is treated as plain text instead. ##### Fixed - Fix quadratic runtime on various pathological inputs (where inline syntax to start a node is used repeatedly but never finished): - Inline HTML like `"x <!--".repeat(100_000)` ([#&#8203;447](https://github.com/commonmark/commonmark-java/issues/447)) - Autolink starts like `"<".repeat(100_000)` - Emphasis like `"a**b" + "c* ".repeat(100_000)` - Backticks runs of different lengths - Fix stack overflow errors when parsing pathological inputs with repeated syntax: - HTML block attributes - Autolink email addresses - Deeply nested emphasis - Fix stack overflow error when rendering/visiting deeply nested inline nodes, by capping nesting depth during parsing (see `maxInlineNesting` above). This can happen with emphasis, e.g. `"*".repeat(n) + "x" + "*".repeat(n)` or `"*a ".repeat(n) + " b*".repeat(n)`, as well as with images, e.g. `"![".repeat(n) + "x" + "](u)".repeat(n)` - YAML front matter extension: Fix inefficient string concatenation for literal-block values (`|`) ### [`v0.29.0`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0290---2026-06-20) ##### Added - Support rendering GFM task list items to Markdown ([#&#8203;433](https://github.com/commonmark/commonmark-java/issues/433)) - Support rendering YAML front matter to Markdown ([#&#8203;434](https://github.com/commonmark/commonmark-java/issues/434)) - Alerts - Allow customizing HTML attributes for alert title `<p>` tag via `AttributeProvider` ([#&#8203;427](https://github.com/commonmark/commonmark-java/issues/427)) - New configuration for `AlertsExtension` to allow authors to provide custom titles per alert. See the [custom titles section of the alerts README](./commonmark-ext-gfm-alerts/README.md#custom-alert-titles) for more information. ([#&#8203;430](https://github.com/commonmark/commonmark-java/issues/430)) - New configuration for `AlertsExtension` to allow alerts to be nested within other blocks (including other alerts). See [this section of the alerts README](./commonmark-ext-gfm-alerts/README.md#nesting-alerts) for more information. ([#&#8203;430](https://github.com/commonmark/commonmark-java/issues/430)) - New configuration for `AlertsExtension` to allow the set of alert types (including standard GFM types) to be completely overwritten. ([#&#8203;435](https://github.com/commonmark/commonmark-java/issues/435)) ```java var extension = AlertsExtension.builder() .setAllowedTypes(Map.ofEntries( Map.entry("IMPORTANT", "Important"), Map.entry("WARNING", "Warning") Map.entry("BUG", "Known Bug") )) .build(); ``` - Support rendering alerts to text ([#&#8203;437](https://github.com/commonmark/commonmark-java/issues/437)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmN5IiwiamF2YSIsInJ1bnRpbWUiXX0=-->
renovate-bot force-pushed renovate/commonmark-packages from 02e6db97a1 to 1c5925af86 2026-08-06 04:43:29 +00:00 Compare
renovate-bot changed title from Update CommonMark packages to v0.29.0 to Update CommonMark packages to v0.30.0 2026-08-06 04:43:30 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/commonmark-packages:renovate/commonmark-packages
git switch renovate/commonmark-packages

Merge

Merge the changes and update on Forgejo.
git switch main
git merge --no-ff renovate/commonmark-packages
git switch renovate/commonmark-packages
git rebase main
git switch main
git merge --ff-only renovate/commonmark-packages
git switch renovate/commonmark-packages
git rebase main
git switch main
git merge --no-ff renovate/commonmark-packages
git switch main
git merge --squash renovate/commonmark-packages
git switch main
git merge --ff-only renovate/commonmark-packages
git switch main
git merge renovate/commonmark-packages
git push origin main
Sign in to join this conversation.
No description provided.