Eric Huss
9873b35405
Merge pull request #3129 from rust-lang/update-dependencies
...
Update cargo dependencies
2026-06-08 19:25:18 +00:00
github-actions[bot]
8fac0ef2d9
Update cargo dependencies
...
```
name old req compatible latest new req
==== ======= ========== ====== =======
clap_complete 4.6.3 4.6.5 4.6.5 4.6.5
font-awesome-as-a-crate 0.3.0 0.3.1 0.3.1 0.3.1
handlebars 6.4.0 6.4.1 6.4.1 6.4.1
memchr 2.8.0 2.8.1 2.8.1 2.8.1
pulldown-cmark 0.13.3 0.13.4 0.13.4 0.13.4
serde_json 1.0.149 1.0.150 1.0.150 1.0.150
snapbox 1.2.1 1.2.2 1.2.2 1.2.2
tokio 1.52.1 1.52.3 1.52.3 1.52.3
tower-http 0.6.8 0.6.11 0.6.11 0.6.11
```
2026-06-08 12:19:34 -07:00
Eric Huss
c178d75cd0
Merge pull request #3128 from rust-lang/renovate/cargo-semver-checks-0.x
...
Update cargo-semver-checks to v0.48.0
2026-06-08 16:14:46 +00:00
Eric Huss
e4c65852a3
Merge pull request #3130 from rust-lang/renovate/shlex-2.x
...
Update Rust crate shlex to v2
2026-06-08 16:13:26 +00:00
Eric Huss
702bab2441
Merge pull request #3132 from orangecms/linkcheck2
...
Recommend linkcheck2 fork
2026-06-08 16:12:04 +00:00
renovate[bot]
b67533f834
Update cargo-semver-checks to v0.48.0
2026-06-08 09:08:54 -07:00
renovate[bot]
0382c542c8
Update Rust crate shlex to v2
2026-06-08 09:07:07 -07:00
지지 ᚠד (Jiji Freya Daniel) Maslowski
b096ad10a0
Recommend linkcheck2 fork
...
With the addition of admonitions in 0.5.0, linkcheck broke, and the PR to fix
it has been open for a good while. See:
- <https://github.com/Michael-F-Bryan/mdbook-linkcheck/pull/98 >
- <https://github.com/jontze/action-mdbook/issues/671 >
Signed-off-by: 지지 ᚠד (Jiji Freya Daniel) Maslowski <info@orangecms.org>
2026-06-08 09:05:43 -07:00
Eric Huss
e2630d401e
Merge pull request #3133 from GuillaumeGomez/update
...
Update `browser-ui-test` version to `0.24.0`
2026-06-08 15:59:20 +00:00
Guillaume Gomez
b7f52401f1
Update browser-ui-test version to 0.24.0
2026-06-08 15:38:02 +02:00
Eric Huss
0ea4158977
Merge pull request #3123 from ehuss/bump-version
...
Bump to 0.5.3
2026-05-19 22:51:43 +00:00
Eric Huss
9ec0628222
Bump to 0.5.3
2026-05-19 15:45:59 -07:00
Eric Huss
c79580ad71
Merge pull request #3122 from ehuss/sidebar-heading-spacing
...
Improve spacing in sidebar section headings
2026-05-19 22:25:28 +00:00
Eric Huss
5a946ae676
Improve spacing in sidebar section headings
...
This tries to improve the spacing between section headings in the
sidebar so that they don't blend together. This is particularly a
problem with long headings that word wrap. This just tightens up the
spacing when it wraps, and increases the spacing between the sections.
I still don't 100% like how the distinction between sections can be
difficult to see. My original prototype had other indicators like
bullets, but those ended up not working too well. This might still need
some work in the future.
Fixes https://github.com/rust-lang/mdBook/issues/3085
2026-05-19 15:19:35 -07:00
Eric Huss
4f5b48792f
Merge pull request #3028 from bens-schreiber/schreiber/fix-pretty-urls
...
fix: pretty url toc highlighting
2026-05-19 21:51:01 +00:00
Eric Huss
1e04de75e1
Merge pull request #3084 from tonywu6/master
...
Fix: Remove `?highlight=` from URL when highlights are dismissed via clicking
2026-05-13 14:15:33 +00:00
tonywu6
b4e674877f
Update crates/mdbook-html/front-end/searcher/searcher.js
...
Co-authored-by: Eric Huss <eric@huss.org>
2026-05-06 22:56:25 +08:00
Eric Huss
9190b5d093
Merge pull request #3087 from ehuss/limit-global-keypress
...
Fix global keypresses triggering when other elements are in focus
2026-05-04 19:03:57 +00:00
Eric Huss
4fb647c760
Fix global keypress handling with shadow DOM elements
...
This fixes an issue where global keypresses were being caught when they
shouldn't when there is a shadow DOM element with focus. This can happen
if the user has included their own extensions. Arguably the extension
should do a stopPropagation, but they don't always do that. I think this
is relatively safe way to approach this.
Fixes https://github.com/rust-lang/mdBook/issues/2507
2026-05-04 11:51:32 -07:00
Eric Huss
c5c31bb9f5
Fix global keypress handler with the ACE editor
...
This fixes an issue where pressing `?` inside the ACE editor was opening
the help popup. The solution here is to ensure that the global keypress
handler works the same as the one used in the search handler.
Fortunately other keypresses like left and right were working OK because
ACE was doing something like stopPropagation (I'm not sure exactly).
Fixes https://github.com/rust-lang/mdBook/issues/3064
2026-05-04 11:48:41 -07:00
Tony Wu
3a16879dda
Fix: Remove ?highlight= from URL when highlights are dismissed via clicking ( #1841 )
2026-05-01 10:55:51 +08:00
Eric Huss
9ea86e740b
Merge pull request #3083 from rust-lang/update-dependencies
...
Update cargo dependencies
2026-05-01 01:43:16 +00:00
Eric Huss
ae1a4310e7
Merge pull request #3082 from rust-lang/renovate/actions-setup-node-6.x
...
Update actions/setup-node action to v6.4.0
2026-05-01 01:42:54 +00:00
github-actions[bot]
d2f954cb51
Update cargo dependencies
...
```
name old req compatible latest new req
==== ======= ========== ====== =======
clap_complete 4.6.2 4.6.3 4.6.3 4.6.3
```
2026-05-01 00:59:54 +00:00
renovate[bot]
8412c5a87c
Update actions/setup-node action to v6.4.0
2026-05-01 00:28:51 +00:00
Eric Huss
4adc4b08ba
Add a test for global keypress with ACE editor focused
...
This is a regression test for
https://github.com/rust-lang/mdBook/issues/3064 .
2026-04-27 15:32:09 -07:00
Eric Huss
22f3035df0
Add a test for global keypress with shadow-dom elements
...
This is a regression test for
https://github.com/rust-lang/mdBook/issues/2507 .
2026-04-27 15:31:04 -07:00
Eric Huss
973a240f97
Merge pull request #3077 from rust-lang/update-dependencies
...
Update cargo dependencies
2026-04-23 16:57:31 +00:00
github-actions[bot]
1cf231e42f
Update cargo dependencies
...
```
name old req compatible latest new req
==== ======= ========== ====== =======
axum 0.8.8 0.8.9 0.8.9 0.8.9
clap 4.5.60 4.6.1 4.6.1 4.6.1
clap_complete 4.5.66 4.6.2 4.6.2 4.6.2
indexmap 2.13.0 2.14.0 2.14.0 2.14.0
pulldown-cmark 0.13.1 0.13.3 0.13.3 0.13.3
semver 1.0.27 1.0.28 1.0.28 1.0.28
snapbox 1.0.0 1.2.1 1.2.1 1.2.1
tempfile 3.26.0 3.27.0 3.27.0 3.27.0
tokio 1.49.0 1.52.1 1.52.1 1.52.1
toml 1.0.3 1.1.2 1.1.2 1.1.2
tracing-subscriber 0.3.22 0.3.23 0.3.23 0.3.23
```
2026-04-23 16:51:51 +00:00
Eric Huss
c62ee45268
Merge pull request #3063 from Turbo87/pin-github-actions
...
CI: Pin GitHub Actions to commit SHAs
2026-04-23 16:31:03 +00:00
Eric Huss
5949ac09ab
Merge pull request #3073 from tuyen-at-work/patch-3
...
Fix download URL format for mdBook in CI guide
2026-04-23 16:01:52 +00:00
Eric Huss
c5529d1cb1
Merge pull request #3058 from rust-lang/renovate/sha2-0.x
...
chore(deps): update rust crate sha2 to 0.11.0
2026-04-23 16:00:49 +00:00
Tuyen Pham
cc6932e325
Fix download URL format for mdBook in CI guide
2026-04-23 08:56:14 -07:00
renovate[bot]
4c0aa34d1e
chore(deps): update rust crate sha2 to 0.11.0
2026-04-23 08:53:06 -07:00
Eric Huss
0e4a54836f
Merge pull request #3075 from GuillaumeGomez/update-gui-test
...
Update `browser-ui-test` version to `0.23.5`
2026-04-23 15:05:54 +00:00
Guillaume Gomez
43de45d134
Update browser-ui-test version to 0.23.4
2026-04-23 14:46:31 +02:00
Eric Huss
df53063fea
Merge pull request #3057 from rust-lang/renovate/html5ever-0.x
...
chore(deps): update rust crate html5ever to 0.39.0
2026-04-21 02:33:02 +00:00
renovate[bot]
a4db4a833d
chore(deps): update rust crate html5ever to 0.39.0
2026-04-20 19:26:02 -07:00
Eric Huss
da012e5589
Merge pull request #3070 from Rohan5commit/docs/fix-in-between-comment-20260413
...
Fix typo in searcher.js comment
2026-04-21 02:15:53 +00:00
Codex
ed5830144c
docs: fix typo in searcher comment
2026-04-20 19:10:36 -07:00
Eric Huss
2bad8058fc
Merge pull request #3074 from ehuss/fix-flaky-gui
...
Fix flaky gui tests
2026-04-21 01:56:02 +00:00
Eric Huss
dc2fbde515
Harden move-between-pages and sidebar-scroll tests
...
These tests have been randomly failing on CI. I'm not entirely certain
why there is a race for these conditions. I'm not sure how
browser-ui-test waits when the document reloads on navigation.
There's also some javascript triggers that happen after the page loads,
and I don't remember if that runs before DOMContentLoaded.
2026-04-20 17:16:16 -07:00
Eric Huss
c4efaffc1d
Try to make heading-nav-collapsed test more reliable
...
This test seems to be a little flaky. This tries to make it more
reliable by using `wait-for-` commands instead of `assert-`. My guess is
that clicking on an element doesn't necessarily wait for all the
javascript code to finish and the DOM to be done updating.
2026-04-20 17:07:56 -07:00
Tobias Bieniek
2ab29ef789
CI: Pin GitHub Actions to commit SHAs
...
This pins all third-party actions to immutable commit SHAs, with the
resolved version tag in a trailing comment. This prevents upstream
tags from silently changing under us.
- actions/checkout → v6.0.2 (bumped from v5 to reduce `artipacked`
severity: v6 no longer stores credentials in `.git/config`)
- actions/setup-node → v6.3.0
- rust-lang/crates-io-auth-action → v1.0.4
See https://docs.zizmor.sh/audits/#unpinned-uses
2026-04-10 14:35:42 +02:00
Eric Huss
05fbc5d3d0
Merge pull request #3052 from jhult/fix/gui-sidebar-scroll-failure
...
fix(gui): use class selectors for sidebar-scrollbox in GUI tests
2026-03-23 22:00:22 +00:00
Jonathan Hult
edf704aa4d
fix(gui): use class selectors for sidebar-scrollbox in GUI tests
...
Fixes CI failure in sidebar-scroll.goml where mdbook-sidebar-scrollbox custom element not found (timing issue in headless Linux Chrome). The class is always present in generated HTML (<mdbook-sidebar-scrollbox class="sidebar-scrollbox">).
2026-03-16 14:17:54 -05:00
Eric Huss
30e0e1d102
Merge pull request #3048 from rust-lang/renovate/cargo-semver-checks-0.x
...
chore(deps): update cargo-semver-checks to v0.47.0
2026-03-09 15:34:21 +00:00
renovate[bot]
04e3e2a2fa
chore(deps): update cargo-semver-checks to v0.47.0
2026-03-08 16:46:53 +00:00
Eric Huss
891e203410
Merge pull request #3042 from rust-lang/update-dependencies
...
Update cargo dependencies
2026-03-01 22:53:51 +00:00
Eric Huss
05badb1e2d
Update cargo dependencies
...
```
name old req compatible latest new req
==== ======= ========== ====== =======
anyhow 1.0.100 1.0.102 1.0.102 1.0.102
clap 4.5.56 4.5.60 4.5.60 4.5.60
clap_complete 4.5.65 4.5.66 4.5.66 4.5.66
futures-util 0.3.31 0.3.32 0.3.32 0.3.32
memchr 2.7.6 2.8.0 2.8.0 2.8.0
pulldown-cmark 0.13.0 0.13.1 0.13.1 0.13.1
regex 1.12.2 1.12.3 1.12.3 1.12.3
tempfile 3.24.0 3.26.0 3.26.0 3.26.0
toml 1.0.0 1.0.3 1.0.3 1.0.3
```
2026-03-01 14:46:03 -08:00