Skip to content

Releases: hexojs/hexo

3.2.0-beta.1

19 Nov 08:50

Choose a tag to compare

3.2.0-beta.1 Pre-release
Pre-release

New

Update

  • Update hexo-util to 0.2.1 4ba5697
  • Replace SHA1 with xxHash for faster hash. It's optional if your computer can't install xxHash 2576f8a
  • Lazy load file hash 06c33e0
    • Load file hash only if the file is new or the modified time is changed
    • Don't render files twice in hexo generate command. Try to calculate file hash from generated files.
  • Update warehouse to 2.0.0 e9327a4
    • Replace queue with r/w lock
  • Detect the current category or tag in is_category/is_tag helper. #1278 8735bfe

Fixed

3.1.1

20 May 11:18

Choose a tag to compare

New

  • Add option to disable highlight auto-detect. #1227 eaa0ed5

3.1.0

20 May 11:15

Choose a tag to compare

You have to update hexo-generator-index to 0.1.2 in order to support the new is_home helper.

$ npm install hexo-generator-index@0.1.2 --save

New

  • Add data.onRenderEnd field to render() and renderSync(). #1182 c132017
  • Use -f or --force when hexo generate to force regeneration. #1233 5d5092c
  • list_categories: option to add a css-class that there are child-categories #1246 57596a9
  • Add :name to the list of permalink filters. #1247 63bacf2
  • Add option to indicate current category with class name current #1248 eff1429
  • Add new permalink param: post_title. #1258 d531c10
  • Add separator option to tag cloud helper. #1252 a3c624e

Fixed

  • Fix search to use sitesearch param instead of two q params. #1186 2ad148c
  • Fix the problem that occurs when every tag has the same number of posts. #1202 56bfc43
  • More strictly check for category duplicaton and tag duplication. #1204 64fdc3a
  • Fix infinite loop in hexo help command. #1209 4fa9d91
  • Image should have alt, title is optional. #1226 7cc20e4
  • Fix backtick_code_block for ignore tab character. #1229 1a16481
  • Preserve non-null data in drafts. #1139 245f4af
  • Fix for relative url ..//. #1251 f4270c4
  • relative_url helper: replace trailing slash with index.html. 03077e7
  • Simplify is_home and is_post helper. Add is_page helper. 62f521b
  • Fix is_current throws error when no path is given. fe41b43
  • Make og:image URL always a full URL. a567c48

3.0.1

06 Apr 13:24

Choose a tag to compare

New

Fixed

3.0.0

05 Mar 04:40

Choose a tag to compare

New

  • Add relative option to url_for helper. 4667533

Update

  • Cast theme setting to a string. 9dbf413
  • Fixed relative_url helper. 348cdf8
  • Remove trailing line breaks in css, js helper. 6149999
  • Fixed wrong url in Hexo._generate. 271a6db
  • Use timezone setting in page/post processor. 65572df

3.0.0-rc.4

14 Feb 07:39

Choose a tag to compare

3.0.0-rc.4 Pre-release
Pre-release

New

Update

  • Add alias for strip_html, word_wrap helpers. hexojs/hexo-util#1
  • Fixed new assets are flag as not modified. #1041
  • Default to using ISO-8601 date format. #1044
  • generate: write file if the target does not exist.
  • Use async API in include_code tag.
  • Add timezone support to date, time, time_tag, full_date helper.
  • Add locale, timezone support to list_archives helper.

3.0.0-rc.3

08 Feb 09:15

Choose a tag to compare

3.0.0-rc.3 Pre-release
Pre-release

New

  • Detect Hexo site by checking whether package.json contains Hexo data or not. #1029

    {
      "hexo": {
        "version": "3.0.0-rc.3"
      }
    }

Update

  • Escape braces in code block in order to avoid rendering errors.
  • Wrap placeholders with <!-- --> so marked won't generate <p> tags
  • Escape Swig tags after before_post_render filters are executed
  • Don't add raw tags automatically. It may cause more problems.
  • Respect canonical_path in is_home helper
  • Fixed paginator helper #1023
  • Save cache for hexo.locals.
  • Process files in series to solve sync problem. #1035
  • Don't save buffer cache to avoid memory waste.
  • Fixed rename folder event is not handled

3.0.0-rc.2

31 Jan 07:13

Choose a tag to compare

3.0.0-rc.2 Pre-release
Pre-release

New

  • post.render: wrap variables with raw block automatically Removed in 3.0.0-rc.3

Updated

  • Fixed categories/tags are not removed after changed
  • Fixed is_home helper #1020
  • Escape Windows line ending (\r\n). #1019

3.0.0-rc.1

29 Jan 17:36

Choose a tag to compare

3.0.0-rc.1 Pre-release
Pre-release

New

  • Add hexo list tag command.
  • Use update-notifier to check updates. Removed in 3.0.0-rc.4
  • Add local data support
  • Detect whether a folder is Hexo site by package.json, not _config.yml, which means your site must contains a package.json and name must be hexo-site.
  • Add JSON support to hexo config command.
  • Compare shasum of generated files and only regenerate if files are changed.
  • Add skip_render setting.
  • Add support for async tag. (In post.render method, Swig was replaced with Nunjucks, which may have different behaviors.) #1009

Update

  • Decrease startup time by deferring loading of highlight.js and cheerio.
  • Fixed open_graph helper polluting context.
  • hexo-util updated to 0.1.1: fixed slugize method removes non-English characters.
  • Fixed extension name such as jquery.min.js are removed.
  • Fixed hexo generate doesn't watch for remove event

3.0.0-beta.4

25 Jan 06:23

Choose a tag to compare

3.0.0-beta.4 Pre-release
Pre-release

New

  • Added CSS, JS renderers
  • Added Filter.unregister method
  • Added after_render:<ext> filter

Updated

  • Respect front-matter style in scaffolds. #993
  • Fixed hexo._generate() throwing error when generators returns nothing. #1000
  • Fixed duplicated tags. #1004