Skip to content

Update Rust crate pulldown-cmark-to-cmark to v15#259

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/pulldown-cmark-to-cmark-15.x
Closed

Update Rust crate pulldown-cmark-to-cmark to v15#259
renovate[bot] wants to merge 1 commit intomainfrom
renovate/pulldown-cmark-to-cmark-15.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 23, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
pulldown-cmark-to-cmark dependencies major 11.0.2 -> 15.0.0

Release Notes

Byron/pulldown-cmark-to-cmark (pulldown-cmark-to-cmark)

v15.0.1

Compare Source

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

v15.0.0

Compare Source

[!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
  • 20 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
    • Release pulldown-cmark-to-cmark v15.0.0 (e6c8c3e)
    • 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

Compare Source

This release contains a fix to avoid escaping characters within codeblocks.
See https://github.com/Byron/pulldown-cmark-to-cmark/issues/73 for details.

Commit Statistics
  • 4 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
    • Release pulldown-cmark-to-cmark v14.0.1 (fd7815a)
    • Prepare changelog prior to release. (857ff07)
    • Merge pull request #​74 from SichangHe/fix-unnecessary-range-escape (a6045c6)

v14.0.0

Compare Source

This release adds support for keeping escapes in the original source for the input events,
assuming the new cmark_resume_with_source_range_and_options() function is used.

Please also note that for most this won't be a breaking change as only a field was added
to State, which isn't used unless you do incremental event serialization.

Bug Fixes (BREAKING)
  • clarify what last_event_end_index indices into and how it's used
    This is marked as breaking change as the field itself is new in State
    and could be breaking for some.
Commit Statistics
  • 17 commits contributed to the release over the course of 16 calendar days.
  • 84 days passed between releases.
  • 1 commit was understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details

v13.0.0

Compare Source

New Features
  • add newlines_after_metadata option
Bug Fixes
  • set correct yaml metablock end tag
Test
  • add frontmatter snapshot
New Features (BREAKING)
  • support for controlling the amount of newlines after metadata blocks.
Commit Statistics
  • 6 commits contributed to the release.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
  • Uncategorized
    • Release pulldown-cmark-to-cmark v13.0.0 (daeb618)
    • Support for controlling the amount of newlines after metadata blocks. (834c74b)
    • Refactor (b8ae359)
    • Add frontmatter snapshot (5d94036)
    • Add newlines_after_metadata option (8d39a30)
    • Set correct yaml metablock end tag (7b27baa)

v12.0.0

Compare Source

Other
  • update pulldown-cmark dependency
New Features (BREAKING)
  • upgrade to pulldown-cmark v0.10
    This comes with a variety of changes to the State type, which is the reason
    this is a breaking release.

    The overall correctness is improved though, bringing the amount of successful
    tests of the spec to 435/649 (up by 4).

Commit Statistics
  • 18 commits contributed to the release over the course of 34 calendar days.
  • 48 days passed between releases.
  • 2 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages
Commit Details
view details
  • Uncategorized
    • Release pulldown-cmark-to-cmark v12.0.0 (002be03)
    • Upgrade to pulldown-cmark v0.10 (640148b)
    • Avoid allocations (366f304)
    • Allow State to borrow from events (b3bfd40)
    • Remove State::last_was_html (42739b5)
    • Test custom attributes (8152f81)
    • Adjust snapshots (1c21b70)
    • Remove trailing whitespace in snapshots (seems to be a pulldown-cmark parsing change) (b09ce73)
    • Fix handling of HTML blocks (6afb4cd)
    • Clippy (4a66292)
    • Fix EndTag tests (38bb5dd)
    • Comment out end tag tests that aren't triviably updateable (82110a4)
    • Support heading attributes (fc30c6d)
    • Fix test (ea2608e)
    • Fix easily-updateable tests (ebf9b69)
    • Add link/image stacks and track current header (3090b8a)
    • Metadata blocks (a26731c)
    • Update pulldown-cmark dependency (b90defb)

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jun 23, 2024
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch 8 times, most recently from 1983c2b to fe53445 Compare June 24, 2024 05:16
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch from fe53445 to d3a8e7a Compare July 1, 2024 03:54
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch from d3a8e7a to 7e5a8d3 Compare July 8, 2024 04:04
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch from 7e5a8d3 to ee7e502 Compare July 15, 2024 04:36
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch 2 times, most recently from 98cfed7 to 94fdba9 Compare July 29, 2024 03:12
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch 10 times, most recently from 0a83693 to 173b566 Compare August 4, 2024 12:02
@renovate renovate bot force-pushed the renovate/pulldown-cmark-to-cmark-15.x branch from 173b566 to 361d332 Compare August 4, 2024 12:23
@zoni zoni closed this in #276 Aug 10, 2024
@renovate renovate bot deleted the renovate/pulldown-cmark-to-cmark-15.x branch August 10, 2024 08:56
zoni added a commit that referenced this pull request Nov 23, 2024
## [24.11.0](https://github.com/zoni/obsidian-export/tree/24.11.0) - 2024-11-23

### New Features

- Optionally preserve modified time of exported files

  Add a new argument `--preserve-mtime` to keep the original modified time attribute of notes being exported, instead of setting them to the current time.

  Contribution made by [Davis Davalos-DeLosh](https://github.com/Programmerino). ([#154](#154), [#204](#204))

### Changes

- Bump to the minimum supported Rust version to 1.80.0

  Obsidian-export now uses [std::sync::LazyLock](https://doc.rust-lang.org/std/sync/struct.LazyLock.html) instead of [lazy_static](https://crates.io/crates/lazy_static), which was only stabilized in Rust 1.80.0.
  This change made it possible to drop the external dependency on lazy_static, though as a result of this, compiling with older versions will no longer be possible.

### Fixes

- Don't escape square brackets in math expressions

  The upgrade to [pulldown-cmark](https://crates.io/crates/pulldown-cmark) 0.11 (see Backwards-incompatible Changes) includes official support for LaTeX-style math expressions.
  With the markdown parser supporting this syntax natively, math expressions are now processed correctly without edge-cases. ([#14](#14), [#252](#252))

### Backwards-incompatible Changes

- Upgrade [pulldown-cmark](https://crates.io/crates/pulldown-cmark) from 0.9 to 0.12

  pulldown-cmark is the Markdown/CommonMark parser that is used to read and convert notes (together with [pulldown-cmark-to-cmark](https://crates.io/crates/pulldown-cmark-to-cmark)).

  For end-users that call the obsidian-export CLI this upgrade will be mostly transparent, except that Math blocks are now properly processed without getting mangled.

  People who use the library directly may face more significant breaking changes if they have custom postprocessors, as pulldown-cmark's events have gone through various breaking changes.
  For more information, see:

  - <#252>
  - <https://github.com/pulldown-cmark/pulldown-cmark/releases/tag/v0.10.0>
  - <https://github.com/zoni/obsidian-export/pull/276/files#diff-b1a35a68f14e696205874893c07fd24fdb88882b47c23cc0e0c80a30c7d53759>

  ([#14](#14), [#252](#252), [#259](#259), [#285](#285))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants