Releases: hexojs/hexo
Releases · hexojs/hexo
3.2.0-beta.1
New
- Add
relative_datehelper #1350 7278da6 - Add
loghelper #1391 b1faffd - Add
categorytohexo listcommand #1480 24b4c65 - Override
line_number,highlightsetting at the code block level #1538 34f8cb3 - Add abbrev. support to
hexo listcommand 40ccecb
Update
- Update hexo-util to 0.2.1 4ba5697
- Disable auto detect by default
- Fix highlight broken for multi-line strings hexojs/hexo-util#4
- Fix short strings handling in truncate function hexojs/hexo-util#5
- Replace SHA1 with xxHash for faster hash. It's optional if your computer can't install xxHash 2576f8a
- Lazy load file hash 06c33e0
- Load file hash only if the file is new or the modified time is changed
- Don't render files twice in
hexo generatecommand. Try to calculate file hash from generated files.
- Update warehouse to 2.0.0 e9327a4
- Replace queue with r/w lock
- Detect the current category or tag in
is_category/is_taghelper. #1278 8735bfe
Fixed
- Fix
url_forhelper does not allow specifying the root of the site if the site is in a subfolder. #1105 #1345 5c46552 - Prepend root path in
url_forhelper #1105 #1406 14d2b9b - Modify
tag_idtocategory_idin post model #1512 b4172d6 - Fix
excerptfilter #1451 #1519 85fccb6 - Fix default value of date attribute in post processor #1523 d64b907
- Fix
relative_urlhelper #1524 c3ba3f6 - Correct tag trimming #1539 cd0d987
- Use HTTPS in
gravatarhelper #1561 1a84bbe - Fix HTML issue with RSS/Atom feeds: rel="alternate" #1572 f7b204d
3.1.1
3.1.0
You have to update hexo-generator-index to 0.1.2 in order to support the new is_home helper.
$ npm install hexo-generator-index@0.1.2 --saveNew
- Add
data.onRenderEndfield torender()andrenderSync(). #1182 c132017 - Use
-for--forcewhenhexo generateto force regeneration. #1233 5d5092c - list_categories: option to add a css-class that there are child-categories #1246 57596a9
- Add
:nameto the list of permalink filters. #1247 63bacf2 - Add option to indicate current category with class name
current#1248 eff1429 - Add new permalink param:
post_title. #1258 d531c10 - Add
separatoroption to tag cloud helper. #1252 a3c624e
Fixed
- Fix search to use
sitesearchparam instead of twoqparams. #1186 2ad148c - Fix the problem that occurs when every tag has the same number of posts. #1202 56bfc43
- More strictly check for category duplicaton and tag duplication. #1204 64fdc3a
- Fix infinite loop in
hexo helpcommand. #1209 4fa9d91 - Image should have alt, title is optional. #1226 7cc20e4
- Fix backtick_code_block for ignore tab character. #1229 1a16481
- Preserve non-null data in drafts. #1139 245f4af
- Fix for relative url
..//. #1251 f4270c4 - relative_url helper: replace trailing slash with
index.html. 03077e7 - Simplify
is_homeandis_posthelper. Addis_pagehelper. 62f521b - Fix is_current throws error when no path is given. fe41b43
- Make og:image URL always a full URL. a567c48
3.0.1
3.0.0
3.0.0-rc.4
New
Update
- Add alias for
strip_html,word_wraphelpers. hexojs/hexo-util#1 - Fixed new assets are flag as not modified. #1041
- Default to using ISO-8601 date format. #1044
- generate: write file if the target does not exist.
- Use async API in
include_codetag. - Add timezone support to
date,time,time_tag,full_datehelper. - Add locale, timezone support to
list_archiveshelper.
3.0.0-rc.3
New
-
Detect Hexo site by checking whether
package.jsoncontains Hexo data or not. #1029{ "hexo": { "version": "3.0.0-rc.3" } }
Update
- Escape braces in code block in order to avoid rendering errors.
- Wrap placeholders with
<!-- -->so marked won't generate<p>tags - Escape Swig tags after before_post_render filters are executed
- Don't add raw tags automatically. It may cause more problems.
- Respect canonical_path in is_home helper
- Fixed paginator helper #1023
- Save cache for
hexo.locals. - Process files in series to solve sync problem. #1035
- Don't save buffer cache to avoid memory waste.
- Fixed rename folder event is not handled
3.0.0-rc.2
3.0.0-rc.1
New
- Add
hexo list tagcommand. Use update-notifier to check updates.Removed in 3.0.0-rc.4- Add local data support
- Detect whether a folder is Hexo site by
package.json, not_config.yml, which means your site must contains apackage.jsonandnamemust behexo-site. - Add JSON support to
hexo configcommand. - Compare shasum of generated files and only regenerate if files are changed.
- Add
skip_rendersetting. - Add support for async tag. (In
post.rendermethod, Swig was replaced with Nunjucks, which may have different behaviors.) #1009
Update
- Decrease startup time by deferring loading of highlight.js and cheerio.
- Fixed
open_graphhelper polluting context. hexo-utilupdated to 0.1.1: fixedslugizemethod removes non-English characters.- Fixed extension name such as
jquery.min.jsare removed. - Fixed
hexo generatedoesn't watch forremoveevent