Breaking Changes
Due to the integration and renaming of several settings, please reconfigure the _config.yml
file when upgrading to version 5.0.
Features
- Added
macstyle
setting, removedmac
/mac light
theme setting - Integrated search-related settings
- Modified code block settings
- Added various layout options for homepage posts
- Introduced a "Shuoshuo" page
- Compatible with
hexo-blog-encrypt
plugin - Improved mobile menu opening effect
- Added smooth scrolling feature
- Support for writing mermaid diagrams in code blocks
- Customizable article title position
- Added full-screen button for code
- Rounded design for friend link avatars
- Optimized code using
hexo-util
and built-in parameters - Customizable search box placeholder text
- Sidebar menu and button hidden if no menu is set
- Increased card height for screens wider than 2000px
- Font adjustment: Simplified Chinese uses YaHei, others use Heiti
- Updated
plugins.yml
- New sidebar interface design
- Added JS settings for Giscus
- Adjusted position of Utterances JS settings
- Added Utterances option settings
- Modified Giscus theme settings
- Multiple interface elements now have rounded designs
- Option to choose between rounded or square interface styles
- Added icons to album load buttons
- Enhanced hover effect on tag pages
- Adjusted sidebar hover effect
- Minor interface element tweaks
- Background image configuration no longer requires
url()
- Removed Messenger chat plugin
- Updated Facebook version number
- Added support for Hong Kong Traditional Chinese, Japanese, and Korean
- New copy API replaces the old one
- Added Umami analytics
- Umami now tracks visits/visitor count
- Increased transparency for Snackbar
- Article title shown under nav when fixed on article pages
Fix
- Fixed Prism.js highlighting issue with new Hexo version
- Fixed potential error when article tags are empty
- Corrected errors in mermaid diagrams
- Resolved console errors when menu is not set
- Fixed Algolia search results per page setting issue
- Resolved scrollbar issue in Algolia search results
- Corrected appearance of up/down buttons in scrollbars
- Fixed missing prefix in album remote links
- Corrected extra space in label tag plugin
- Resolved memory leak report in APlayer
- Fixed Artalk comment loading bug when lazyload is false
- Fixed gallery shaking bug
Improvements
- Optimized function calls under PJAX
- Overall code optimization
- Improved compatibility
- Enhanced Lighthouse scores
- Reduced unnecessary global variables when PJAX is off
- Optimized Waline import compatibility
- Improved page entry effects
- Optimized code block toolbar display logic
- Improved display of article title position on different screen widths
- Optimized tag color generation algorithm to avoid too dark or light colors
- Adjusted font color for Artalk and Waline in night mode to match the theme
- Adjusted Algolia search loading animation position to avoid line breaks
- Optimized handling when Algolia search results are empty
- Improved hover effect for series articles
- Optimized 404 page code
- Resolved window shaking issue when search and sidebar are opened
- Optimized code and performance of tabs tag plugin
- Improved image loading logic in gallery tag plugin within tabs
- Enhanced scrolling effect in the directory to keep the current title centered
- Adjusted gallery group display number for screens wider than 1024px
- Optimized background URL judgment
- Modified some terminology
- Optimized timeline tag style
- Improved SEO
- Enhanced latest comments in Artalk
All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.