From 7bd6b9225c16e9366b8d87baa6770c4f4f8647a1 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 30 Mar 2025 12:01:50 +0200 Subject: [PATCH] Prepare 9.6.10 release --- CHANGELOG | 19 +++++++++++++++++++ docs/changelog/index.md | 21 +++++++++++++++++++++ material/__init__.py | 2 +- material/templates/base.html | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 6 files changed, 45 insertions(+), 5 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 96674cc39..019f18020 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,22 @@ +mkdocs-material-9.6.10 (2025-03-30) + + This version is a pure refactoring release, and does not contain new features + or bug fixes. It strives to improve the compatibility of our templates with + alternative Jinja-like template engines that we're currently exploring, + including minijinja. + + Additionally, it replaces several instances of Python function invocations + with idiomatic use of template filters. All instances where variables have + been mutated inside templates have been replaced. Most changes have been made + in partials, and only a few in blocks, and all of them are fully backward + compatible, so no changes to overrides are necessary. + + Note that this release does not replace the Jinja template engine with + minijinja. However, our templates are now 99% compatible with minijinja, + which means we can explore alternative Jinja-compatible implementations. + Additionally, immutability and removal of almost all Python function + invocations means much more idiomatic templating. + mkdocs-material-9.6.9 (2025-03-17) * Updated Serbo-Croatian translations diff --git a/docs/changelog/index.md b/docs/changelog/index.md index 0392fa1d7..461d5dd4d 100644 --- a/docs/changelog/index.md +++ b/docs/changelog/index.md @@ -2,6 +2,27 @@ ## Material for MkDocs +### 9.6.10 March 30, 2025 { id="9.6.10" } + +This version is a pure refactoring release, and does not contain new features +or bug fixes. It strives to improve the compatibility of our templates with +alternative Jinja-like template engines that we're currently exploring, +including [minijinja]. + +Additionally, it replaces several instances of Python function invocations +with idiomatic use of template filters. All instances where variables have +been mutated inside templates have been replaced. Most changes have been made +in partials, and only a few in blocks, and all of them are fully backward +compatible, so no changes to overrides are necessary. + +Note that this release does not replace the Jinja template engine with +minijinja. However, our templates are now 99% compatible with minijinja, +which means we can explore alternative Jinja-compatible implementations. +Additionally, immutability and removal of almost all Python function +invocations means much more idiomatic templating. + + [minijinja]: https://github.com/mitsuhiko/minijinja + ### 9.6.9 March 17, 2025 { id="9.6.9" } - Updated Serbo-Croatian translations diff --git a/material/__init__.py b/material/__init__.py index c75af59e0..c478a38e9 100644 --- a/material/__init__.py +++ b/material/__init__.py @@ -18,4 +18,4 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS # IN THE SOFTWARE. -__version__ = "9.6.9" +__version__ = "9.6.10" diff --git a/material/templates/base.html b/material/templates/base.html index 97eda4150..9ed397540 100644 --- a/material/templates/base.html +++ b/material/templates/base.html @@ -32,7 +32,7 @@ {% endif %} - + {% endblock %} {% block htmltitle %} {% if page.meta and page.meta.title %} diff --git a/package-lock.json b/package-lock.json index c2de15fdd..b66879857 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mkdocs-material", - "version": "9.6.9", + "version": "9.6.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mkdocs-material", - "version": "9.6.9", + "version": "9.6.10", "license": "MIT", "dependencies": { "clipboard": "^2.0.11", diff --git a/package.json b/package.json index 2be7c6511..9ef4fefce 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "9.6.9", + "version": "9.6.10", "description": "Documentation that simply works", "keywords": [ "mkdocs",