Skip to content

Commit ef476a7

Browse files
authored
Merge pull request #2940 from ehuss/bump-version
Update to 0.5.0
2 parents fff6087 + 262afdc commit ef476a7

File tree

10 files changed

+47
-25
lines changed

10 files changed

+47
-25
lines changed

CHANGELOG.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,37 @@
11
# Changelog
22

3-
## 0.5 Migration Guide
3+
## mdBook 0.5.0
4+
[v0.4.52...v0.5.0](https://github.com/rust-lang/mdBook/compare/v0.4.52...v0.5.0)
5+
6+
The 0.5.0 release is the next major release of mdBook, containing over 130 PRs since 0.4.52! The primary focus for this release has been an evolution of the Rust APIs to make it easier to maintain, to evolve in a backwards-compatible fashion, to clean up some things that have accumulated over time, and to significantly improve the performance and compile-times.
7+
8+
This release also includes many new features described below.
9+
10+
We have prepared a [0.5 Migration Guide](#05-migration-guide) to help existing authors switch from 0.4.
411

5-
During the pre-release phase of the 0.5 release, the documentation may be found at <https://rust-lang.github.io/mdBook/pre-release/>.
12+
The final 0.5.0 release does not contain any changes since [0.5.0-beta.2](#mdbook-050-beta2).
13+
14+
## 0.5 Migration Guide
615

716
The 0.5 release contains several breaking changes from the 0.4 release. Preprocessors and renderers will need to be migrated to continue to work with this release. After updating your configuration, it is recommended to carefully compare and review how your book renders to ensure everything is working correctly.
817

918
If you have overridden any of the theme files, you will likely need to update them to match the current version.
1019

20+
See the entries below for [mdBook 0.5.0-alpha.1](#mdbook-050-alpha1), [mdBook 0.5.0-beta.1](#mdbook-050-beta1), and [mdBook 0.5.0-beta.2](#mdbook-050-beta2) for a more complete list of changes and fixes.
21+
1122
The following is a summary of the changes that may require your attention when updating to 0.5:
1223

24+
### Major additions
25+
26+
- Added sidebar heading navigation. This includes the `output.html.sidebar-header-nav` option to disable it.
27+
[#2822](https://github.com/rust-lang/mdBook/pull/2822)
28+
- Added support for definition lists. These are enabled by default, with the option `output.html.definition-lists` to disable it. See [docs](https://rust-lang.github.io/mdBook/format/markdown.html#definition-lists) for more.
29+
[#2847](https://github.com/rust-lang/mdBook/pull/2847)
30+
- Added support for admonitions. These are enabled by default, with the option `output.html.admonitions` to disable it. See [docs](https://rust-lang.github.io/mdBook/format/markdown.html#admonitions) for more.
31+
[#2851](https://github.com/rust-lang/mdBook/pull/2851)
32+
- Links on the print page now link to elements on the print page instead of linking out to the individual chapters.
33+
[#2844](https://github.com/rust-lang/mdBook/pull/2844)
34+
1335
### Config changes
1436

1537
- Unknown fields in config are now an error.

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ hex = "0.4.3"
3939
html5ever = "0.35.0"
4040
indexmap = "2.12.0"
4141
ignore = "0.4.25"
42-
mdbook-core = { path = "crates/mdbook-core", version = "0.5.0-beta.2" }
43-
mdbook-driver = { path = "crates/mdbook-driver", version = "0.5.0-beta.2" }
44-
mdbook-html = { path = "crates/mdbook-html", version = "0.5.0-beta.2" }
45-
mdbook-markdown = { path = "crates/mdbook-markdown", version = "0.5.0-beta.2" }
46-
mdbook-preprocessor = { path = "crates/mdbook-preprocessor", version = "0.5.0-beta.2" }
47-
mdbook-renderer = { path = "crates/mdbook-renderer", version = "0.5.0-beta.2" }
48-
mdbook-summary = { path = "crates/mdbook-summary", version = "0.5.0-beta.2" }
42+
mdbook-core = { path = "crates/mdbook-core", version = "0.5.0" }
43+
mdbook-driver = { path = "crates/mdbook-driver", version = "0.5.0" }
44+
mdbook-html = { path = "crates/mdbook-html", version = "0.5.0" }
45+
mdbook-markdown = { path = "crates/mdbook-markdown", version = "0.5.0" }
46+
mdbook-preprocessor = { path = "crates/mdbook-preprocessor", version = "0.5.0" }
47+
mdbook-renderer = { path = "crates/mdbook-renderer", version = "0.5.0" }
48+
mdbook-summary = { path = "crates/mdbook-summary", version = "0.5.0" }
4949
memchr = "2.7.6"
5050
notify = "8.2.0"
5151
notify-debouncer-mini = "0.7.0"
@@ -71,7 +71,7 @@ walkdir = "2.5.0"
7171

7272
[package]
7373
name = "mdbook"
74-
version = "0.5.0-beta.2"
74+
version = "0.5.0"
7575
authors = [
7676
"Mathieu David <[email protected]>",
7777
"Michael-F-Bryan <[email protected]>",

crates/mdbook-core/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-core"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "The base support library for mdbook, intended for internal use only"
55
edition.workspace = true
66
license.workspace = true

crates/mdbook-driver/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-driver"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "High-level library for running mdBook"
55
edition.workspace = true
66
license.workspace = true

crates/mdbook-html/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-html"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "mdBook HTML renderer"
55
edition.workspace = true
66
license.workspace = true

crates/mdbook-markdown/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-markdown"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "Markdown processing used in mdBook"
55
edition.workspace = true
66
license.workspace = true

crates/mdbook-preprocessor/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-preprocessor"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "Library to assist implementing an mdBook preprocessor"
55
edition.workspace = true
66
license.workspace = true

crates/mdbook-renderer/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-renderer"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "Library to assist implementing an mdBook renderer"
55
edition.workspace = true
66
license.workspace = true

crates/mdbook-summary/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-summary"
3-
version = "0.5.0-beta.2"
3+
version = "0.5.0"
44
description = "Summary parser for mdBook"
55
edition.workspace = true
66
license.workspace = true

0 commit comments

Comments
 (0)