Releases: hexojs/hexo
3.3.9
3.3.8
New Features
- Disable Nunjucks when the renderer spcify that (#2593)
- Ignore files from processing that are not required. (#2631)
- Include og:locale (#2630)
Fixes
- Fix typo. Removed => Remove (#2609)
- Enable async tags to have more nested async tags (#2602)
- Update hexo-fs to version 0.2.0 (#2643)
Miscellaneous
- Add probot-stale configuration (#2640)
3.3.7
3.3.6
3.3.5
Fixes
- Revert "#2262 Post Sort Fix" Changes (#2526)
- Allow open_graph generates meta tag "keywords" by page.keywords, page.tags or config.keywords (#2535)
- Fix multiple config issue #2518 (#2520)
- Fix the issue "#2538 excerpt and more cam differ from content" (#2539)
- Fix error when tag.render
<code>(#2461) - Fix windows line end (version 3.3.1)
Miscellaneous
- Convert test js to es6 (#2488)
3.3.0
New features:
- Access data files from source folder #1969
- Support for multiple config files (#2210) #2211
- Support for npm scoped packages as plugins #2022
Fixes:
- Fix the wrong share link when the site is in subdirectory #1912
- Remove results attribute in search form #2001
- Add support for suffix in list_categorise & list_tags, fix #2021
- Increased unit test coverage #2205
- Fix the jsfiddle tag plugin warning under https #2086
- Fix not generated #2278
- Post sort fix #2262
- Fix css and js helper to prevent adding .css/.js when the path already has parameter #2274
- Fix issue og:url incorrect when site is put under subdirectory #942 #2348
- Replace new lines by spaces in description #2354
Miscellaneous:
3.2.2
3.2.1
3.2.0
Templates precompilation da241ac
Theme templates are precompiled if possible. It makes generation speed faster. The following renderers have already supported this feature.
And it's easy to implement precompilation for renderers. Just add a compile function to the renderer. Take EJS renderer for example:
var ejs = require('ejs');
var assign = require('object-assign');
function ejsRenderer(data, locals) {
return ejs.render(data.text, assign({filename: data.path}, locals));
}
ejsRenderer.compile = function(data) {
return ejs.compile(data.text, {
filename: data.path
});
};
module.exports = ejsRenderer;New
-
Allow specify plugin list in config #1670 f6407dc
If you set plugins list in
_config.yml. Hexo will not detect plugin list automatically.plugins: - my-plugin
-
open_graphhelper: Add support fortwitter:image#1681 e4a5204
Update
- Remove unneccessary refs to type attr in helper output snippets #1706 93fcdb5
- Remove commands which exist in hexo-cli f5c3b40
- Replace Swig in
post.createwith Nunjucks 35342cb
Fixed
- Fix test errors #1668 a8128cf
- Fix Swig parsing #1652 6b5fad0
- Support root path configure for img tag #1444 6bc0526
url_forhelper: Don't prepend root if url is started with##1708 ef6e15d- Ignore empty categories and tags in post model #1704 c6515ed
- Fix
skip_renderconfig doesn't work in asset generator 58971dc - Fix category when placed on root #1526 9aca27b
3.2.0-beta.2
Speed improvement
Cached rendered contents 9ba40f4
Rendered contents are cached in the warehouse. This saves a lot of time and made hot processing (2nd-time processing) much faster.
Lazy load language files of highlight.js hexojs/hexo-util@7f6469e
highlight.js is slow. Especially when it try to detect the language. Lazy load language files make processing faster and don't have to load bunch of unused language files. However there're some limitations:
- Auto detect must be disabled.
- You have to specify language in code block.
What can we do next?
Generation speed is slow so far. I'm still finding a way to solve it.
Include/exclude source files 8cca1f9
You can include/exclude specified source files in _config.yml.
include:
- .htaccess
exclude:
- tmp/**/*Other changes
- Add
first_lineoption to code block #1607 2af6676 - Fix special tag names #1599 7e1d351
- Set
scrolling="no"to make iframe responsive #1305 702d35d - Fix arguments with space analyze incorrectly in tag plugin #1581 7433af3
- Ignore
node_modulesfolder in theme folder #1316 4eaec8a - Merge config instead of extend 61941e7