From 006f99ee99f28eeeb6d62da69b52a80359f7042e Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 5 May 2025 14:44:33 -0700 Subject: [PATCH] Update to 0.4.49 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- guide/src/continuous-integration.md | 2 +- 4 files changed, 34 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97856118..4df1245c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,36 @@ # Changelog +## mdBook 0.4.49 +[v0.4.48...v0.4.49](https://github.com/rust-lang/mdBook/compare/v0.4.48...v0.4.49) + +### Added + +- Added a warning on unused fields in the root of `book.toml`. + [#2622](https://github.com/rust-lang/mdBook/pull/2622) + +### Changed + +- Updated dependencies. + [#2650](https://github.com/rust-lang/mdBook/pull/2650) + [#2688](https://github.com/rust-lang/mdBook/pull/2688) +- Updated minimum Rust version to 1.81. + [#2688](https://github.com/rust-lang/mdBook/pull/2688) +- The unused `book.multilingual` field is no longer serialized, or shown in `mdbook init`. + [#2689](https://github.com/rust-lang/mdBook/pull/2689) +- Speed up search index loading by using `JSON.parse` instead of parsing JavaScript. + [#2633](https://github.com/rust-lang/mdBook/pull/2633) + +### Fixed + +- Search highlighting will not try to highlight in SVG `` elements because it breaks the element. + [#2668](https://github.com/rust-lang/mdBook/pull/2668) +- Fixed scrolling of the sidebar when a search highlight term is in the URL. + [#2675](https://github.com/rust-lang/mdBook/pull/2675) +- Fixed issues when multiple footnote definitions use the same ID. Now, only one definition is used, and a warning is displayed. + [#2681](https://github.com/rust-lang/mdBook/pull/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](https://github.com/rust-lang/mdBook/pull/2679) + ## mdBook 0.4.48 [v0.4.47...v0.4.48](https://github.com/rust-lang/mdBook/compare/v0.4.47...v0.4.48) diff --git a/Cargo.lock b/Cargo.lock index 8d58b7fd..efcd85cd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1289,7 +1289,7 @@ dependencies = [ [[package]] name = "mdbook" -version = "0.4.48" +version = "0.4.49" dependencies = [ "ammonia", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index cd10f212..20458829 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.48" +version = "0.4.49" authors = [ "Mathieu David ", "Michael-F-Bryan ", diff --git a/guide/src/continuous-integration.md b/guide/src/continuous-integration.md index f092fa96..349d0dc0 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.48/mdbook-v0.4.48-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin +curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.49/mdbook-v0.4.49-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin bin/mdbook build ```