github hexojs/hexo 3.0.0-beta.3

latest releases: v7.3.0, v7.2.0, v7.1.1...
pre-release9 years ago

New

  • hexo.render: Add toString option.
  • Add hexo.execFilter as an alias of hexo.extend.filter.exec.
  • Add hexo.execFilterSync as an alias of hexo.extend.filter.execSync.
  • Add before_generate filters: Run before generation started
  • Add after_generate filters`: Run after generation done

Updated

  • hexo.route: Stringify JSON object in stream.
  • hexo.route: Return streams in object mode.
  • Set layou to false if the output extension is not htm/html by default.
  • Fixed cli/init.js throws nothing even if the command is success.
  • hexo.post.render: Fixed Swig blocks with arguments are not processed.
  • Improve i18n template_locals filter: Detect whether or not a language is loaded and set page.canonical_path for canonical path of a page.
  • Add modified field to Cache model. Rename checksum to shasum.
  • Update the default dependencies: hexo-renderer-marked: ^0.2.0, hexo-renderer-stylus: ^0.2.0.
  • Move post rendering process to before_generate filters.
  • Render Swig tags in hexo.post.render.
  • Modified the output of hexo list post/page command.
  • Parse special date format in source files and fallback to file stats if the date is invalid.
  • Hide file loaded message in the console. (Unless you run in debug mode.)

Don't miss a new hexo release

NewReleases is sending notifications on new releases.