Skip to content

fix(deps): update rust crate mdbook to v0.4.52 #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 2, 2025

This PR contains the following updates:

Package Type Update Change
mdbook dependencies patch 0.4.40 -> 0.4.52

Release Notes

rust-lang/mdBook (mdbook)

v0.4.52

Compare Source

v0.4.51...v0.4.52

Note: If you have a custom index.hbs theme file, it is recommended that you update it to the latest version to pick up the fixes in this release.

Added
  • Added the ability to redirect # HTML fragments using the existing output.html.redirect table.
    #​2747
  • Added the rel="edit" attribute to the edit page button.
    #​2702
Changed
  • The search index is now only loaded when the search input is opened instead of always being loaded.
    #​2553
    #​2735
  • The mdbook serve command has switched its underlying server library from warp to axum.
    #​2748
  • Updated dependencies.
    #​2752
Fixed
  • The sidebar is now set to display:none when it is hidden in order to prevent the browser's search from thinking the sidebar's text is visible.
    #​2725
  • Fixed search index URL not updating correctly when hash-files is enabled.
    #​2742
    #​2746
  • Fixed several sidebar animation bugs, particularly when manually resizing.
    #​2750

v0.4.51

Compare Source

v0.4.50...v0.4.51

Fixed
  • Fixed regression that broke the S search hotkey.
    #​2713

v0.4.50

Compare Source

v0.4.49...v0.4.50

Added
  • Added a keyboard shortcut help popup when pressing ?.
    #​2608
Changed
  • Changed the look of the sidebar resize handle to match the new rustdoc format.
    #​2691
  • / can now be used to open the search bar.
    #​2698
  • Pressing enter from the search bar will navigate to the first entry.
    #​2698
  • Updated opener to drop some dependencies.
    #​2709
  • Updated dependencies, MSRV raised to 1.82.
    #​2711
Fixed
  • Fixed uncaught exception when pressing down when there are no search results.
    #​2698
  • Fixed syntax highlighting of Rust code in the ACE editor.
    #​2710

v0.4.49

Compare Source

v0.4.48...v0.4.49

Added
  • Added a warning on unused fields in the root of book.toml.
    #​2622
Changed
  • Updated dependencies.
    #​2650
    #​2688
  • Updated minimum Rust version to 1.81.
    #​2688
  • The unused book.multilingual field is no longer serialized, or shown in mdbook init.
    #​2689
  • Speed up search index loading by using JSON.parse instead of parsing JavaScript.
    #​2633
Fixed
  • Search highlighting will not try to highlight in SVG <text> elements because it breaks the element.
    #​2668
  • Fixed scrolling of the sidebar when a search highlight term is in the URL.
    #​2675
  • Fixed issues when multiple footnote definitions use the same ID. Now, only one definition is used, and a warning is displayed.
    #​2681
  • The sidebar is now restricted to 80% of the viewport width to make it possible to collapse it when the viewport is very narrow.
    #​2679

v0.4.48

Compare Source

v0.4.47...v0.4.48

Added
  • Footnotes now have back-reference links. These links bring the reader back to the original location. As part of this change, footnotes are now only rendered at the bottom of the page. This also includes some styling updates and fixes for footnote rendering.
    #​2626
  • Added an "Auto" theme selection option which will default to the system-preferred mode. This will also automatically switch when the system changes the preferred mode.
    #​2576
Changed
  • The searchindex.json file has been removed; only the searchindex.js file will be generated.
    #​2552
  • Updated Javascript code to use eslint.
    #​2554
  • An error is generated if there are duplicate files in SUMMARY.md.
    #​2613

v0.4.47

Compare Source

v0.4.46...v0.4.47

Fixed
  • Fixed search not showing up in sub-directories.
    #​2586

v0.4.46

Compare Source

v0.4.45...v0.4.46

Changed
  • The output.html.hash-files config option has been added to add hashes to static filenames to bust any caches when a book is updated. {{resource}} template tags have been added so that links can be properly generated to those files.
    #​1368
