hexojs / hexo

A fast, simple & powerful blog framework, powered by Node.js.
https://hexo.io
MIT License
39.48k stars 4.86k forks source link

Hexo 5.0.0 Roadmap #4002

Closed SukkaW closed 4 years ago

SukkaW commented 4 years ago

Node.js 8 will meets EOL in about a week: https://nodejs.org/en/about/releases/

We will soon begin to prepare for next major version of Hexo. It is also a chance to bring more Breaking Changes and new features. Hopefully we could finish this before Node.js 10 starts its Maintenance LTS (2020-04-01).

cc @hexojs/core

SukkaW commented 4 years ago

For performance matters, we should address this only after Node.js 8 is dropped.

curbengh commented 4 years ago

Remove some helpers

Any reason behind the removal? I know favicon_tag is impractical due to lack of modern standard among browsers.

SukkaW commented 4 years ago

@curbengh

For favicon_tag & mail_to, add <link rel="shortcut icon" href="<% url_for('favicon.ico') %>"> and <a href="mailto:">Email</a> will be efficient enough.

And feed_tag should be integrated in hexo-generator-feed: https://github.com/hexojs/hexo-generator-feed/issues/120

noraj commented 4 years ago

the {{ nunjunks interpretation problem is a real pain when you try to write technical content, please see https://github.com/hexojs/hexo/issues/3259, it is so essential to be part of 5.0.0

noraj commented 4 years ago

The page tags support is a problem since 2015, so making it happen for 5.0.0 seems like the right time https://github.com/hexojs/hexo/issues/1067#issuecomment-570943547

curbengh commented 4 years ago

Please limit the discussion to incoming breaking changes. I've pinned those issues in https://github.com/hexojs/hexo/issues/2492. If someone can figure out, the fixes can even be part of minor/patch release.

stevenjoezhang commented 4 years ago

Many features planned to be added to version 5.0 are difficult to complete in a short time. Maybe a new minor version (e.g. 4.3.0) is needed before this to solve Node.js 14 compatibility issues.

Update: v4.2.1 released https://github.com/hexojs/hexo/releases/tag/4.2.1

fudanglp commented 4 years ago

swig project is inactive and security related issue will not be addressed. any plan to remove it?

SukkaW commented 4 years ago

@fudanglp Swig is already removed by @oncletom in previous commits and will be included in hexo@5.