Update Rust crate pulldown-cmark-to-cmark to v15#259
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
Update Rust crate pulldown-cmark-to-cmark to v15#259renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
1983c2b to
fe53445
Compare
fe53445 to
d3a8e7a
Compare
d3a8e7a to
7e5a8d3
Compare
7e5a8d3 to
ee7e502
Compare
98cfed7 to
94fdba9
Compare
0a83693 to
173b566
Compare
173b566 to
361d332
Compare
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))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
11.0.2->15.0.0Release Notes
Byron/pulldown-cmark-to-cmark (pulldown-cmark-to-cmark)
v15.0.1Compare Source
Bug Fixes
Commit Statistics
Commit Details
view details
2ac7472)2ac7472)::for centered column in table. (33811dc)v15.0.0Compare Source
New Features (BREAKING)
Update pulldown cmark
Commit Statistics
Commit Details
view details
e6c8c3e)d72bfd3)d8cbd37)bff28af)6d05a28)89d5dd5)d55ac5d)c8632c4)f961f76)74a5b59)e94e9e4)8e09ddb)153ff68)42049d9)ea04970)1d047be)dcf769c)8723b1f)c81d969)173b8a4)v14.0.1Compare 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
Commit Details
view details
7376d42)fd7815a)857ff07)a6045c6)v14.0.0Compare 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)
last_event_end_indexindices into and how it's usedThis is marked as breaking change as the field itself is new in
Stateand could be breaking for some.
Commit Statistics
Commit Details
view details
1978c0c)cfcabc4)8c6bee4)d9d81c0)c332f98)386e663)last_event_end_indexindices into and how it's used (6c8297c)f66724b)bebff1e)<escape handling (542bc1f)Statederives (ea17e27)78965c4)cmark_resume_with_source_range_and_optionsis different (49f60d5)source_rangepersist special character escape by peeking source (92ad2c8)a234ed5)93cbb33)8c6ccdb)v13.0.0Compare Source
New Features
Bug Fixes
Test
New Features (BREAKING)
Commit Statistics
Commit Details
view details
daeb618)834c74b)b8ae359)5d94036)8d39a30)7b27baa)v12.0.0Compare Source
Other
New Features (BREAKING)
upgrade to pulldown-cmark v0.10
This comes with a variety of changes to the
Statetype, which is the reasonthis 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
Commit Details
view details
002be03)640148b)366f304)b3bfd40)42739b5)8152f81)1c21b70)b09ce73)6afb4cd)4a66292)38bb5dd)82110a4)fc30c6d)ea2608e)ebf9b69)3090b8a)a26731c)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.
This PR was generated by Mend Renovate. View the repository job log.