From 432b4296ab7c6a7273ead8d0a5d1a2ab80ca0a02 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 14 Jul 2025 15:45:55 -0700 Subject: [PATCH] Update to 0.4.52 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- guide/src/continuous-integration.md | 2 +- 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59155254d7..54928bf65a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,34 @@ # Changelog +## mdBook 0.4.52 +[v0.4.51...v0.4.52](https://github.com/rust-lang/mdBook/compare/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](https://github.com/rust-lang/mdBook/pull/2747) +- Added the `rel="edit"` attribute to the edit page button. + [#2702](https://github.com/rust-lang/mdBook/pull/2702) + +### Changed +- The search index is now only loaded when the search input is opened instead of always being loaded. + [#2553](https://github.com/rust-lang/mdBook/pull/2553) + [#2735](https://github.com/rust-lang/mdBook/pull/2735) +- The `mdbook serve` command has switched its underlying server library from warp to axum. + [#2748](https://github.com/rust-lang/mdBook/pull/2748) +- Updated dependencies. + [#2752](https://github.com/rust-lang/mdBook/pull/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](https://github.com/rust-lang/mdBook/pull/2725) +- Fixed search index URL not updating correctly when `hash-files` is enabled. + [#2742](https://github.com/rust-lang/mdBook/pull/2742) + [#2746](https://github.com/rust-lang/mdBook/pull/2746) +- Fixed several sidebar animation bugs, particularly when manually resizing. + [#2750](https://github.com/rust-lang/mdBook/pull/2750) + ## mdBook 0.4.51 [v0.4.50...v0.4.51](https://github.com/rust-lang/mdBook/compare/v0.4.50...v0.4.51) diff --git a/Cargo.lock b/Cargo.lock index 945a39d245..ab3fc389fe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1245,7 +1245,7 @@ checksum = "47e1ffaa40ddd1f3ed91f717a33c8c0ee23fff369e3aa8772b9605cc1d22f4c3" [[package]] name = "mdbook" -version = "0.4.51" +version = "0.4.52" dependencies = [ "ammonia", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index ca2f6b2a5a..15321d3979 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ needless-lifetimes = "allow" # Remove once 1.87 is stable, https://github.com/r [package] name = "mdbook" -version = "0.4.51" +version = "0.4.52" authors = [ "Mathieu David ", "Michael-F-Bryan ", diff --git a/guide/src/continuous-integration.md b/guide/src/continuous-integration.md index ecc51886dd..96b5a8e618 100644 --- a/guide/src/continuous-integration.md +++ b/guide/src/continuous-integration.md @@ -21,7 +21,7 @@ A simple approach would be to use the popular `curl` CLI tool to download the ex ```sh mkdir bin -curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.51/mdbook-v0.4.51-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin +curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.52/mdbook-v0.4.52-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin bin/mdbook build ```