Releases: hexojs/hexo
2.5.7
2.5.6
2.5.5
2.5.4
2.5.3
New
-
Customize commit message #312 (for github, heroku, git deployer)
You can customize commit messages in shell
$ hexo d -m "Commit message"
or in
_config.yml
.deploy: type: github repo: ... message: Commit message
-
Support include css in stylus #542
Fixed
- Nested tag plugins #531
- Catch all errors in processors #535
- Strip HTML tags in header #576
- Fix default value of
og:description
inopen_graph
helper #578 - Remove final new line in
include_code
tag #575 - Fix
list_posts
helper #561 - Escape special characters in the title when creating a new post #539
API Changes
-
Tag plugin: Add escape option. You can choose whether to escape contents inside a tag now. This option is enabled by default. #529
hexo.extend.tag.register('tag', function(){ // ... }, {escape: true});
-
Refactor
util.yfm
#535 -
Add
util.escape.regex
-
Modified
open_graph
helper- Change
<meta name>
to<meta property>
- Add
fb_app_id
option
- Change
2.5.2
2.5.0
The site has been moved to hexo.io!
We need a logo for Hexo! #499
New
-
Add
i_month
,i_day
parameters to the permalink, and you can use any attribute in permalink now. -
Git deployer #452
-
Customizable IP address #469
-
New helpers: list_posts, get_posts #467
-
Add stylus settings
stylus: compress: false
-
Hexo can be run programmatically now, which means you can run Hexo with Forever or PM2. See here for more info.
-
Add
deployBefore
,deployAfter
events #510 -
Optimize generating speed by preloading all views.
Fixed
- Categories were not paginated #446
- Fix page processor #453
- Fix tests can't be run #423
- Fix
list_categories
helper #427 - Fix Swig renderer can't use
include
helper #483 - Throw exceptions when a theme is not found.
- Display warnings when layouts or partials are not found.
- Generate absolute link for
include_code
tag plugin #519
API Changes
-
Box class #482
-
Refactor i18n module
-
Refactor source, theme module. Separate theme processors.
-
Add
hexo.theme.getView(path)
function -
Deployer settings will be passed into each deployer now. You can get the settings from
args
.hexo.extend.deployer.register('github', function(args, callback){ // ... ));
-
Invoke
processBefore
,processAfter
event withpath
parameter.hexo.on('processAfter', function(path){ // ... });
-
Add
options
argument to tag plugins.hexo.extend.tag.register('tag', function(args, content, options){ // ... });