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 dependency hexo to v5.1.1 #85

Merged
merged 1 commit into from
Aug 30, 2020
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 10, 2020

This PR contains the following updates:

Package Type Update Change
hexo (source) devDependencies minor 5.0.0 -> 5.1.1

Release Notes

hexojs/hexo

v5.1.1

Compare Source

Changes

  • fix(filter/highlight): avoid escaping curly bracket when highlight & prismjs disabled @​curbengh [#​4489]
    • When both highlight.js and prismjs are disabled:

_config.yml

highlight:
enable: false

prismjs
enable: false

* there was an issue that curly brackets `{ }` are escaped `&#​123; &#​125;` mistakenly in the [backtick_code_block.js](https://github.com/hexojs/hexo/blob/5795c1225f602ff0d5848fecf560fd33409cd96f/lib/plugins/filter/before_post_render/backtick_code_block.js) filter. The fix is to avoid running that filter when code highlight is disabled.
* Some users disable Hexo's default code highlight as they prefer to their own method.

v5.1.0

Compare Source

Features

  • feat(highlight): parse 'caption' option to prismHighlight @​curbengh [#​4476]
    • caption is now available in prismjs:

_config.yml

highlight:
enable: false
prismjs:
enable: true

* It can be used in triple backtick codeblock:
<pre><code>``` js caption
console.log('foo')
```</code></pre>
  * above codeblock will be rendered as:
  (class attributes are omitted for brevity)
  ``` html
  <pre><div class="caption"><span>caption</span></div><code>console...</code></pre>
  ```
  * you can style the caption by:
  ``` css
  pre div.caption {
    font-size: 0.9em;
    color: #&#8203;888;
  }

  pre div.caption a {
    float: right;
  }
  ```
* also available via [`codeblock`](https://hexo.io/docs/tag-plugins#Code-Block) and [`include_code`](https://hexo.io/docs/tag-plugins#Include-Code) tag plugins.

- fix: refactor post escape @&#8203;SukkaW [#&#8203;4472]
* fixed issue with prismjs that, in some cases, did not remove hexo's processing tag properly
- Remove plugins option in config @&#8203;stevenjoezhang [#&#8203;4475]
``` yml
### _config.yml
plugins:
  • plugins option has been deprecated long ago and it's now completely dropped
  • plugins should be saved in scripts/ folder or installed via npm package.json.

Performance

  • perf(backtick_code): avoid duplicated escaping @​SukkaW [#​4478]

v5.0.2

Compare Source

Changes

  • Revert "perf: avoid running plugins in 'clean' command" [#​4386] @​curbengh [#​4470]
    • This fixes error in hexo clean.

v5.0.1

Compare Source

Changes


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 you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/hexo-5.x branch from ea49c3f to 06dc2b3 Compare August 10, 2020 07:32
@renovate renovate bot changed the title Update dependency hexo to v5.0.1 Update dependency hexo to v5.0.2 Aug 10, 2020
@stevenjoezhang stevenjoezhang added this to the 8.0.0 milestone Aug 10, 2020
@renovate renovate bot force-pushed the renovate/hexo-5.x branch from 06dc2b3 to 72f25a0 Compare August 22, 2020 03:28
@renovate renovate bot changed the title Update dependency hexo to v5.0.2 Update dependency hexo to v5.1.0 Aug 22, 2020
@renovate renovate bot force-pushed the renovate/hexo-5.x branch from 72f25a0 to e2a6135 Compare August 23, 2020 09:34
@renovate renovate bot changed the title Update dependency hexo to v5.1.0 Update dependency hexo to v5.1.1 Aug 23, 2020
@renovate renovate bot force-pushed the renovate/hexo-5.x branch from e2a6135 to 9e7dd1b Compare August 30, 2020 14:43
@stevenjoezhang stevenjoezhang merged commit 62ea142 into master Aug 30, 2020
@stevenjoezhang stevenjoezhang deleted the renovate/hexo-5.x branch August 30, 2020 14:46
lingyf pushed a commit to lingyf/hexo-theme-next that referenced this pull request Jan 27, 2022
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants