Skip to content

Releases: hexojs/hexo

2.4.1

29 Dec 13:04
Compare
Choose a tag to compare

New

  • Add TOC (Table of contents) helper #408

Fixed

  • Fix hexo init. #409

2.4.0

28 Dec 15:55
Compare
Choose a tag to compare

Highlight

New default theme: Landscape

Landscape is a brand new default theme for Hexo. It uses lots of new features introduced in Hexo 2.x so it requires Hexo 2.4.

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

Theme unit test

It's recommended that a new theme should pass the theme unit test before released. For more info: hexo-theme-unit-test

API docs

Hexo eventually has a API documentations. It still needs to be tuned. But I promise it'll be released in January.

Plugins are updated

hexo-generator-feed and hexo-generator-sitemap are both updated and become more customizable.

New

  • Theme script #364: Load scripts in theme folder
  • Add --silent option
  • hexo new
    • Add option -p, --path: Customize the path of the post
    • Add option -s, --slug: Customize the URL of the post
  • Theme configuration watch
  • Expose theme configuration to stylus files
  • Add open_graph helper

Update

  • Replace mikeal/watch with paulmillr/chokidar for better source watch
  • If a post has link but doesn't have a title, use link as title.
  • Modify class name of list_categories helper.
  • Modify layout order of post/page layout.
    • Post: User selected -> post -> page -> index
    • Page: User selected -> page -> post -> index
  • Update dependencies

API Changes

  • New API: hexo.theme, hexo.source, hexo.scaffold
  • API moved: hexo.process -> hexo.source.process
  • Add hexo.util.file2.watch for file watching
  • Add hexo.util.format
  • Add hexo.util.inflector. Now hexo.util.titlecase is an alias of hexo.util.inflector.titleize.
  • Modify hexo.Model API.
  • Add photos and link properties to post model.
  • Swig extend is removed.

Fixed

  • Fix hexo.source.process ignore delete event
  • Fix generate watch bug #400
  • Fix list_archives helper
  • Fix github/heroku deployer
  • Fix highlight can't be disabled #398

2.3.0

26 Oct 15:20
Compare
Choose a tag to compare

New

Better draft management (#331, #340)

  • Add draft scaffold
  • Not set the date for drafts
  • Add -d, --drafts option to hexo server: In this mode, drafts will be serve as normal posts. You can also change the setting render_drafts in _config.yml.
  • Add publish command: Move your draft from _drafts folder to _posts folder and set the date for posts.

Updated

Fixed

  • Better exception handle when a console plugin is only for the initialized environment

2.2.1

26 Oct 14:59
Compare
Choose a tag to compare

Fixed

  • Render console (#314)
  • Protocol-aware Youtube/Vimeo video URL (#322, #323)

2.2.0

21 Sep 07:59
Compare
Choose a tag to compare

New

  • Added --json option for hexo list route
  • Colorized tag cloud

Fixed

  • Refactor tag cloud (#310)
  • Prev link of paginator helper
  • Modified class name of list_archive helper
  • Cache problem

2.1.1

14 Sep 14:33
Compare
Choose a tag to compare

Fixed

  • Respect titlecase settings in block quote tag (#303)
  • new event wasn't emitted (#306)
  • Post slug bug (#304)
  • Old public files were not deleted
  • Model schema bug (#302)
  • Tag cloud sometimes was not ordered by options.orderby. (#308)

2.1.0

08 Sep 10:05
Compare
Choose a tag to compare

Updated

  • Modified input type of search form helper to search.
  • Brings back list helper. Added more options for list helper.

Fixed

  • Paginator helper.

2.0.7

07 Sep 01:49
Compare
Choose a tag to compare

Fixed

  • Heroku deployment (#292)
  • index, archive layout populate bug (#293)

Removed

  • height, width attributes of youtube/vimeo tag plugin (#296)

2.0.6

29 Aug 19:59
Compare
Choose a tag to compare

Fixed

  • Renamed raw tag to rawblock tag. Fixed Facebook embedded post. (#274)

2.0.5

28 Aug 17:08
Compare
Choose a tag to compare

Fixed

  • Tag cloud helper (#288)