Hexo v5.2.0 Release Notes
Release Date: 2020-09-17 // about 4 years ago-
๐ Changes
- perf(external_link): faster regexp @SukkaW [#4536]
- prioritise
http(s)://
over//
- prioritise
๐ feat: support 'disableNunjucks' in front-matter @curbengh [#4518]
- Enable this option to disable tag plugin
- Setting this option in front-matter will override the same option set by the renderer (e.g. hexo-renderer-marked)
---title: foodate: 2020-01-02 03:04:05disableNunjucks: true|false---
๐ fix: avoid escaping front-matter if unnecessary @curbengh [#4522]
- using variable (e.g.
{{ title }}
) with special characters no longer result in double-quote wrap
- using variable (e.g.
๐ fix: validate value of config.url @curbengh [#4520]
config.url
should starts with "http://" or "https://"
๐ fix(router): convert string to buffer in route stream @ppoffice [#4517]
- fix crash in
hexo generate --bail
- fix crash in
๐ fix(disableNunjucks): query both async and sync versions of renderer @curbengh [#4498]
disableNunjucks
option should now works reliably with synchronous renderer
๐ feat(load_plugin): ignore pkg name endswith theme name @SukkaW [#4497]
- An initial effort to support scoped package
Housekeeping
- perf(external_link): faster regexp @SukkaW [#4536]
Previous changes from v5.1.1
-
๐ Changes
๐ fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs disabled @curbengh [#4489]
- When both highlight.js and prismjs are disabled:
_config.ymlhighlight: enable: falseprismjsenable: false
- there was an issue that curly brackets
{ }
are escaped{ }
mistakenly in the backtick_code_block.js filter. The fix is to avoid running that filter when code highlight is disabled. - Some users disable Hexo's default code highlight as they prefer to their own method.