Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest hexo version, node 14.0.0 minimum required (fix #533) #539

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vincentfretin
Copy link
Contributor

This closes #533

The github version of hexo-renderer-marked we used was for this PR that was merged hexojs/hexo-renderer-marked#24 so latest version include the lowercase anchors.
sanitize and tables options are deprecated, sanitize was false, and tables is now included with gfm option, see
https://github.com/hexojs/hexo-renderer-marked/releases/tag/2.0.0

hexo-generator-feed I kept it to 1.2.0, I tested more recent version but got an error.
I tested the feed is correctly rendered when I go to http://localhost:4000/feed.xml

hexo-filter-github-emojis I pinned the version to 1.4.4. I didn't test more recent version.

All the other plugins are the latest version.

Reading https://hexo.io/docs/one-command-deployment#Git the deploy key is repo, not repository.

I read all the changelogs and README, I didn't see any other breaking change worth mentioning for our use here.

@vincentfretin
Copy link
Contributor Author

FYI I tested with node v22.3.0.

@vincentfretin
Copy link
Contributor Author

I guess we don't really use the hexo-deployer-git plugin, but custom commands, see
https://github.com/supermedium/a-frobot/blob/master/lib/deployAframeSite.js#L35-L38

@vincentfretin
Copy link
Contributor Author

I guess we wait to update the robot as well supermedium/a-frobot#2 before merging this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update version of the site generator hexo
1 participant