Releases: hexojs/hexo
Releases · hexojs/hexo
2.8.3
New
Fixed
2.8.2
New
- Allow theme config to be overridden by site config #757
Updated
- Auto spacing filter is separated as a repository: hexo-filter-auto-spacing
Fixed
- Listen to
localhost
by default #754 - Fix
scaffold.set
,scaffold.remove
post.publish
doesn't take slug and layout parameter. #749config.logger_format
is not defined #746- Strip the last slash of
config.url
and append a slash toconfig.root
- Asset copy issue when publishing drafts
- Multiple deployment of github, heroku deployer #681
2.8.1
New
- Use strip-indent
- Make Swig capable for Warehouse query instance
- Add
amount
option to list_tags helper #724
Fixed
2.8.0
New
- Find Hexo folder recursively
- rsync: Add "verbose" and "ignore_errors" option
- Save entire database to db.json and simplify database structure
- Better error messaging #674
- Display elapsed time of each file on generating.
- yamljs was replaced with js-yaml
- Draft publish #677
-
Now you don't have to enter full file name of post.
-
You can choose which layout to apply when publishing.
$ hexo publish [layout] <filename>
-
- Permalink #649
-
File name and permalink share a more universal variable system now.
-
This feature can be used for multi-language website. For example:
new_post_name: :lang/:title.md permalink: :lang/:title/
-
Removed
- Multi-process generating is removed since it doesn't affect generating speed a lot.
max_open_file
andmulti_thread
setting is deprecated.
Fixed
- Line breaks in code block #687
- TOC helper didn't have a close tag #676
- Generated files are not changed even if source files is modified #678
- Allow HEAD request in server
- Catch server exceptions
API Changes
Box.process
is rewriteen. New data typeskip
is added for developers to detect whether the file is changed.- Add
util.permalink
: permalink parser - Add
relative_url
helper - YAML front-matter parser is separated to hexojs/front-matter repository.
- Add
post.publish
. extend.generator.register
: Addname
parameter.
2.7.1
2.7.0
2.6.3
2.6.2
2.6.1
Updates
- Add rel="prev/next" for links in paginator #638
- open_graph helper: allow multiple images
- Replace Express with Connect #532
Fixed
- util.yfm: fix parsing bug with inline separator #636
- post.create: wrap title with quotations #636
- auto_spacing filter: use pangunode instead #631
- Refactor external_link filter with cheerio
- Escape slugs for tags and categories, honor filename_case setting. #644
- util.escape.filename: don't change filename to lowercase by default #644
2.6.0
Highlight
EJS, Stylus, Marked not built-in anymore #620
EJS, Stylus, Marked renderer plugins are removed from the core module. You have to install them manually.
$ npm install hexo-renderer-ejs --save
$ npm install hexo-renderer-stylus --save
$ npm install hexo-renderer-marked --save
Fixed
- Code block indentations
- util.highlight: add
csharp
alias for C# #606