Skip to content

Update Rust crate pulldown-cmark to 0.11.0#252

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

Update Rust crate pulldown-cmark to 0.11.0#252
renovate[bot] wants to merge 1 commit intomainfrom
renovate/pulldown-cmark-0.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 dependencies minor 0.9.3 -> 0.11.0

Release Notes

raphlinus/pulldown-cmark (pulldown-cmark)

v0.11.0: 0.11.0

Compare 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

New features

  • Math mode

Bugfixes

New Contributors

Full Changelog: pulldown-cmark/pulldown-cmark@v0.10.3...v0.11.0

v0.10.3

Compare Source

The main change of this release is the simd feature was not being used in the escape functions since the version 0.10 due to a mistake during the separation of the crate pulldown-cmark-escape.

The crate pulldown-cmark-escape has been updated to the version 0.10.1.

What's Changed

Full Changelog: pulldown-cmark/pulldown-cmark@v0.10.2...v0.10.3

v0.10.2

New 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

New Contributors

Full Changelog: pulldown-cmark/pulldown-cmark@v0.10.0...v0.10.2

v0.10.0

Compare 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

New Features

Bugfixes

Other Changes

New 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.


  • 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
Copy link
Contributor Author

renovate bot commented Jun 23, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package pulldown-cmark@0.9.6 --precise 0.11.0
    Updating crates.io index
error: failed to select a version for the requirement `pulldown-cmark = "^0.9.0"`
candidate versions found which didn't match: 0.11.0
location searched: crates.io index
required by package `pulldown-cmark-to-cmark v11.2.0`
    ... which satisfies dependency `pulldown-cmark-to-cmark = "^11.0.2"` (locked to 11.2.0) of package `obsidian-export v23.12.0 (/tmp/renovate/repos/github/zoni/obsidian-export)`

@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch 8 times, most recently from fbce451 to a1e2626 Compare June 24, 2024 05:16
@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch from a1e2626 to 51faeba Compare July 1, 2024 03:54
@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch from 51faeba to 71d07eb Compare July 8, 2024 04:03
@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch from 71d07eb to f642f15 Compare July 15, 2024 04:36
@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch 2 times, most recently from 03e9293 to 2513de7 Compare July 29, 2024 03:12
@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch 10 times, most recently from ad32bdc to abace59 Compare August 4, 2024 12:01
@renovate renovate bot force-pushed the renovate/pulldown-cmark-0.x branch from abace59 to e069452 Compare August 4, 2024 12:23
@zoni zoni closed this in #276 Aug 10, 2024
@renovate renovate bot deleted the renovate/pulldown-cmark-0.x branch August 10, 2024 08:55
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