Fixed
  • Playground links for Rust 2024 now set the edition correctly.
    #​2557

v0.4.45

Compare Source

v0.4.44...v0.4.45

Changed
  • Added context to error message when rustdoc is not found.
    #​2545
  • Slightly changed the styling rules around margins of footnotes.
    #​2524
Fixed
  • Fixed an issue where it would panic if a source_path is not set.
    #​2550

v0.4.44

Compare Source

v0.4.43...v0.4.44

Added
  • Added pre-built aarch64-apple-darwin binaries to the releases.
    #​2500
  • mdbook clean now shows a summary of what it did.
    #​2458
  • Added the output.html.search.chapter config setting to disable search indexing of individual chapters.
    #​2533
Fixed
  • Fixed auto-scrolling the side-bar when loading a page with a # fragment URL.
    #​2517
  • Fixed display of sidebar when javascript is disabled.
    #​2529
  • Fixed the sidebar visibility getting out of sync with the button.
    #​2532
Changed
  • ❗ Rust code block hidden lines now follow the same logic as rustdoc. This requires a space after the # symbol.
    #​2530
  • ❗ Updated the Linux pre-built binaries which requires a newer version of glibc (2.34).
    #​2523
  • Updated dependencies
    #​2538
    #​2539

v0.4.43

Compare Source

v0.4.42...v0.4.43

Fixed
  • Fixed setting the title in mdbook init when no git user is configured.
    #​2486
Changed
  • The Rust 2024 edition no longer needs -Zunstable-options.
    #​2495

v0.4.42

Compare Source

v0.4.41...v0.4.42

Fixed

v0.4.41

Compare Source

v0.4.40...v0.4.41

Note: If you have a custom index.hbs theme file, you will need to update it to the latest version.

Added
  • Added preliminary support for Rust 2024 edition.
    #​2398
  • Added a full example of the remove-emphasis preprocessor.
    #​2464
Changed
  • Adjusted styling of clipboard/play icons.
    #​2421
  • Updated to handlebars v6.
    #​2416
  • Attr and section rules now have specific code highlighting.
    #​2448
  • The sidebar is now loaded from a common file, significantly reducing the book size when there are many chapters.
    #​2414
  • Updated dependencies.
    #​2470
Fixed
  • Improved theme support when JavaScript is disabled.
    #​2454
  • Fixed broken themes when localStorage has an invalid theme id.
    #​2463
  • Adjusted the line-height of superscripts (and footnotes) to avoid adding extra space between lines.
    #​2465

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 changed the title fix(deps): update rust crate mdbook to v0.4.51 fix(deps): update rust crate mdbook to v0.4.52 Jul 26, 2025
Copy link
Contributor Author

renovate bot commented Jul 26, 2025

⚠️ 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 mdbook@0.4.40 --precise 0.4.52
    Updating crates.io index
error: failed to select a version for `tower-layer`.
    ... required by package `tower v0.5.2`
    ... which satisfies dependency `tower = "^0.5.2"` of package `axum v0.8.0`
    ... which satisfies dependency `axum = "^0.8.0"` of package `mdbook v0.4.52`
    ... which satisfies dependency `mdbook = "^0.4.40"` of package `mdbook-typst-math v0.1.1 (/tmp/renovate/repos/github/duskmoon314/mdbook-typst-math)`
versions that meet the requirements `^0.3.3` are: 0.3.3

all possible versions conflict with previously selected packages.

  previously selected package `tower-layer v0.3.2`
    ... which satisfies dependency `tower-layer = "^0.3.2"` (locked to 0.3.2) of package `axum v0.8.0`
    ... which satisfies dependency `axum = "^0.8.0"` of package `mdbook v0.4.52`
    ... which satisfies dependency `mdbook = "^0.4.40"` of package `mdbook-typst-math v0.1.1 (/tmp/renovate/repos/github/duskmoon314/mdbook-typst-math)`

failed to select a version for `tower-layer` which could resolve this conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants