chore(deps): update dependency hexo to v4 #63
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.9.0
->4.1.1
Release Notes
hexojs/hexo
v4.1.1
Compare Source
Feature
trailing_html:
topretty_urls:
option to remove ".html" from url [#3917]https://yoursite.com/page/about.html
->https://yoursite.com/page/about
Fixes
og:locale
Open Graph tag [#3921]og:locale
was inserted only iflanguage:
is configured in "language-TERRITORY" formatog:locale
will default to "en_US". Refer to the pull request for the full list.meta_generator()
helper should output the correct Hexo version [#3925]permalink_defaults:
option should be parsed, not replaced [#3926]Refactor
v4.1.0
Compare Source
Breaking change
og:locale
Open Graph tag won't be inserted iflanguage:
(in config, front-matter of post/page oropen_graph()
helper) is not inlanguage-TERRITORY
format [#3808]en
is invaliden-GB
is validen-AU
is not valid), see official listog:locale
languages/
folder of installed theme before changing thelanguage:
configFeatures
Support adding hour and minute to post permalink [#3629]
https://yoursite.com/2019/12/09/23/59/a-post/
Insert
article:published_time
[#3674]article:author
[#3805] Open Graph tagsEnable
lazyload
in iframe-related tag plugins [#3798]iframe
,jsfiddle
,vimeo
,youtube
tag pluginsmeta_generator
helper to insert metadata element tag [#3782]<head>
element of your theme layout,<meta name="generator" content="Hexo 4.1.0">
meta_generator
helper),meta_generator:
option should be disabled,Support custom attributes in
js()
[#3681] andcss()
[#3690] helpersSupport
wrap:
option to enable/disable wrapping backtick codeblock in<table>
element [#3827]line_number
also enables ithighlight:
codeblock()
tag plugin [#3848]Fixes
og_updated_time
Open Graph tag witharticle:modified_time
[#3674]keywords
Open Graph tag witharticle:tag
[#3805]<head>
that spans multiple lines [#3778]db.json
when runninghexo new
orhexo --help
[#3793]ignore:
option [#3797]node_modules
folder could cause some issuesexternal_link
filter should not process data URLs (e.g.mailto:
&javascript:
) [#3812] and<article>
element [#3895]-p
is alias of--path
-s
is alias of--slug
-r
is alias of--replace
include:
andexclude:
options to post's asset folder [#3882]ignore:
option should work for files, in addition to folders [#3878]Housekeeping
v4.0.0
Compare Source
Breaking change
asset_link
,post_link
tag pluginsfalse
to the final argument{% asset_link 'filename 'title' 'false' %}
encodeURI(post.permalink)
(includingpermalink
of page, tag & category variables), there are three options:encodeURI(decodeURI(post.permalink))
for backward-compatibility with hexo v3.9 (and older)encodeURL()
function provided by hexo-util, it is backward-compatibleencodeURI()
function, this breaks backward-compatibilitydecodeURI(post.permalink)
decodeURL()
of hexo-util can decode punycoded domain.this.url
variable.escape
option for compatibility with hexo-util@1.3.0 #3728prev_text
/next_text
with html (e.g. to insert icons), you need to setescape: false
in the parameter.Feature
feat(filter): use existing excerpt if possible #3612
excerpt:
in front-matterswitch minimatch to micromatch #3538
feat: add option to disable meta generator tag #3653
meta_generator: false
to config to disablefeat(generator): allow limit parallel generation #3665
hexo g --concurrency <number>
Option to use date instead of file mtime for updated date #3235
post.updated
variable, setuse_date_for_updated: true
in configfeat(list_tags): add Schema "keywords" and Microdata "tag" #3678
feat(permalink_variable): add pretty_urls option to remove index.html from url #3691
index.html
frompermalink
variablesthis.url
variable (see #3661).feat: add
full_url_for
helper #3701full_url_for(page.path)
instead ofconfig.url + page.path
fix: external_link should use after_render #3675
field
andexclude
options, see #3675 for guide.Performance
Fix
Dependency
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
Newsflash: Renovate has joined WhiteSource, and is now free for all use. Learn more or view updated terms and privacy policies.
This change is![Reviewable](https://camo.githubusercontent.com/23b05f5fb48215c989e92cc44cf6512512d083132bd3daf689867c8d9d386888/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)