Skip to content

Releases: hexojs/hexo-server

3.0.0

03 Jan 01:31
0ffb748
Compare
Choose a tag to compare

Breaking Changes

Fixes

  • fix: send correct MIME for rss file @XieJiSS (#145)
  • Check if header has already been set @9662 (#49)

Performance

Refactor

  • refactor: use the WHATWG URL API instead of url.format @yoshinorin (#193)

Changes

Dependencies

New Contributors

Full Changelog: 2.0.0...3.0.0

2.0.0

09 Aug 08:36
5693469
Compare
Choose a tag to compare

Breaking change

Feature

  • feat: support page with trailing '.html' @curbengh [#111]
    • When a page is available on http://yoursite.com/about.html, browsing http://yoursite.com/about will be served with "about.html" page.
    • When pretty_urls is used,
    pretty_urls: 
      trailing_index: false # defaults to true
    • Browsing http://yoursite.com/about.html will 301-redirect to http://yoursite.com/about.
    pretty_urls: 
      trailing_html: false # defaults to true
    • Browsing http://yoursite.com/2020/01/02/foo/index.html will 301-redirect to http://yoursite.com/2020/01/02/foo/.
    • This ensure a page only has one canonical permalink.

Changes

Dependencies

  • chore(deps-dev): bump hexo from 3.9.0 to 5.0.0 [#104] [#139]
  • chore(deps-dev): bump mocha from 6.2.2 to 8.0.1 [#126] [#135]
  • chore(deps-dev): bump eslint from 6.8.0 to 7.0.0 (#133)
  • chore(deps-dev): bump hexo-fs from 2.0.0 to 3.0.1 (#129)
  • chore(deps-dev): bump sinon from 7.5.0 to 9.0.2 (#128)
  • chore(deps): bump chalk from 2.4.2 to 4.0.0 [#105] [#127]
  • chore(deps-dev): bump mocha from 6.2.2 to 7.1.1 (#126)
  • chore(deps-dev): bump uuid from 3.4.0 to 8.0.0 @SukkaW [#122] [#132]
  • chore(deps-dev): bump nyc from 14.1.1 to 15.0.0 (#108)
  • Bump eslint-config-hexo from 3.0.0 to 4.0.0 (#106)
  • Bump open from 6.4.0 to 7.0.0 (#103)

1.0.0

07 Sep 07:27
fc02932
Compare
Choose a tag to compare

Breaking change

  • Drop node 6 (#87)

Refactor

  • Refactor: es2016nify (#68)
  • refactor: Test refactor es2016 (#67)

Housekeeping

  • Move jscs to eslint (#65)

0.3.1

24 Dec 15:23
Compare
Choose a tag to compare

Fixes

  • Fix default server config to listen on both IPv4 and IPv6. (#41)

0.3.0

18 Dec 22:57
f1f2c28
Compare
Choose a tag to compare

Features

  • serveStatic option pass-through #36
  • Serve on all interfaces by default #39

0.2.2

27 Jul 14:53
Compare
Choose a tag to compare

Fixes

  • Fix the fs.SyncWriteStream is deprecated warning.

0.2.1

06 Jun 13:41
Compare
Choose a tag to compare

Fixes

  • Fix the type error: The header content contains invalid characters #25