Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

Latest commit

 

History

History
762 lines (516 loc) · 55.4 KB

CHANGELOG.md

File metadata and controls

762 lines (516 loc) · 55.4 KB

5.0.0 (2022-07-03)

It’s been two years since our last release, the world has changed a lot. Still, we’re happy to announce that MemE 5.0.0 is out!

Some highlights:

  • 7 more languages support
  • A live preview site via GitHub Actions
  • Third-party libraries customization

Thanks to all the contributors who contributed to this release!

Bug Fixes

  • a11y: increase width of scrollbar (d392ab1)
  • build error (74ea4db)
  • check before loading comments (#374) (1c0beed)
  • css: add transition for header (342939d)
  • css: backdrop-filter supports at-rule for webkit (37d8a68)
  • css: dim image in light mode (#367) (5e6c812), closes #365
  • css: make code related backgound-color consistent (32224aa)
  • css: margin issue of nested ol/ul (25de088)
  • css: margin issue of post type poetry (a65114a)
  • css: menu is not aligned on medium screen (ed7e68b)
  • css: svg icon get cut off on safari (25e9e4d)
  • css: url word-break for justify align (8112664)
  • declares the social url as a safe url (#354) (72212b2), closes #353
  • deprecated warning for .Path (e425890), closes #369
  • deprecation warning of !global assignments (504ee32)
  • drop cap to the identical paras only once (#356) (27ba8bb)
  • escaped HTML in summary.html (47cead2), closes #213
  • exclude medium-zoom for img tags directly under a tag (#346) (951b0ad)
  • filter pages before limit (7cf1577)
  • insertHrBySelf not working anymore (293d9a0)
  • make header width to 100vw to avoid change when scroll bar appears (#351) (adefef8)
  • modify start_url to meet the PWA's fast and reliable requirment (#314) (9be741a)
  • remove extra white space in summary.html (8ebbfa8)
  • resolve the editURL problem on Windows (#308) (25be50d), closes #279
  • set app-mobile-web-app-status-bar-style to black (91bba2a), closes #280
  • style: margin issue in toc (ca1d2b1)
  • style: margin issue of nested ordered/unordered list (b52d699)
  • sw.js: an object that was not a Response was passed to respondWith() (159652e)
  • syntax error (e781e17)
  • third-party: add tinyseg.js to scripts if japanese (#305) (ed7f353)
  • undefined loadComments() in homepage (#326) (c2d2200)
  • use network first strategy for sw.js (cddaf25)
  • use pageref for internal links in menus (2479717), closes #343
  • wrong glyph-correction URL when baseURL is set to sub-directory (#291) (28bcb78), closes #287

Features

  • add Algolia Search support (#329) (2dc1f8b), closes #222
  • add built-in service worker support (5470cbe)
  • add copyleft 🄯 support (8964306)
  • add Gitalk comments support (#324) (6941bd2)
  • add html minify configuration (72e1a9d)
  • add new config param displayBackToTopOnMobile (9d7ce99), closes #280
  • add new front matter anchor (e927542), closes #276
  • add new param displayFooter (2d17152)
  • add support for color-scheme meta tag (7d7c485), closes #361
  • add support for auto-hiding flex header (6e7027e), closes #293
  • Add support for Yandex.Metrika (#323) (abd67d8)
  • Adjust post markup to conform to h-entry spec (#253) (cb4fb52)
  • i18n: add 'id' Bahasa (#388) (790d2ab)
  • i18n: add FR lang support (#233) (a7c47aa)
  • i18n: Add Hungarian language file (#363) (d1d3472)
  • i18n: add Japanese support (#311) (6c8faec)
  • i18n: add polish language support (#273) (f49ac2c)
  • i18n: add zh-TW lang support (#270) (e051e0c)
  • i18n: Added support for Russian language (#322) (eb0aecd)
  • ignore suffix slash of image host (#358) (d8af0e0)
  • ignore suffix slash of video host (597d20d)
  • Make SRI for scripts and styles enabled separately from fingerprinting (#215) (b9869e7)
  • new config param customizeScrollbar (2c06353)
  • set up github actions for pages (#278) (8e0d1b5), closes #277
  • support directly load the comments after pages loaded (#325) (29e4726)
  • support host customization for third-party libraries (#389) (a6111f9)
  • support hugo v0.73.0 (f1e3503), closes #207

BREAKING CHANGES

  • enableFingerprint config parameter no longer enables Subresource Integrity. If you need it, you have to specify enableSRI parameter as well
  • MemE now requires Hugo v0.73.0+.

4.5.0 (2020-06-24)

Bug Fixes

  • Avoid double escaping when using post description (#190) (44d4198)
  • Do not load the script in 404 page (#200) (87e8586), closes #199
  • make dark theme brighter (#195) (4e9c8fe)
  • mermaidConfig is not defined error (f0b87b2)
  • missing read-more on home-posts page (#198) (831d8fb)
  • Safari doesn't support addEventListener on media queries (#184) (0fccbcc)
  • Search index should include sections & co. if these have content (#192) (e2948b2)
  • Unrelated localStorage changes would cause switch to light theme (#194) (db102eb)
  • wrong utterances theme (9a041c1)

Code Refactoring

Features

  • allow to limit the number of tree posts (#196) (6f3aeba), closes #97
  • apply markdownify to post title (#183) (1322fdd), closes #179
  • support dark theme for mermaid (066138a), closes #205
  • support override system preferences for dark mode (29bd11e), closes #201
  • i18n: add Malaysian and Norwegian languages (#202) (f782a59)

BREAKING CHANGES

  • Highlighting customization now works by overriding CSS variables, no longer by overriding theme-specific files
  • Markdown in page titles will be processed now
  • Deliver parameter to various templates is now called $
  • custom.js is loaded at the top of the page now, before the page elements are available

4.4.0 (2020-05-23)

MemE v4.4.0 comes with some big code refactoring by @palant, which makes MemE even more faster. Big thanks!

Also, make sure to follow the instructions when you update MemE to the latest version!

Bug Fixes

  • allow .Params.indent to override global settings (188fc17)
  • Do not rely on JavaScript to determine header width (#168) (820e0ab)
  • generation failed error caused by readFile (62f6934), closes #133
  • Get rid of unnecessary safeHTML usage (#135) (91e84a1), closes #134
  • Improve accessibility of the theme switcher (#160) (e5e6230)
  • Make sure to turn relative links absolute in feeds (#170) (4c6097a), closes #141
  • pass $Content to custom/content.html (df739fa)
  • Remove unnecessary safeJS/safeURL calls (a94cc42)
  • Respect user's preferred theme even when JavaScript isn't enabled (#169) (46522c6)
  • search on mobile and make url relative (#172) (5a3470a), closes #171
  • Typos in README (#161) (0cd2733)
  • When scrolling to an anchor, account for the header height (#158) (115914a), closes #146
  • a11y: delete maximum-scale (37632a7)
  • json-ld: missing image in non-mainSections page (26baf9d)
  • post-copyright: missing colon when website param is not set (86bfc77), closes #116
  • style: add tab-size support for firefox (afb0b4a), closes #105
  • style: font-size bug in mobile safari (4094ff7), closes #109
  • style: make color in dark mode less dazzling (9d35969)
  • style: make color in dark mode less dazzling (e580a16)
  • style: margin issue of caption in layout "poetry" (3754acc)
  • style: margin issues of layout "poetry" (bbef0de)
  • style: overflow and font-size bug in safari (e2646e3), closes #109
  • unescaped ampersand(&) in xml (b1890ee), closes #103

Code Refactoring

Features

BREAKING CHANGES

  • Various templates under utils/partials/ will return results directly rather than via .Scratch now.

4.3.1 (2020-04-03)

Bug Fixes

  • style: add transition, fix color contrast (e9880d7)
  • style: font-size of copy button (ed015a9)
  • style: make color in dark mode less dazzling (c0e0927)
  • style: make color in dark mode less dazzling (cef984d)
  • style: make the bg-color of dark mode darker (676fee1)
  • clipboard polyfill (05a365b)
  • i18n of script and style (e7871bb)
  • make dark mode more gorgeous (06f79af)
  • make dark mode respect system preferences (10d6cca)

Features

  • change default highlight theme (e7e61d4)

4.3.0 (2020-03-20)

MemE v4.3.0 makes some brand new features and breaking changes, so please be sure to check the modification history of config.toml and update the related items after the update!

Bug Fixes

  • add “contributors” to license (f58f9aa)
  • add backdrop-filter support for safari (fae1f2a)
  • add fallback for backdrop-filter (60f611b)
  • correct favicon's MIME type (f8ba8aa)
  • correct zh-cn translation of license (070b1d3)
  • emphasis point position U+2022 (1cc02c3)
  • google fonts style loading fails on firefox (e5ad6fe)
  • header layout flex (44b352e)
  • hide back-to-top on mobile (4c670b5)
  • improve post-copyright style (a498cad)
  • increase the margin of toc-num (8d9bad0)
  • missing div tag in dark mode's regex (c1cda8b)
  • optimize header-inner's display experience (fd95216)
  • optimize user experience (e9f6d90)
  • remove subset=chinese-simplified (de4def3)
  • remove crappy param compatibleWithLaTeX (dc0c4ef), closes #50
  • render links only if it exists (fc0fae8)
  • style of header when enableNavToggle = false (6c3356e)
  • style of langs on mobile (83f1046)
  • style of medium zoom (5f49a0e)
  • style of menu bar (0845e86)
  • use em tag for emphasis point (a599634)

Code Refactoring

  • remove i18n's region subtag (9f5916a)

Features

  • add autohide param for copy button (bdb6077)
  • add copy button and scroll for code blocks (94d7e05), closes #76
  • add mermaid support (#75) (431ef63)
  • added german translation (#74) (19892fc)
  • brand new header layout flex (a11c06a)
  • new param displayFooterInHome (075c8d2)
  • new param tocNum (f30d684), closes #71
  • responsive table & set its width to 100% (a995897)
  • support instant page (6a9876b)
  • support unordered toc (9093207)
  • update google fonts css api to v2 (67bb2c5)

Performance Improvements

  • add throttle for scroll and resize listener (6945afd)
  • defer google fonts and add preconnect rel (5ff821d)
  • drop instantclick support (b9cea3b)
  • remove outdated keywords meta (fa5bf38)
  • replace calc() with rem (acf1cae)
  • use cilent side js selector for medium zoom (4eb0408)

BREAKING CHANGES

  • compatibleWithLaTeX is removed

If you have enabled this param before, you can replace this feature with HTML <div> or <span> tag, e.g.

<div>
$$
...
$$
</div>

inline math <span>$...$</span>

...which prevents LaTeX code from being processed by the Markdown renderer.

Sorry for the inconvenience again :(

4.2.1 (2020-02-20)

Revert

  • cancel use Page.GetTerms (1331c92)

4.2.0 (2020-02-20)

Bug Fixes

  • correct zh-cn translation of weibo (9937e20)
  • drop cap after hr (223b67b)
  • emphasis point position U+2022 (b07107b)
  • fonts-src.scss & drop outdated code (ebccc0f)
  • generate qrcode fails when url is too long (73a0d30)
  • json-ld, open-graph (6dc995a)
  • make color in dark mode less dazzling (262ddb1)
  • render minimal-footer-about only if it exists (3be7996)
  • style of blockquote (a31369a)
  • style of footnote-icon, drop-cap (ac0684c)
  • style of layout home-poetry, home-footage (76018fb), closes #59
  • style of qrcode (5c81c01)
  • style of qrcode again (1e6791b)
  • style of text-decoration, scrollbar, code (b553842)
  • style of tree categories page (d2ea8c0)
  • subset glyph-correction (ffc6aa7)
  • tree-categories, tree-sections (04bde37)
  • twitter-cards (123eea1)

Code Refactoring

  • main.scss and scss folder structure (abba97f), closes #52
  • restructure partials folder (299c218), closes #68

Features

BREAKING CHANGES

  • partials folder structure is changed
  • scss folder structure is changed

4.1.0 (2020-01-30)

Bug Fixes

  • homePoster, fofPoster in main.scss (e6105a9), closes #51
  • data-attributes.scss (67bf0f5)
  • delimit function (1ab41b1)
  • do not justify if its type is poetry (0bd42e7)
  • regex of compatibleWithLaTeX (b2bed6b)
  • regex of compatibleWithLaTeX again (af1de8b)
  • regex of content.html (6bb169d)
  • regex of drop cap and indent (e4d4fd8)
  • regex of external links and hosting (ca47e40)
  • regex of indent (d49e3a6)
  • regex of indent again (09f4e53)
  • regex of markdownify.html (853db3d)
  • regex of paragraph indent (c7ce9bb)
  • regex of paragraph indent again (88ea2c6)
  • style of medium zoom (8918a4b)
  • style of table and highlight (5e7b9cc)
  • styles related to text-align and indent (0c46faa)

Code Refactoring

  • load highlight, emphasis-point on demand (bd6ca2b)
  • simplify service worker notification (ff1d110)

Features

  • do not indent the first paragraph (eaefda4), closes #36

Performance Improvements

  • remove useless video regex (011fc32)

4.0.1 (2020-01-09)

Bug Fixes

  • missing <p> tag when content has one line (d7f4b8f), closes #49
  • regex of content.html (01039b7)
  • style of footnotes (f4a3dd0)

4.0.0 (2020-01-08)

As I described in #26, I want to make MemE support Hugo's new default Markdown rendering engine Goldmark, and this is it. In this version, MemE will support Goldmark and no longer support Blackfriday.

Notes

  1. Goldmark problems, see #43 (comment)

  2. Compatibility with LaTeX, see gohugoio/hugo#6544

    Previously, I suggested adding some backslashes to escape some characters to solve the syntax conflict between Markdown and LaTeX. Now, I think that is not the right way -- it's troublesome and stupid.

    In v4.0.0, MemE adds a new compatibleWithLaTeX option as a temporary workaround. But note that it has some limitations, such as it can't exclude equations inside code block, it supports $ ... $ and $$ ... $$ only.

    And at last, apology for my wrong suggestion, which may take some of your time to modify the equations again.

  3. With Hugo brand new Markdown renderer Goldmark, #14 should be fixed.

ATTENTION

MemE v4.0.0 requires Hugo v0.62.2 or higher.

3.4.5 (2020-01-08)

Bug Fixes

  • cannot change highlight theme in dark-mode.js (b81d551)
  • style of back-to-top (e5bda3a)
  • style of post-meta, busuanzi-site-uv-and-pv (a4e4137)
  • style related to flex (ad0f403)
  • Use .Permalink instead of combining URLs (f1d4906)
  • wrong utterances theme after theme is changed (4389ddf)

Features

  • add "custom/content.html" partial (3cc100b)
  • add "custom/script.html" partial (d442001)
  • autohide back-to-top toggle (6659f25)
  • medium zoom for images (b7cf602)
  • new disableMathJaxMenu option (b759b6e)
  • smooth scroll (aaa5a42)
  • support tab-size CSS property (56a9e1d)
  • support busuanzi view counter #40 (09e9976)
  • support utterances and a couple of bug fixes (8339f71)

3.3.9 (2019-12-18)

Bug Fixes

  • add MathJax.texReset(); (fc08a2c)
  • change margin of <blockquote> to 2em, 0 (d04efe7), closes #39
  • chaos caused by unreset .Scratch (3e862b4)
  • load fonts-src on demand (d4edbff)
  • minimal-footer style (6729a2e)
  • missing license info in json-ld (20f7eef)
  • srcollbar style (288a00d)
  • style of code in pre (dce3462)
  • style of mathjax (8efdca6)
  • style of thead, th, td, dt (6a11b06)
  • ugly encoded URLs in post-copyright (0efad4c), closes #24
  • use greater width for max-width (8c4aae2)
  • use U+0020 instead of &nbsp; No-Break Space (46660e2)
  • valine comment #22 (935c9d5)
  • wrong whitespace position (56578ac)

Code Refactoring

  • modular instantclick & fix a mistake (6a49a25)
  • simplify dark mode (cc7b36b)
  • using data attributes (13a67ac)
  • better responsive design (c4dad06)
  • use justify-content (a9ccb77), closes #38
  • separate maxWidth from responsive.scss (88e66e1)
  • modular homepage for better customization (4aeb5e2)

Features

Performance Improvements

  • load valine.js only when button is clicked (dee283f)

3.2.7 (2019-11-19)

Bug Fixes

  • chmod 644 instantclick.js (02f130f)
  • link text of tags in minimal-footer (5806692)
  • missing categories problem (5c44452)
  • missing tags when its name is complicated (aa106a7)
  • whitespace problem in site-info in footer (f471af6)
  • wrong keywords when its name has whitespaces (c8d534e)

Code Refactoring

BREAKING CHANGES

  • postSections & feedSections is removed

3.0.0 (2019-11-09)

MemE has a brand new config.toml (in config-examples folder) with detailed instructions now! I highly recommend you replace your existing config.toml with it. Although this may take a while to reconfigure the configuration.

Moreover, MemE modifies the color values ​​of dark mode to make dark mode less depressed. Please change primaryColorDark to 201, 65%, 62% if you are not using the latest version of config.toml.

MemE 主题现在有一个全新的 config.toml 了(在 config-examples 文件夹内),且里面包含详细的说明!我强烈建议你用它替换你现有的 config.toml 文件,尽管这可能需要一些时间重新配置。

此外,MemE 主题修改了一些深色模式的颜色值,以使深色模式不那么压抑。对于这点,如果你没有使用最新版本的 config.toml,请你将其中的 primaryColorDark 设置为 201, 65%, 62%

Bug Fixes

  • contrast ratio of highlight style (39da81c)
  • contrast ratio of highlight style (22480e6)
  • headings link style (fc99fc6)
  • make the color less depressed (4c37e04)
  • post-copyright style (a7dedde)
  • post-copyright style again (37d275e)
  • regex of emphasis point (6babe81)

Features

  • new image filter for dark mode (5beb752)
  • new option for current menu item (edc7dc8)
  • #15: new home page layout page (7ae2902), closes #15

BREAKING CHANGES

  • darkImage option is removed You can delete darkImage in config.toml or post’s Front Matter now.

  • config.toml changed Please change primaryColorDark to 201, 65%, 62% by yourself.

2.3.7 (2019-10-09)

Bug Fixes

  • display post-nav in postsSection only (5e503e6)
  • move <script> to the front of </body> (0323fda)
  • post-gitinfo style (8dd960f)
  • post-nav style (7402415)

2.1.5 (2019-10-04)

Bug Fixes

Code Refactoring

  • separate fonts src from fonts.scss (8de3b8d)
  • separate the video from hosting (10e8ff3)

Features

  • add enableFingerprint for style & script (ebaa065)
  • change some URLs to relative to support IPFS (6b678da)
  • video hosting URL (9b15d2e)

BREAKING CHANGES

  • fonts.scss changed

If you have customized fonts.scss, be sure to check this change before updating.

  • config.toml option changed
 # Image Hosting
 # Only support absolute URLs relative to root,
 # eg: /../../*.jpg
 enableImageHost = false
 imageHostURL = "https://example.com/"
 # Use host URL for head meta tags also
 headAlso = false

 # Video Hosting
 # Only support absolute URLs relative to root,
 # eg: /../../*.mp4
 enableVideoHost = false
 videoHostURL = "https://example.com/"

2.1.3 (2019-09-09)

Bug Fixes

  • delete duplicate site title (77a80fd)
  • delete duplicate site title again (5ac16dd)
  • drop cap style (0843057)
  • minimal footer style (b7b45e5)
  • minimal-footer-about style (5e33b95)

Features

  • PWA Update Notification (1998160)

2.0.0 (2019-09-01)

Bug Fixes

Features

  • add displayPostGitInfo option (5d395f9)
  • add fontFamilyMenu option (1269b9c)
  • add variables to help users customize (043127a)
  • new related Front Matter (dc983e5)
  • new Front Matter options (b1326cd)

BREAKING CHANGES

  • You must add displayRelatedPosts = true in config.toml

1.0.0 (2019-08-23)

Bug Fixes

Code Refactoring

  • change header and menu option (4baf725)

Features

  • add back to top support (bf4d8a3)
  • add displayPostDescription option (af94d6d)
  • add Service Worker support (76ba288)
  • add syntax highlight option (2ca9432)

BREAKING CHANGES

  • config.toml option changed displayHeader -> enableHeader displayMenu -> enableMenu