From c493d3b5e3a1ea8249ea9d2f435df37f4c46c717 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Sat, 8 Mar 2025 12:57:11 -0800 Subject: [PATCH] Update to 0.4.46 --- CHANGELOG.md | 13 +++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- guide/src/continuous-integration.md | 2 +- 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b233e05c4..141403b03b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## mdBook 0.4.46 +[v0.4.45...v0.4.46](https://github.com/rust-lang/mdBook/compare/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](https://github.com/rust-lang/mdBook/pull/1368) + +### Fixed + +- Playground links for Rust 2024 now set the edition correctly. + [#2557](https://github.com/rust-lang/mdBook/pull/2557) + ## mdBook 0.4.45 [v0.4.44...v0.4.45](https://github.com/rust-lang/mdBook/compare/v0.4.44...v0.4.45) diff --git a/Cargo.lock b/Cargo.lock index 3e40b93b04..0fb070f086 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1205,7 +1205,7 @@ dependencies = [ [[package]] name = "mdbook" -version = "0.4.45" +version = "0.4.46" dependencies = [ "ammonia", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index cec168f558..1e02efc699 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = [".", "examples/remove-emphasis/mdbook-remove-emphasis"] [package] name = "mdbook" -version = "0.4.45" +version = "0.4.46" authors = [ "Mathieu David ", "Michael-F-Bryan ", diff --git a/guide/src/continuous-integration.md b/guide/src/continuous-integration.md index aa796e99f3..6b070238bc 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.45/mdbook-v0.4.45-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin +curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.46/mdbook-v0.4.46-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin bin/mdbook build ```