oxidecomputer / cio

Rust libraries for APIs needed by our automated CIO.
Apache License 2.0
263 stars 41 forks source link

Bump comrak from 0.12.1 to 0.17.0 #331

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps comrak from 0.12.1 to 0.17.0.

Release notes

Sourced from comrak's releases.

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 store Strings.
  • Various API points were cleaned up.
  • Comrak now targets Rust 2018.
  • Add footnote attributes that mirror cmark-gfm by @​digitalmoksha in kivikakk/comrak#273
  • Add support for full_info_string render option by @​digitalmoksha in kivikakk/comrak#276
  • chore: improve debug performance by @​conradludgate in kivikakk/comrak#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

Full Changelog: https://github.com/kivikakk/comrak/compare/0.16.0...0.17.0

0.16.0

What's Changed

New Contributors

Full Changelog: https://github.com/kivikakk/comrak/compare/0.15.0...0.16.0

0.15.0

What's Changed

... (truncated)

Changelog

Sourced from comrak's changelog.

0.17.0

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.

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.

0.16.0

0.15.0

... (truncated)

Commits
  • aad5b05 0.17.0
  • 036b943 Merge pull request #286 from kivikakk/cleanups
  • a8cfb1d clippy
  • f489fd6 parser: tasklist with re2c
  • 1935385 parser: clean up front matter parse
  • 9ff5f8d Merge pull request from GHSA-5r3x-p7xx-x6q5
  • 22aeda8 cargo clippy
  • 50c7d1d strings: shift_buf_left on String::as_bytes_mut is unsound
  • ab1cd00 scanners: remove comment; 5dff0f8 actioned it
  • 1fedc64 all: nodes store strings
  • 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 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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/oxidecomputer/cio/network/alerts).
dependabot[bot] commented 1 year ago

Superseded by #334.