Skip to content

Releases: Byron/pulldown-cmark-to-cmark

v20.0.0

15 Dec 07:49
3c850de
Compare
Choose a tag to compare

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)

v19.0.1

11 Dec 06:55
aefd5cb
Compare
Choose a tag to compare

Bug Fixes

  • harden again manufactured input which could previously trigger assertion failures.

Commit Statistics

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

Commit Details

view details
  • #91
    • Harden again manufactured input which could previously trigger assertion failures. (a368f0f)
  • Uncategorized

v19.0.0

22 Nov 06:26
ccc8a52
Compare
Choose a tag to compare

New Features (BREAKING)

  • Make State struct non-exhaustive
    That way, future additions to the rather internal state won't be a reason for breaking changes anymore.

Bug Fixes (BREAKING)

  • drasticly improve escaping !, #, and |
    Raises spec tests from 578 to 580. It handles cases that look like these

    Link, not image: \![a](b)
    
    This header ends with hashes, not an ATX trailer ###
    ====================================================
    
    | a \| b | a \| c |
    |--------|--------|
    

Commit Statistics

  • 11 commits contributed to the release.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #90 from chriskrycho/escape-code-in-tables (daef56b)
    • Add fixtures for pipes-in-code which should not be escaped (a85fe39)
    • Use Cow<'a, str> to minimize allocations for pipe escaping (022fa11)
    • Correct comment/note on when pipe characters are/not escaped (c9ecdd2)
    • Make State struct non-exhaustive (13785fe)
    • Improve test expectations for escaping pipes in inline code (e7f0784)
    • Escape special characters in inline code in tables (37e8dcb)
    • Add fixture for tables with escaped characters (edcac27)
    • Minor improvements (f6fba5f)
    • Merge branch 'notriddle/main' (4690885)
    • Drasticly improve escaping !, #, and | (76c24a1)

v18.0.0

16 Oct 18:27
6c8bc4d
Compare
Choose a tag to compare

Chore

  • use TextMergeStream for round-trip tests
    This increases the amount of passing tests to 578.
    It doesn't strictly improve the quality of implementation,
    but since separate text events aren't supposed to be semantic,
    these failures seem spurrious.

New Features

  • angle brackets if link paren is unbalanced
    Increases passing spec tests from 473 to 477.

Bug Fixes

  • write block quote kind only once

New Features (BREAKING)

  • correctly round-trip code blocks with no trailing newline
  • round-trip indented code blocks
    This raises the number of passing spec tests from 459 to 473.

Commit Statistics

  • 10 commits contributed to the release.
  • 40 days passed between releases.
  • 5 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #87 from notriddle/notriddle/link-tweaks (81ac29b)
    • Use TextMergeStream for round-trip tests (b3d7df2)
    • Angle brackets if link paren is unbalanced (d8f22c1)
    • Merge branch 'blockquote-kinds' (d5323a8)
    • Remove allocation (33ce10d)
    • Write block quote kind only once (2f75de2)
    • Merge branch 'notriddle/main' (848abc3)
    • Run cargo fmt and assure it doesn't regress anymore. (3fdf308)
    • Correctly round-trip code blocks with no trailing newline (db76794)
    • Round-trip indented code blocks (8a9573d)

v17.0.0

06 Sep 16:57
55fe0bc
Compare
Choose a tag to compare

New Features (BREAKING)

  • retain more details on reference links
    This raises the number of passing spec tests from 436 to 459.

Bug Fixes (BREAKING)

  • spurrious code blocks when char escapes start text

Commit Statistics

  • 5 commits contributed to the release.
  • 14 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge branch 'notriddle/reference-links' (98818fa)
    • Merge branch 'notriddle/main' (ed4ff6f)
    • Retain more details on reference links (3170061)
    • Spurrious code blocks when char escapes start text (c3a0f32)
    • Fix incorrect variable name (210a0be)

v16.0.1

22 Aug 17:22
ab22a57
Compare
Choose a tag to compare

Other

  • Lower MSRV to 1.71.1
    This project builds successfully with the MSRV of pulldown-cmark. Therefore we can lower rust-version to 1.71.1.

    Add documentation for the current MSRV and that this project follows MSRV policy of pulldown-cmark.

    Use cargo hack for MSRV CI job, to automatically install rustc according to rust-version and then execute cargo check.

