Skip to content

Commit 7b1dcd7

Browse files
authored
Merge pull request #660 from kivikakk/release/v0.46.0
Release v0.46.0.
2 parents 24b9b06 + ebb934d commit 7b1dcd7

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed

CHANGELOG.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ Categories to use in this document, and the order in which to give them:
1414
* Behind the scenes
1515

1616

17-
# unreleased
17+
# [v0.46.0] - 2025-10-28
1818

1919
Please note the MSRV has been bumped from 1.65 to 1.70; see [the pull request](https://github.com/kivikakk/comrak/pull/649) for more details. It's a kind of sticky and awkward situation — thanks to the inevitability of Progress — with no particularly clean solution. (wherein telling GCC 15 users "sorry it just won't build from source for you without messing with dependencies" is not a solution.)
2020

2121
Security:
2222

23-
* Footnote resolution no longer recurses over the document tree; on documents with deeply nested elements, this could cause a stack overflow, with resultant denial of service.
24-
* Inline footnotes are restricted to a depth of 5 for similar reasons. An iterative rewrite here to avoid a limit is possible, but for now I'm hoping we can all pretend to be responsible adult human beings and limit our recursive inline footnote usage accordingly. (PRs welcome tho, non-human users are very welcome!)
23+
* Footnote resolution no longer recurses over the document tree; on documents with deeply nested elements, this could cause a stack overflow, with resultant denial of service. (by @kivikakk in https://github.com/kivikakk/comrak/pull/659)
24+
* Inline footnotes are restricted to a depth of 5 for similar reasons. An iterative rewrite here to avoid a limit is possible, but for now I'm hoping we can all pretend to be responsible adult human beings and limit our recursive inline footnote usage accordingly. (PRs welcome tho, non-human users are very welcome!) (by @kivikakk in https://github.com/kivikakk/comrak/pull/659)
2525

2626
Parser changes:
2727

@@ -35,12 +35,20 @@ New APIs:
3535
Bug fixes:
3636

3737
* Source position information is corrected for description lists, HTML blocks, multiline block quotes, links with newlines following the destination, tables with leading indentation, and escaped character spans. (by @Martin005 in https://github.com/kivikakk/comrak/pull/646, https://github.com/kivikakk/comrak/pull/651, https://github.com/kivikakk/comrak/pull/652, https://github.com/kivikakk/comrak/pull/653, https://github.com/kivikakk/comrak/pull/656, https://github.com/kivikakk/comrak/pull/657)
38-
* `escaped_char_span` users can now successfully format to CommonMark with debug assertions enabled. These ASTs previously did not validate, which currently is enabled experimentally only in CommonMark output in debug.
38+
* `escaped_char_span` users can now successfully format to CommonMark with debug assertions enabled. These ASTs previously did not validate, which currently is enabled experimentally only in CommonMark output in debug. (by @kivikakk in https://github.com/kivikakk/comrak/pull/659)
3939

4040
Build changes:
4141

4242
* Comrak's MSRV is bumped from 1.65 to 1.70. (by @kivikakk in https://github.com/kivikakk/comrak/pull/649)
4343

44+
## New Contributors
45+
46+
* @Martin005 made their first contribution in https://github.com/kivikakk/comrak/pull/646
47+
* @Kuuuube made their first contribution in https://github.com/kivikakk/comrak/pull/648
48+
* @SethFalco made their first contribution in https://github.com/kivikakk/comrak/pull/654
49+
50+
Diff: https://github.com/kivikakk/comrak/compare/v0.45.0...v0.46.0
51+
4452

4553
# [v0.45.0] - 2025-10-23
4654

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Specify it as a requirement in `Cargo.toml`:
1616

1717
``` toml
1818
[dependencies]
19-
comrak = "0.45"
19+
comrak = "0.46"
2020
```
2121

2222
Comrak's library supports Rust <span class="msrv">1.70</span>+.
@@ -118,7 +118,7 @@ Options:
118118
[possible values: strikethrough, tagfilter, table, autolink, tasklist, superscript,
119119
footnotes, inline-footnotes, description-lists, multiline-block-quotes, math-dollars,
120120
math-code, wikilinks-title-after-pipe, wikilinks-title-before-pipe, underline, subscript,
121-
spoiler, greentext, alerts, cjk-friendly-emphasis]
121+
spoiler, greentext, alerts, cjk-friendly-emphasis, subtext]
122122
123123
-t, --to <FORMAT>
124124
Specify output format

0 commit comments

Comments
 (0)