github hexojs/hexo 5.2.0

latest releases: v7.3.0, v7.2.0, v7.1.1...
4 years ago

Changes

  • perf(external_link): faster regexp @SukkaW [#4536]
    • prioritise http(s):// over //
  • feat: support 'disableNunjucks' in front-matter @curbengh [#4518]
    • Enable this option to disable tag plugin
    • Setting this option in front-matter will override the same option set by the renderer (e.g. hexo-renderer-marked)
    ---
    title: foo
    date: 2020-01-02 03:04:05
    disableNunjucks: true|false
    ---
  • fix: avoid escaping front-matter if unnecessary @curbengh [#4522]
    • using variable (e.g. {{ title }}) with special characters no longer result in double-quote wrap
  • fix: validate value of config.url @curbengh [#4520]
    • config.url should starts with "http://" or "https://"
  • fix(router): convert string to buffer in route stream @ppoffice [#4517]
    • fix crash in hexo generate --bail
  • fix(disableNunjucks): query both async and sync versions of renderer @curbengh [#4498]
    • disableNunjucks option should now works reliably with synchronous renderer
  • feat(load_plugin): ignore pkg name endswith theme name @SukkaW [#4497]
    • An initial effort to support scoped package

Housekeeping

  • chore/ci: move benchmark & profiling to Actions @SukkaW [#4525] [#4514] [#4335]
    • Travis is now completely replaced by Actions (in this repo)
  • chore: use example.com for example domain @yoshinorin [#4512]

Don't miss a new hexo release

NewReleases is sending notifications on new releases.