Upgrade Notes
- Icarus now requires
hexo-component-inferno5.0.0 or later, andinferno-serveris a dependency. If you install Icarus from npm, you get them automatically, withhexo-component-inferno5.1.0. If you cloned the theme intothemes/icarus, run the install command that the dependency check prints, for examplenpm install --save hexo-component-inferno@^5.0.0 inferno-server@^8.2.3. See the release notes of hexo-component-inferno 5.0.0 and 5.1.0 beb5317 - The theme configuration file does not change: its version is still
5.1.0. The new options below are off by default - Removed integrations: Facebook Comments, Share.js, Baidu Share, AddThis and the Google FeedBurner
subscribe_emailwidget show a notice instead of loading. Switch to another comment plugin, setshare.typetoweb_share,addtoanyorsharethis, and use thefollowitwidget. See the hexo-component-inferno 5.0.0 release notes beb5317 - Gitalk: Icarus uses Gitalk 2, which requires a GitHub App and your own proxy, set in
proxy. Removeclient_secretfrom your configuration and generate a new client secret, because the old one was published in your pages beb5317 - Profile widget: it no longer falls back to
/img/avatar.pngwhen neitheravatarnorgravataris set. To keep the image, setavatar: /img/avatar.pngin the widget c2f3135 56a9f61 - Gallery: lightGallery 3 is licensed under GPLv3 or a commercial license; check that it fits your site. Rename the
justifiedGalleryCDN override tojustified-gallery, and replace jQuery calls tolightGallery()orjustifiedGallery()in your own scripts with the native APIs 5bc84de e930a5a - MathJax: MathJax 4 loads
tex-mml-chtml.jswithout thees5/prefix and loads its fonts on demand. If you host MathJax yourself, mirror the wholemathjaxand@mathjax/mathjax-newcm-fontpackages 760213c - PJAX: PJAX is now part of the theme, so the
pjaxCDN override is no longer used. If you added scripts that set up the content of a page, run them on thepjax:completeevent as well 3cf03b7 - If you have customized copies of these files, apply the changes of this release to them:
layout/layout.jsx,layout/common/head.jsx,layout/common/navbar.jsx,layout/common/article.jsx,layout/common/plugins.jsx,layout/common/scripts.jsx,source/js/main.jsandsource/js/pjax.js. The navbar and PJAX code moved tosource/js/navbar.js,source/js/appearance.jsandsource/js/pjax-*.js, andlayout/widget/profile.jsxis removed 9742f94 a0dbc4d c2f3135 - Cusdis is deprecated and prints a warning: it was archived on July 17, 2026. Switch to another comment plugin 8187984
New Features
- Material 3 Expressive variant:
variant: m3ebrings tinted surfaces, rounded cards and pill-shaped controls that change shape on hover and keyboard focus, in light, dark orautoappearance (see the Material 3 Expressive Theme Variant post) 0086cb5 fab96ef c295880 f5bbc44 - Appearance switch: pages with
appearance: autohave a sun and moon button in the navbar. Visitors can pick light or dark, and their browser remembers the choice 74cad5e - Web Share:
share.type: web_shareshows links to X, Facebook, Weibo, Telegram and LinkedIn, and a button for the share menu of the visitor's device, without a third-party SDK 8a654bf - GitHub contribution calendar: the
github_calendarwidget shows the contributions of a GitHub user. No GitHub token is needed d567719 - Reading progress bar: posts show how far they have been read in a 3px bar at the top of the window, in browsers that support scroll-driven animations ce1fa5c
- Cookie Consent: with
type: opt-in, the web analytics plugins only load after the visitor allows cookies; withopt-out, they stop loading after the visitor declines them.inforemains a notice only 966e7f9 - LiveRe: set
client_idto theclient-idof the installation code from LiveRe Admin to use the current LiveRe widget.uidkeeps loading the legacy LiveRe City code e2069ac
Improvements
- PJAX keeps working through Back and Forward, restoring the scroll position of each page, and reinitializes the navbar, comments, math and gallery of the pages it switches to 3cf03b7 9742f94 2105054 a0dbc4d
- The gallery uses lightGallery 3 and justified-gallery 4 in all variants and across PJAX page switches 5bc84de e930a5a
- MathJax 4 typesets the expressions of each page switched to with PJAX 760213c
- The outdated browser notice checks the CSS features that the variant needs, instead of loading the old detection library 46d0591
- Google Custom Search results follow the colors and fonts of the theme, with compact thumbnails and controls that fit narrow screens 3a5baa5
- The default author avatar is replaced a21c3e5
- The README presents the three variants and the supported integrations 5335005
- Tests: cover dates, rendering, the published Artalk, Waline, KaTeX and Valine clients, Disqus color parsing and behavior on different platforms 7ef6ac5 62274ba e136741 f9108b9 694c588 1fb6876
Bug Fixes
- Cyberpunk: fix comment plugins and code highlighting turning light for visitors whose system prefers a light color scheme, and fix the colors of code and tag fonts, ShareThis counts, dropdowns and messages 562154a
- Gallery: fix lightbox captions being hard to read, and the gallery styles after switching CDN providers d8aab4e
- CI: fix the Cookie Consent tests and the keyboard focus test of the navbar sub-menus being unreliable 238f22d