Update Rust crate pulldown-cmark to 0.11.0#252
Closed
renovate[bot] wants to merge 1 commit intomainfrom
Closed
Conversation
Contributor
Author
|
fbce451 to
a1e2626
Compare
a1e2626 to
51faeba
Compare
51faeba to
71d07eb
Compare
71d07eb to
f642f15
Compare
03e9293 to
2513de7
Compare
ad32bdc to
abace59
Compare
abace59 to
e069452
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:
0.9.3->0.11.0Release Notes
raphlinus/pulldown-cmark (pulldown-cmark)
v0.11.0: 0.11.0Compare Source
Finally, the so long awaited math mode is here! Enable the option to use it.
This release also includes other improvements and bugfixes, please see the changelog below for more details. Thanks to all contributors that has made possible this release!
Breaking changes
write_to_htmlto allowfmt::Writeby @stepantubanov in https://github.com/pulldown-cmark/pulldown-cmark/pull/870New features
Bugfixes
scan_attributewith the ix pointing at block quote by @notriddle in https://github.com/pulldown-cmark/pulldown-cmark/pull/873New Contributors
Full Changelog: pulldown-cmark/pulldown-cmark@v0.10.3...v0.11.0
v0.10.3Compare Source
The main change of this release is the
simdfeature was not being used in the escape functions since the version 0.10 due to a mistake during the separation of the cratepulldown-cmark-escape.The crate
pulldown-cmark-escapehas been updated to the version 0.10.1.What's Changed
Ruleas a block item by @notriddle in https://github.com/pulldown-cmark/pulldown-cmark/pull/879Full Changelog: pulldown-cmark/pulldown-cmark@v0.10.2...v0.10.3
v0.10.2New release with some fixes and improvements. Note the 0.10.1 is missing (yanked from crates.io) due to a conflict with the clap version and the Rust minimum version (1.74 now instead of 1.70).
Thanks to all people that contributed to this release!
What's Changed
scan_attributewith the ix pointing at block quote by @notriddle in https://github.com/pulldown-cmark/pulldown-cmark/pull/858New Contributors
Full Changelog: pulldown-cmark/pulldown-cmark@v0.10.0...v0.10.2
v0.10.0Compare Source
This is a huge release after a a long time without a major release, with many bugfixes and several new features. Thanks to all people involved!
Breaking Changes
htmlandescapemodules optional by @jfrimmel in https://github.com/raphlinus/pulldown-cmark/pull/519New Features
TextMergeStreamutility to merge consecutive text events by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/686Tagto_end()andFromimpl by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/824Bugfixes
scan_table_headby @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/665bothflag when pushing remaining delimiters to stack by @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/682#by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/683rustdoc::bare_urlslint by @GuillaumeGomez in https://github.com/raphlinus/pulldown-cmark/pull/719% 3modulo by @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/748[^]as a link by @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/750begin_list_itemstate by @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/763!on image-like footnote by @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/818ItemBody::Headingto appear inside emphasis by @notriddle in https://github.com/raphlinus/pulldown-cmark/pull/829Other Changes
Tag::Link.idfield description by @Martin1887 in https://github.com/raphlinus/pulldown-cmark/pull/724New Contributors
Full Changelog: pulldown-cmark/pulldown-cmark@v0.9.6...v0.10.0
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.