Skip to content

Commit 678b469

Browse files
authored
Merge pull request #1938 from ehuss/bump-version
Update to 0.4.22
2 parents 4844f72 + ded48dd commit 678b469

File tree

5 files changed

+37
-7
lines changed

5 files changed

+37
-7
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## mdBook 0.4.22
4+
[40c06f5...4844f72](https://github.com/rust-lang/mdBook/compare/40c06f5...4844f72)
5+
6+
### Added
7+
- Added a `--chapter` option to `mdbook test` to specify a specific chapter to test.
8+
[#1741](https://github.com/rust-lang/mdBook/pull/1741)
9+
- Added CSS styling for `<kbd>` tags.
10+
[#1906](https://github.com/rust-lang/mdBook/pull/1906)
11+
- Added pre-compiled binaries for `x86_64-unknown-linux-musl` and `aarch64-unknown-linux-musl` (see [Releases](https://github.com/rust-lang/mdBook/releases)).
12+
[#1862](https://github.com/rust-lang/mdBook/pull/1862)
13+
- Added `build.extra-watch-dirs` which is an array of additional directories to watch for changes when running `mdbook serve`.
14+
[#1884](https://github.com/rust-lang/mdBook/pull/1884)
15+
16+
### Changed
17+
- Removed the `type="text/javascript"` attribute from `<script>` tags.
18+
[#1881](https://github.com/rust-lang/mdBook/pull/1881)
19+
- Switched to building with Rust Edition 2021.
20+
This raises the minimum supported Rust version to 1.56.
21+
[#1887](https://github.com/rust-lang/mdBook/pull/1887)
22+
- When hidden code is hidden, the hidden parts are no longer copied to the clipboard via the copy button.
23+
[#1911](https://github.com/rust-lang/mdBook/pull/1911)
24+
- Various HTML changes and fixes to be more compliant with HTML5.
25+
[#1924](https://github.com/rust-lang/mdBook/pull/1924)
26+
- The theme picker now shows which theme is currently selected.
27+
[#1935](https://github.com/rust-lang/mdBook/pull/1935)
28+
29+
### Fixed
30+
- Avoid blank line at the end of an ACE code block
31+
[#1836](https://github.com/rust-lang/mdBook/pull/1836)
32+
33+
334
## mdBook 0.4.21
435
[92afe9b...8f01d02](https://github.com/rust-lang/mdBook/compare/92afe9b...8f01d02)
536

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mdbook"
3-
version = "0.4.21"
3+
version = "0.4.22"
44
authors = [
55
"Mathieu David <[email protected]>",
66
"Michael-F-Bryan <[email protected]>",

guide/src/continuous-integration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A simple approach would be to use the popular `curl` CLI tool to download the ex
2121

2222
```sh
2323
mkdir bin
24-
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
24+
curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.22/mdbook-v0.4.22-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=bin
2525
bin/mdbook build
2626
```
2727

src/config.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -530,10 +530,9 @@ pub struct HtmlConfig {
530530
/// directly jumping to editing the currently viewed page.
531531
/// Contains {path} that is replaced with chapter source file path
532532
pub edit_url_template: Option<String>,
533-
/// Endpoint of websocket, for livereload usage. Value loaded from .toml file
534-
/// is ignored, because our code overrides this field with the value [`LIVE_RELOAD_ENDPOINT`]
535-
///
536-
/// [`LIVE_RELOAD_ENDPOINT`]: cmd::serve::LIVE_RELOAD_ENDPOINT
533+
/// Endpoint of websocket, for livereload usage. Value loaded from .toml
534+
/// file is ignored, because our code overrides this field with an
535+
/// internal value (`LIVE_RELOAD_ENDPOINT)
537536
///
538537
/// This config item *should not be edited* by the end user.
539538
#[doc(hidden)]

0 commit comments

Comments
 (0)