Releases: kivikakk/comrak
Releases · kivikakk/comrak
0.22.0
What's Changed
- Fix broken docs link in README by @ohakutsu in #364
- Make non public nodes public by @mfontanini in #363
- cargo update -p rustix --precise 0.36.17 by @kivikakk in #368
- Add render option to wrap escaped chars in span by @digitalmoksha in #367
- Add math support by @digitalmoksha in #366
New Contributors
- @ohakutsu made their first contribution in #364
- @mfontanini made their first contribution in #363
Full Changelog: 0.21.0...0.22.0
0.21.0
What's Changed
- Add a multiline blockquote extension by @digitalmoksha in #359
Full Changelog: 0.20.0...0.21.0
0.20.0
What's Changed
- build(deps): bump rustix from 0.36.11 to 0.36.16 in /fuzz by @dependabot in #346
- Use Nix for CI. by @charlottia in #338
- Allow for Syntect to simply generate CSS classes by @gjtorikian in #347
New Contributors
- @charlottia made their first contribution in #338
Full Changelog: 0.19.0...0.20.0
0.19.0
What's Changed
- Simplify anchorize() by @kornelski in #297
- Use footnote name for reference id by @digitalmoksha in #300
- Escape footnote name by @digitalmoksha in #308
- Add in-doc labels for public facing features by @CosmicHorrorDev in #304
- build(deps): bump xml-rs from 0.8.4 to 0.8.14 by @dependabot in #312
- Handle footnote names that have been parsed into multiple nodes by @digitalmoksha in #311
- Sync with cmark-gfm-0.29.0.gfm.3 by @digitalmoksha in #313
- Sync with cmark-gfm-0.29.0.gfm.4 by @digitalmoksha in #314
- Sync with cmark-gfm-0.29.0.gfm.5 by @digitalmoksha in #315
- Fix backslash in a link issue by @vpetrigo in #317
- Sync with cmark-gfm-0.29.0.gfm.7 by @digitalmoksha in #318
- Rename
ComrakFoo
types to justFoo
for easier usage by @tgross35 in #320 - Make
ComrakExtensionOptions
non-exhaustive by @CosmicHorrorDev in #305 - Add builder derive and non_exhaustive for option structs by @YJDoc2 in #292
- add PartialEq and Eq derive for Ast and its components by @YJDoc2 in #322
- Sync with cmark-gfm-0.29.0.gfm.11 by @digitalmoksha in #319
- Fix autolink detection inside wiki style link brackets by @digitalmoksha in #325
- Add CI for running benchmarks by @YJDoc2 in #326
- Make adapters Send + Sync by @lucperkins in #337
- docs: fix-up broken docs.rs link by @silverjam in #341
- Use github/cmark-gfm submodule by @digitalmoksha in #344
- Sync with cmark-gfm-0.29.0.gfm.12 by @digitalmoksha in #343
- Sync with cmark-gfm-0.29.0.gfm.13 by @digitalmoksha in #345
New Contributors
- @kornelski made their first contribution in #297
- @CosmicHorrorDev made their first contribution in #304
- @vpetrigo made their first contribution in #317
- @tgross35 made their first contribution in #320
- @YJDoc2 made their first contribution in #292
- @silverjam made their first contribution in #341
Full Changelog: 0.18.0...0.19.0
0.18.0
What's Changed
- Improve performance of bundled plugins, and streaming I/O by @kivikakk in #288
- Implement Default for enums without using #[default] attribute by @silverpill in #293
- XML and sourcepos support by @kivikakk in #232
- Add a quadratic fuzzer by @philipturnbull in #295
New Contributors
- @philipturnbull made their first contribution in #295
Full Changelog: 0.17.1...0.18.0
0.17.1
0.17.0
What's Changed
This contains some breaking changes from an API point of view, but output is largely unchanged. Spec compliance is improved, and benchmark runtime is over 20% faster.
- SECURITY: GHSA-8hqf-xjwp-p67v / Quadratic runtime when parsing Markdown (GHSL-2023-047)
- A variety of quadratic runtime issues that could lead to DoS were reported and addressed.
- We replaced pest with an re2c-based scanner.
- SECURITY: GHSA-xxmq-4vph-956w / Excessive output when parsing Markdown (GHSL-2023-048)
- Reference output is limited to 100Kb.
- SECURITY: GHSA-5r3x-p7xx-x6q5 / Attacker controlled data in AST nodes is not validated (GHSL-2023-049)
- AST nodes no longer store raw
Vec<u8>
s, and instead storeString
s.
- AST nodes no longer store raw
- Various API points were cleaned up.
- Comrak now targets Rust 2018.
- Add footnote attributes that mirror cmark-gfm by @digitalmoksha in #273
- Add support for full_info_string render option by @digitalmoksha in #276
- chore: improve debug performance by @conradludgate in #283
Many thanks to @philipturnbull and @darakian of the GitHub Security Lab for bringing these issues to my attention and detailing the reproduction steps for each case.
New Contributors
- @digitalmoksha made their first contribution in #273
- @conradludgate made their first contribution in #283
Full Changelog: 0.16.0...0.17.0
0.16.0
What's Changed
- Track which symbol was used to mark task item as checked by @felipesere in #252
- improve tagfilter performance by @fiji-flo in #256
- [ShortCode] Add support for gemojis via shortcodes extension by @eklipse2k8 in #260
- "mod three rule" fix by @kivikakk in #262
- Add
shortcodes
to the README by @gjtorikian in #263 - Cargo.toml: remove timebomb by @kivikakk in #264
- Add custom heading adapter by @lucperkins in #266
- Keep track of "^" symbol when within footnotes by @gjtorikian in #274
New Contributors
- @felipesere made their first contribution in #252
- @fiji-flo made their first contribution in #256
- @eklipse2k8 made their first contribution in #260
- @lucperkins made their first contribution in #266
Full Changelog: 0.15.0...0.16.0
0.15.0
What's Changed
- table: fix start_line of Table itself by @kivikakk in #231
- Rename header file to match c libname by @gjtorikian in #233
- Change the name of the ifdef by @gjtorikian in #234
- Add
comrak_set_parse_option_smart
by @gjtorikian in #235 - Allow
c_char
options to be NULL by @gjtorikian in #237 - Replace
lazy_static
dependency withonce_cell
by @Turbo87 in #238 - Make
comrak --help
readable on my terminal by @mgeisler in #242 - c-api: fix CI build by @kivikakk in #240
- Bump versions of some dependencies by @helmet91 in #243
- Adding functionality to build SyntectAdapters with custom themes, syntax sets, etc. by @ArvinSKushwaha in #239
- Make shell-words and xdg dependencies optional by @silverpill in #245
- Bump clap version to 4.0 and switch to the Derive API by @tranzystorek-io in #248
- c-api: remove by @kivikakk in #249
New Contributors
- @Turbo87 made their first contribution in #238
- @mgeisler made their first contribution in #242
- @ArvinSKushwaha made their first contribution in #239
- @silverpill made their first contribution in #245
- @tranzystorek-io made their first contribution in #248
Full Changelog: 0.14.0...0.15.0
crates.io: https://crates.io/crates/comrak/0.15.0
0.14.0
What's Changed
- Allow for C-style dynamic libraries to be produced by @gjtorikian in #171
- Fix wrapping on lines succeeded by unwrappable lines by @edwardloveall in #228
- Add bullet list style options by @edwardloveall in #229
New Contributors
- @edwardloveall made their first contribution in #228
Full Changelog: 0.13.2...0.14.0
crates.io: https://crates.io/crates/comrak/0.14.0