diff --git a/CHANGELOG b/CHANGELOG index 254bd5f69..52b0c14e5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,8 +1,9 @@ -mkdocs-material-4.0.0 (2019-xx-xx) +mkdocs-material-4.0.0 (2019-02-13) + * Added background on hover for table rows * Removed Google Tag Manager and reverted to Google Analytics * Removed blocks in partials - Jinja doesn't support them - * Fixed #911: Chrome breaks layout if system language is Chinese + * Fixed #911: Chrome breaks layout if system language is Chinese [BREAKING] * Fixed #976: Removed FastClick mkdocs-material-3.3.0 (2019-01-29) @@ -51,7 +52,7 @@ mkdocs-material-3.0.1 (2018-08-05) mkdocs-material-3.0.0 (2018-08-05) - * Upgraded MkDocs to 1.0 + * Upgraded MkDocs to 1.0 [BREAKING] * Upgraded Python in official Docker image to 3.6 * Added Serbian and Serbo-Croatian translations @@ -280,7 +281,7 @@ mkdocs-material-2.0.0 (2017-10-31) * Added support for easier configuration of search tokenizer * Added support to disable search * Added Korean translations - * Removed support for MkDocs 0.16.x + * Removed support for MkDocs 0.16.x [BREAKING] mkdocs-material-1.12.2 (2017-10-26) diff --git a/docs/release-notes.md b/docs/release-notes.md index 404002ee7..20446851d 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -14,6 +14,21 @@ To inspect the currently installed version, use the following command: pip show mkdocs-material ``` +### Material 3.x to 4.x + +* Material for MkDocs 4.x finally fixes incorrect layout on Chinese systems. + The fix includes a mandatory change of the base font-size from `10px` to + `20px` which means all `rem` values needed to be updated. Within the theme, + `px` to `rem` calculation is now encapsulated in a new function called + `px2rem` which is part of the SASS code base. + +* If you use Material with custom CSS that is based on `rem` values, note that + those values must now be divided by 2. Now, `1.0rem` doesn't map to `10px`, + but `20px`. To learn more about the problem and implications, please refer + to [the issue][2] in which the problem was discovered and fixed. + + [2]: https://github.com/squidfunk/mkdocs-material/issues/911 + ### Material 2.x to 3.x * Material for MkDocs 3.x requires MkDocs 1.0 because the way paths are resolved @@ -49,6 +64,14 @@ pip show mkdocs-material ## Changelog +### 4.0.0 _ February 13, 2019 + +* Added background on hover for table rows +* Removed Google Tag Manager and reverted to Google Analytics +* Removed blocks in partials - Jinja doesn't support them +* Fixed #911: Chrome breaks layout if system language is Chinese [BREAKING] +* Fixed #976: Removed FastClick + ### 3.3.0 _ January 29, 2019 * Moved Google Analytics integration into `head` using Google Tag Manager @@ -95,7 +118,7 @@ pip show mkdocs-material ### 3.0.0 _ August 5, 2018 -* Upgraded MkDocs to 1.0 +* Upgraded MkDocs to 1.0 [BREAKING] * Upgraded Python in official Docker image to 3.6 * Added Serbian and Serbo-Croatian translations @@ -323,7 +346,7 @@ pip show mkdocs-material * Added support for easier configuration of search tokenizer * Added support to disable search * Added Korean translations -* Removed support for MkDocs 0.16.x +* Removed support for MkDocs 0.16.x [BREAKING] ### 1.12.2 _ October 26, 2017 diff --git a/material/base.html b/material/base.html index 652bebf46..1f3205468 100644 --- a/material/base.html +++ b/material/base.html @@ -41,7 +41,7 @@ {% endfor %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} diff --git a/package.json b/package.json index 0d8df15ac..e81d34ddc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "3.3.0", + "version": "4.0.0", "description": "A Material Design theme for MkDocs", "keywords": [ "mkdocs",