Skip to content

Upgrading mkdocs-material 6 to 7

Breaking6.2.8 → 7.3.6Breaking1Security2Deprecated2New22Changed17Fixed71Other3

BreakingUpgrade verdict

1 breaking change and 2 security fixes.

  • Any custom code listening for the DOMContentSwitch event will stop receiving it.
  • Updates the underlying documentation tool to a version that fixes a known security vulnerability.
  • The Docker image now refreshes its package index during build, so it picks up security updates.
  • Building the search index ahead of time is now discouraged.
5 items need code or config changes

Adds jinja2 >=2.11.1.

Breaking1
Removes the DOMContentSwitch event.
DOMContentSwitch
Security2
Bumps MkDocs to 1.2.3 to mitigate CVE-2021-40978.
MkDocs
Improves Docker image security by always updating apk.
Deprecated2
Deprecates prebuilding of the search index.
Deprecates the seealso admonition qualifier.
seealso