Skip to content

v20.0.0

Latest
Compare
Choose a tag to compare
@Byron Byron released this 15 Dec 07:49
· 3 commits to main since this release
3c850de

Bug Fixes (BREAKING)

  • Add structured error handling for cmark(), cmark_resume() etc
    When cmark_resume_with_options(), which serves as basis for the other
    cmark* functions, finds an inconsistent event stream (for example, two
    consecutive heading start tags), it panics.

    Introduce a custom error type Error in the crate and change the return
    type of all public functions from fmt::Result<_> to Result<_, Error>.

    The next commit adds an integration test.

Commit Statistics

  • 4 commits contributed to the release.
  • 4 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #91

Commit Details

view details
  • #91
    • Revert "fix: harden again manufactured input which could previously trigger assertion failures." (a442910)
  • Uncategorized
    • Merge pull request #93 from cip999/resume-error-handling (21f0f5d)
    • Add integration test for CmarkError::UnexpectedEvent (4766cc1)
    • Add structured error handling for cmark(), cmark_resume() etc (fdc5859)