New
- Use bunyan for logging
- Execute external plugins/scripts in a sandbox.
- JSON renderer.
- Use abbrev for more convenient alias in command-line.
- Add
Hexo.init
for loading configurations, plugins and database. - Add 2 new list console:
page
,post
. - Add 5 new tag plugins:
asset_img
,asset_link
,asset_path
,post_link
,post_path
.
Changed
- Warehouse was updated to 1.0.
- Hexo only loads the plugins listed in
package.json
now. - Box uses checksum instead of modified date to compare files.
Filter.apply
was removed. UseFilter.exec
orFilter.execSync
instead.- Generator API was changed.
- Render posts with Swig after all source files are processed.
- Tag API was rewritten.
Removed
util.file
,util.file2
were removed. Use hexo-fs instead.util
module was separated into a module: hexo-utilserver
console was separated into a module: hexo-server- Built-in generator plugins are separated into modules:
- Built-in deployer plugins are also separated into modules:
exclude_generators
setting is removed.- The
alias
option of console plugin is removed. Because Hexo uses abbrev to generate alias automatically. Hexo.constant
is removed.Hexo.bootstrap
is removed.get_posts
helper is removed.