|
1 | 1 | # Changelog
|
2 | 2 |
|
| 3 | +## mdBook 0.4.35 |
| 4 | +[v0.4.34...v0.4.35](https://github.com/rust-lang/mdBook/compare/v0.4.34...v0.4.35) |
| 5 | + |
| 6 | +### Added |
| 7 | +- Added the `book.text-direction` setting for explicit support for right-to-left languages. |
| 8 | + [#1641](https://github.com/rust-lang/mdBook/pull/1641) |
| 9 | +- Added `rel=prefetch` to the "next" links to potentially improve browser performance. |
| 10 | + [#2168](https://github.com/rust-lang/mdBook/pull/2168) |
| 11 | +- Added a `.warning` CSS class which is styled for displaying warning blocks. |
| 12 | + [#2187](https://github.com/rust-lang/mdBook/pull/2187) |
| 13 | + |
| 14 | +### Changed |
| 15 | +- Better support of the sidebar when JavaScript is disabled. |
| 16 | + [#2175](https://github.com/rust-lang/mdBook/pull/2175) |
| 17 | + |
| 18 | +## mdBook 0.4.34 |
| 19 | +[v0.4.33...v0.4.34](https://github.com/rust-lang/mdBook/compare/v0.4.33...v0.4.34) |
| 20 | + |
| 21 | +### Fixed |
| 22 | +- Fixed file change watcher failing on macOS with a large number of files. |
| 23 | + [#2157](https://github.com/rust-lang/mdBook/pull/2157) |
| 24 | + |
| 25 | +## mdBook 0.4.33 |
| 26 | +[v0.4.32...v0.4.33](https://github.com/rust-lang/mdBook/compare/v0.4.32...v0.4.33) |
| 27 | + |
| 28 | +### Added |
| 29 | +- The `color-scheme` CSS property is now set based on the light/dark theme, which applies some slight color differences in browser elements like scroll bars on some browsers. |
| 30 | + [#2134](https://github.com/rust-lang/mdBook/pull/2134) |
| 31 | + |
| 32 | +### Fixed |
| 33 | +- Fixed watching of extra-watch-dirs when not running in the book root directory. |
| 34 | + [#2146](https://github.com/rust-lang/mdBook/pull/2146) |
| 35 | +- Reverted the dependency update to the `toml` crate (again!). This was an unintentional breaking change in 0.4.32. |
| 36 | + [#2021](https://github.com/rust-lang/mdBook/pull/2021) |
| 37 | +- Changed macOS change notifications to use the kqueue implementation which should fix some issues with repeated rebuilds when a file changed. |
| 38 | + [#2152](https://github.com/rust-lang/mdBook/pull/2152) |
| 39 | +- Don't set a background color in the print page for code blocks in a header. |
| 40 | + [#2150](https://github.com/rust-lang/mdBook/pull/2150) |
| 41 | + |
| 42 | +## mdBook 0.4.32 |
| 43 | +[v0.4.31...v0.4.32](https://github.com/rust-lang/mdBook/compare/v0.4.31...v0.4.32) |
| 44 | + |
| 45 | +### Fixed |
| 46 | +- Fixed theme-color meta tag not syncing with the theme. |
| 47 | + [#2118](https://github.com/rust-lang/mdBook/pull/2118) |
| 48 | + |
| 49 | +### Changed |
| 50 | +- Updated all dependencies. |
| 51 | + [#2121](https://github.com/rust-lang/mdBook/pull/2121) |
| 52 | + [#2122](https://github.com/rust-lang/mdBook/pull/2122) |
| 53 | + [#2123](https://github.com/rust-lang/mdBook/pull/2123) |
| 54 | + [#2124](https://github.com/rust-lang/mdBook/pull/2124) |
| 55 | + [#2125](https://github.com/rust-lang/mdBook/pull/2125) |
| 56 | + [#2126](https://github.com/rust-lang/mdBook/pull/2126) |
| 57 | + |
| 58 | +## mdBook 0.4.31 |
| 59 | +[v0.4.30...v0.4.31](https://github.com/rust-lang/mdBook/compare/v0.4.30...v0.4.31) |
| 60 | + |
| 61 | +### Fixed |
| 62 | +- Fixed menu border render flash during page navigation. |
| 63 | + [#2101](https://github.com/rust-lang/mdBook/pull/2101) |
| 64 | +- Fixed flicker setting sidebar scroll position. |
| 65 | + [#2104](https://github.com/rust-lang/mdBook/pull/2104) |
| 66 | +- Fixed compile error with proc-macro2 on latest Rust nightly. |
| 67 | + [#2109](https://github.com/rust-lang/mdBook/pull/2109) |
| 68 | + |
| 69 | +## mdBook 0.4.30 |
| 70 | +[v0.4.29...v0.4.30](https://github.com/rust-lang/mdBook/compare/v0.4.29...v0.4.30) |
| 71 | + |
| 72 | +### Added |
| 73 | +- Added support for heading attributes. |
| 74 | + Attributes are specified in curly braces just after the heading text. |
| 75 | + An HTML ID can be specified with `#` and classes with `.`. |
| 76 | + For example: `## My heading {#custom-id .class1 .class2}` |
| 77 | + [#2013](https://github.com/rust-lang/mdBook/pull/2013) |
| 78 | +- Added support for hidden code lines for languages other than Rust. |
| 79 | + The `output.html.code.hidelines` table allows you to define the prefix character that will be used to hide code lines based on the language. |
| 80 | + [#2093](https://github.com/rust-lang/mdBook/pull/2093) |
| 81 | + |
| 82 | +### Fixed |
| 83 | +- Fixed a few minor markdown rendering issues. |
| 84 | + [#2092](https://github.com/rust-lang/mdBook/pull/2092) |
| 85 | + |
| 86 | +## mdBook 0.4.29 |
| 87 | +[v0.4.28...v0.4.29](https://github.com/rust-lang/mdBook/compare/v0.4.28...v0.4.29) |
| 88 | + |
| 89 | +### Changed |
| 90 | +- Built-in fonts are no longer copied when `fonts/fonts.css` is overridden in the theme directory. |
| 91 | + Additionally, the warning about `copy-fonts` has been removed if `fonts/fonts.css` is specified. |
| 92 | + [#2080](https://github.com/rust-lang/mdBook/pull/2080) |
| 93 | +- `mdbook init --force` now skips all interactive prompts as intended. |
| 94 | + [#2057](https://github.com/rust-lang/mdBook/pull/2057) |
| 95 | +- Updated dependencies |
| 96 | + [#2063](https://github.com/rust-lang/mdBook/pull/2063) |
| 97 | + [#2086](https://github.com/rust-lang/mdBook/pull/2086) |
| 98 | + [#2082](https://github.com/rust-lang/mdBook/pull/2082) |
| 99 | + [#2084](https://github.com/rust-lang/mdBook/pull/2084) |
| 100 | + [#2085](https://github.com/rust-lang/mdBook/pull/2085) |
| 101 | + |
| 102 | +### Fixed |
| 103 | +- Switched from the `gitignore` library to `ignore`. This should bring some improvements with gitignore handling. |
| 104 | + [#2076](https://github.com/rust-lang/mdBook/pull/2076) |
| 105 | + |
3 | 106 | ## mdBook 0.4.28
|
4 | 107 | [v0.4.27...v0.4.28](https://github.com/rust-lang/mdBook/compare/v0.4.27...v0.4.28)
|
5 | 108 |
|
|
176 | 279 | [#1771](https://github.com/rust-lang/mdBook/pull/1771)
|
177 | 280 | - The 404 not-found page now includes the books title in the HTML title tag.
|
178 | 281 | [#1693](https://github.com/rust-lang/mdBook/pull/1693)
|
179 |
| -- Migrated to clap 3.0 which which handles CLI option parsing. |
| 282 | +- Migrated to clap 3.0 which handles CLI option parsing. |
180 | 283 | [#1731](https://github.com/rust-lang/mdBook/pull/1731)
|
181 | 284 |
|
182 | 285 | ### Fixed
|
|
0 commit comments