diff --git a/CHANGELOG b/CHANGELOG
index 67a535303..97df12258 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,8 @@
+mkdocs-material-9.5.42 (2024-10-20)
+
+ * Fixed #7625: Invalid encoding of boolean attributes in privacy plugin
+ * Fixed #7624: Crash when disabling privacy plugin (9.5.41 regression)
+
mkdocs-material-9.5.41 (2024-10-15)
* Fixed #7619: Improved tooltip on logo disappears after instant navigation
diff --git a/docs/changelog/index.md b/docs/changelog/index.md
index 5f64e23b7..624e92140 100644
--- a/docs/changelog/index.md
+++ b/docs/changelog/index.md
@@ -2,6 +2,11 @@
## Material for MkDocs
+### 9.5.42 October 20, 2024 { id="9.5.42" }
+
+- Fixed #7625: Invalid encoding of boolean attributes in privacy plugin
+- Fixed #7624: Crash when disabling privacy plugin (9.5.41 regression)
+
### 9.5.41 October 15, 2024 { id="9.5.41" }
- Fixed #7619: Improved tooltip on logo disappears after instant navigation
diff --git a/material/__init__.py b/material/__init__.py
index a2ff55fe0..7569b8145 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.5.41"
+__version__ = "9.5.42"
diff --git a/material/templates/base.html b/material/templates/base.html
index fd14d6391..0b0e203ca 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 cea6ad9af..e87a87515 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "mkdocs-material",
- "version": "9.5.41",
+ "version": "9.5.42",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "mkdocs-material",
- "version": "9.5.41",
+ "version": "9.5.42",
"license": "MIT",
"dependencies": {
"clipboard": "^2.0.11",
diff --git a/package.json b/package.json
index 53d0ef267..5fc52cc3e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "mkdocs-material",
- "version": "9.5.41",
+ "version": "9.5.42",
"description": "Documentation that simply works",
"keywords": [
"mkdocs",