gitshark

Clone repository

git clone https://gitshark.de/git/workaround/Gitshark.git
git clone git@gitshark.de:workaround/Gitshark.git

← Merge requests

Update commonmark.version to v0.29.0 !6

Closed renovate/commonmark.versionmain opened by miggi miggi

This PR contains the following updates:

| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [org.commonmark:commonmark-ext-gfm-tables](https://github.com/commonmark/commonmark-java) | `0.24.0` → `0.29.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark-ext-gfm-tables/0.29.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark-ext-gfm-tables/0.24.0/0.29.0?slim=true) |
| [org.commonmark:commonmark](https://github.com/commonmark/commonmark-java) | `0.24.0` → `0.29.0` | ![age](https://developer.mend.io/api/mc/badges/age/maven/org.commonmark:commonmark/0.29.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.commonmark:commonmark/0.24.0/0.29.0?slim=true) |

---

### Release Notes

<details>
<summary>commonmark/commonmark-java (org.commonmark:commonmark-ext-gfm-tables)</summary>

### [`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))

### [`v0.28.0`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0280---2026-03-31)

##### Added

- New extension for alerts (aka callouts/admonitions)
  - Syntax:
    ```markdown
    > [!NOTE]
    > The text of the note.
    ```
  - As types you can use NOTE, TIP, IMPORTANT, WARNING, CAUTION; or configure the
    extension to add additional ones.
  - Use class `AlertsExtension` in artifact `commonmark-ext-gfm-alerts` ([#&#8203;420](https://github.com/commonmark/commonmark-java/issues/420))
- New option `maxOpenBlockParsers` for `Parser.Builder` to set an overall limit
  for the depth of block parsing. If set, any nesting beyond the limit will be
  parsed as paragraph text instead. The default remains unlimited.

### [`v0.27.1`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0271---2026-01-14)

##### Fixed

- Line(s) after a hard line break would sometimes also get an unwanted hard
  line break, e.g. if they ended in emphasis or other non-text inlines ([#&#8203;415](https://github.com/commonmark/commonmark-java/issues/415))
- `TextContentRenderer` (for plain text): Fix nested lists on the same line ([#&#8203;413](https://github.com/commonmark/commonmark-java/issues/413))
- Fix minor performance regression with pathological input (deeply nested
  brackets) that was introduced in version 0.23.0.

### [`v0.27.0`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0270---2025-10-12)

##### Added

- Autolink extension: Now supports configuration of different link types that
  should be recognized and converted to links. See `AutolinkExtension#builder`

  | Type    | Default? | Description                                            |
  | ------- | -------- | ------------------------------------------------------ |
  | `URL`   | Yes      | URL with a protocol such as `https://example.com`      |
  | `EMAIL` | Yes      | Email address such as `foo@example.com`                |
  | `WWW`   | Yes      | Address beginning with `www` such as `www.example.com` |

  Note that this changes the behavior of `AutolinkExtension.create()` to now also
  include `WWW` links by default. To re-enable the previous behavior, use:

  ```java
  AutolinkExtension.builder().linkTypes(AutolinkType.URL, AutolinkType.EMAIL).build();
  ```

### [`v0.26.0`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0260---2025-09-13)

##### Changed

- A `LinkProcessor` using `replaceWith` now also stops outer links from being
  parsed as links, same as with `wrapTextIn`. This prevents nested links, see
  footnotes change below.

##### Fixed

- Fix rendering of image alt text to include contents of code spans (`` `code` ``). ([#&#8203;398](https://github.com/commonmark/commonmark-java/issues/398))
- footnotes: Fix footnotes nested within links. Before, both the link and the
  footnote reference would be parsed and lead to nested `<a>` elements, which
  is disallowed. Now, only the footnote is parsed and the outer link becomes
  plain text; this matches the behavior of links. ([#&#8203;400](https://github.com/commonmark/commonmark-java/issues/400))

### [`v0.25.1`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0251---2025-08-01)

##### Fixed

- footnotes: Fix parsing of footnote definitions containing multiple paragraphs
  separated by blank lines. Before it only worked if paragraphs were separated
  by lines of 4 spaces. ([#&#8203;388](https://github.com/commonmark/commonmark-java/issues/388))

### [`v0.25.0`](https://github.com/commonmark/commonmark-java/blob/HEAD/CHANGELOG.md#0250---2025-06-20)

##### Added

- Include OSGi metadata in jars (`META-INF/MANIFEST.MF` files) ([#&#8203;378](https://github.com/commonmark/commonmark-java/issues/378))
- More documentation with examples for `Node` classes ([#&#8203;370](https://github.com/commonmark/commonmark-java/issues/370))

##### Changed

- GitHub tables: Tables are now parsed even if there's no blank line before the
  table heading, matching GitHub's behavior. ([#&#8203;381](https://github.com/commonmark/commonmark-java/issues/381))

##### Fixed

- `MarkdownRenderer`: Fix precedence for `nodeRendererFactory`: Factories passed
  to the builder can now override rendering for core node types. ([#&#8203;368](https://github.com/commonmark/commonmark-java/issues/368))
- `MarkdownRenderer`: Fix exception with ordered lists with a long first number
  followed by a shorter one ([#&#8203;382](https://github.com/commonmark/commonmark-java/issues/382))
- Fix warning in Eclipse about "missing 'requires transitive'" ([#&#8203;358](https://github.com/commonmark/commonmark-java/issues/358))
- Fix Android incompatibility with `requireNonNullElseGet` ([#&#8203;369](https://github.com/commonmark/commonmark-java/issues/369))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- 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 [Mend Renovate](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNzMuMCIsInVwZGF0ZWRJblZlciI6IjQzLjI3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Assignee

No one assigned

Reviewer

No reviewer

Discussion 0

No comments yet.

Log in to comment.

Changes

No changes to show. The source branch has nothing new over the target.

Keyboard shortcuts

?Show this help
g hGo home
EscClose dialog