Skip to content

Releases: hexojs/hexo

2.8.3

06 Sep 14:41
Compare
Choose a tag to compare

New

  • Added a transform function to list helper functions #827
  • Add tail / to archive links #809

Fixed

  • OpenShift deployment issue #770
  • Fix double // link when config.root is not / #805
  • Change moment.lang() to moment.locale() #822
  • Escape all symbols in file name and path. Remove tail - in file name. #808
  • Fix tests #803

2.8.2

03 Aug 06:31
Compare
Choose a tag to compare

New

  • Allow theme config to be overridden by site config #757

Updated

Fixed

  • Listen to localhost by default #754
  • Fix scaffold.set, scaffold.remove
  • post.publish doesn't take slug and layout parameter. #749
  • config.logger_format is not defined #746
  • Strip the last slash of config.url and append a slash to config.root
  • Asset copy issue when publishing drafts
  • Multiple deployment of github, heroku deployer #681

2.8.1

23 Jul 14:55
Compare
Choose a tag to compare

New

  • Use strip-indent
  • Make Swig capable for Warehouse query instance
  • Add amount option to list_tags helper #724

Fixed

  • Fix post processor #740
  • Fix deploy console #737
  • Fix grammar error in output of hexo init #735
  • Fix open_graph helper #733
  • Fix date parsing bug of YAML front-matter #728 hexojs/hexo-front-matter#1
  • Fix Theme.getView
  • Fix backtick code block #706
  • Fix theme view processor

2.8.0

13 Jul 14:38
Compare
Choose a tag to compare

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 and multi_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 type skip 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: Add name parameter.

2.7.1

14 Jun 17:08
Compare
Choose a tag to compare

Update

  • Update dependencies
  • Update theme

2.7.0

14 Jun 01:02
Compare
Choose a tag to compare

Landscape is also updated for this release. Clone or pull the repository to update it.

$ git clone https://github.com/tommy351/hexo-theme-landscape.git themes/landscape

New

  • Fragment caching #637
  • New filter type: server_middleware #665
  • Relative link #651

Fixed

  • Handling static file requests containing query string #672

2.6.3

09 Jun 06:40
Compare
Choose a tag to compare

Fixed

  • Backtick code block: Don't remove non-space indentations
  • external_link filter: Disable decodeEntities option of cheerio #666
  • post.create: Don't render scaffold content with Swig #661

2.6.2

06 Jun 16:43
Compare
Choose a tag to compare

Fixed

  • Files can't be processed after an error occurred
  • HTML is encoded into XML entities #657
  • YAML front-matter parsing error #659

2.6.1

31 May 05:46
Compare
Choose a tag to compare

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

18 May 10:03
Compare
Choose a tag to compare

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

API Changes

  • Refactor Scaffold API with Box #624
  • More powerful filter API #617
  • open_graph helper: add twitter_site option