Commit Statistics

  • 15 commits contributed to the release over the course of 2 calendar days.
  • 2 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Merge pull request #81 from caspermeijn/msrv (85ca9d4)
    • Make clear that the rust-version field follows pulldown-cmark's MSRV. (7269c4f)
    • Lower MSRV to 1.71.1 (21a7f26)
    • Merge pull request #79 from danieleades/clippy (c6899bc)
    • Use 'Self' keyword (clippy::use_self) (1a3029f)
    • Remove unnecessary negation (clippy::if_not_else) (5745ce5)
    • Remove unneeded 'ref' bindings (clippy::ref_binding_to_reference) (820b661)
    • Nest or patterns (clippy::unnested_or_patterns) (43c6e8a)
    • Explicitly match unit values (clippy::ignored_unit_patterns) (d636dc6)
    • Avoid explicit iter loops (clippy::explicit_iter_loop) (a8c7fa5)
    • Use inline format args (clippy::uninlined_format_args) (d97f8f5)
    • Remove needless raw string hashes (clippy::needless_raw_string_hashes) (6e2ae15)
    • Use semicolons if nothing returned (clippy::semicolon_if_nothing_returned) (8f9d4bf)
    • Merge pull request #80 from danieleades/msrv (08ffcb8)
    • Add MSRV check to CI (66b9ed2)

v16.0.0

20 Aug 05:11
4dd27c5
Compare
Choose a tag to compare

Add support for pulldown-cmark v0.12, and an understanding of markdown Definition Lists.

Commit Statistics

  • 7 commits contributed to the release.
  • 64 days passed between releases.
  • 0 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Bump major version to help isolage the pulldown-cmark crate at v0.12 (17b5308)
    • Update changelog prior to release (7b74f1b)
    • Merge branch 'cmark-12' (f1f18d4)
    • Fix test (173ae85)
    • Add failing test case (7674b54)
    • Add test for definition list item start (e686a8f)
    • Add 'todo' placeholders (f1a8a3e)

v15.0.1

16 Jun 16:57
7cc274e
Compare
Choose a tag to compare

Bug Fixes

  • tables render more correctly

Commit Statistics

  • 2 commits contributed to the release.
  • 1 day passed between releases.
  • 1 commit was understood as conventional.
  • 2 unique issues were worked on: #70, #76

Commit Details

view details
  • #70
    • Tables render more correctly (2ac7472)
  • #76
    • Tables render more correctly (2ac7472)
  • Uncategorized
    • Fix emitting :: for centered column in table. (33811dc)

v15.0.0

15 Jun 15:36
e6c8c3e
Compare
Choose a tag to compare

Note

This release adds support for Math expressions, and notification boxes like the one this text is written in.

New Features (BREAKING)

  • Update to pulldown-cmark v0.11 for math-expression support and special block quotes
    Update pulldown cmark

Commit Statistics

  • 19 commits contributed to the release over the course of 4 calendar days.
  • 5 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Prepare changelog prior to release (d72bfd3)
    • Upgrade dev-dependencies (d8cbd37)
    • Update to pulldown-cmark v0.11 for math-expression support and special block quotes (bff28af)
    • Merge blockquote kind parsing (6d05a28)
    • Remove unused import (89d5dd5)
    • Remove support for dollar surrounding backtick (d55ac5d)
    • Generate snapshot (c8632c4)
    • Add suggested fixture (f961f76)
    • Use escaped comparison (74a5b59)
    • Update math tests (e94e9e4)
    • Fix alternate math notation (8e09ddb)
    • Regenerate snapshots (153ff68)
    • Add mathematical expressions (42049d9)
    • Regenerate snapshots (ea04970)
    • Fix incorrect formatting (1d047be)
    • Add blockquote kinds (dcf769c)
    • Update tests (8723b1f)
    • Handle new types and change (c81d969)
    • Update pulldown-cmark (173b8a4)

v14.0.1

10 Jun 15:35
fd7815a
Compare
Choose a tag to compare

This release contains a fix to avoid escaping characters within codeblocks.
See #73 for details.

Commit Statistics

  • 3 commits contributed to the release.
  • 0 commits were understood as conventional.
  • 1 unique issue was worked on: #73

Commit Details

view details
  • #73
    • Fixdo not disturb code block detection when preventing escape (7376d42)
  • Uncategorized
    • Prepare changelog prior to release. (857ff07)
    • Merge pull request #74 from SichangHe/fix-unnecessary-range-escape (a6045c6)