Skip to content

Releases: hexojs/hexo

2.5.7

10 May 14:32
Compare
Choose a tag to compare

Fixed

2.5.6

27 Apr 16:48
Compare
Choose a tag to compare

API Changes

  • post.create: Allow more data options
  • util.yfm: Process null value and Date value in stringify method

2.5.5

27 Apr 05:47
Compare
Choose a tag to compare

API Changes

  • post.create: Add data.content option

2.5.4

26 Apr 15:30
Compare
Choose a tag to compare

New

  • Switch to Gulp #599
  • Drop support for Node.js 0.8

Fixed

  • Deployer load failed #594
  • Escape diacritics in file name #597

2.5.3

15 Apr 14:07
Compare
Choose a tag to compare

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 in open_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

2.5.2

16 Mar 02:41
Compare
Choose a tag to compare

Fixed

  • Box._dispatch, Theme.getView not works on Windows because Windows uses backslashes #534

2.5.0

14 Mar 13:30
Compare
Choose a tag to compare

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 with path parameter.

    hexo.on('processAfter', function(path){
      // ...
    });
  • Add options argument to tag plugins.

    hexo.extend.tag.register('tag', function(args, content, options){
      // ...
    });

2.4.5

14 Jan 08:21
Compare
Choose a tag to compare

New

  • Add global option --config to override default path of config file. #436

Fixed

  • Fix new event not emitted #432
  • Remove language prefix of code blocks #438
  • Remove prefixing and trailing line breaks in code blocks #443
  • Fix dots escaped in the arguments of tag plugins #444

2.4.4

14 Jan 08:22
Compare
Choose a tag to compare

Fixed

  • Remove class prefix in highlight.js 8.0 #434

2.4.3

11 Jan 05:05
Compare
Choose a tag to compare

Fixed

  • Fix list_archives helper #421
  • Fix github deployer #426
  • Fix useless <br> tags in markdown #422
  • Add Google Analytics back in Landscape #429