Repository navigation
Bring in the security fixes of upstream 9.7.7 and 9.8.0 - #12
Merged
Merged
Conversation
- Fix the DOM-based XSS in search suggestions (upstream 9.7.7) - Raise minimum versions of Python dependencies with known vulnerabilities - Raise minimums in the imaging extra and add GitPython 3.2.1 to the git extra - Update Node build-time dependencies and rebuild the assets - Require Python 3.10, matching mkdocs-ng - Drop mkdocs-rss-plugin from the recommended extra: it pins GitPython < 3.2 Leaves out upstream's end-of-life notice, Zensical migration links and 'Inactive' status.
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports the security fixes from upstream Material for MkDocs 9.7.7 and 9.8.0 and bumps the version to 9.8.0. We forked at upstream
20dc8e93(after 9.7.6), so both releases were missing.Ported
52fb6be8): suggestions are set withtextContentinstead ofinnerHTML, and thewhite-space: prestyle replaces the substitution. In the rebuilt bundle, theinnerHTML=…replace(/\s/g," ")call is gone.imagingextra: Pillow 13.0.0, CairoSVG 2.9.1;gitextra: GitPython 3.2.1.package-lock.json(renamed tomkdocs-ng-material). Assets rebuilt withnpm run build:all.mainandpaletteCSS hashes match upstream 9.8.0 exactly; the JS bundle differs only by our own changes.Different from upstream
imagingextra does too.mkdocs-redirectsstays inrecommended: it works with mkdocs-ng, which also turns off its ProperDocs notice.mkdocs-rss-pluginis removed fromrecommended: every release pinsgitpython<3.2, so[recommended,git]can't be installed with the GitPython fix.mkdocs-ng/mkdocs-material(the build script already pointed there, the committed index was stale).Testing
pip install .[recommended,git,imaging]with mkdocs-ng 1.10.0rc1, thenmkdocs buildof this repo's docs: builds without warnings. This needed a fix in mkdocs-ng: the blog plugin crashed on posts withlinkssince mkdocs-ng 1.9.0 (Fix Material blog post links crash and footer link; add two plugins to the compat matrix mkdocs#129).search.suggest: builds and loads the new bundle; generator meta readsmkdocs-material-9.8.0.Changelog entries in
CHANGELOGanddocs/changelog/index.md(dated 2026-11-01; adjust when released).Generated by Claude Code