This repository was archived by the owner on Sep 25, 2021. It is now read-only.
Update dependency highlight.js to v11 #820
Open
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:
10.7.3->11.2.0Release Notes
highlightjs/highlight.js
v11.2.0Compare Source
Build:
Parser:
_(#3283) Josh Goebel__FILE__and __LINE__constants (#3283) Josh GoebelGrammars:
isolated/nonisolatedkeywords (#3296) Bradley MackeyNew Languages:
v11.1.0Compare Source
Grammars:
catchkeyword (#3251) Konrad Rudolphpwshalias (#3236) tebecoednalias (#3213) Stel Abregov11.0.1Compare Source
v11.0.0Compare Source
This is a major release. As such it contains breaking changes which may require action from users. Please read VERSION_11_UPGRADE.md for a detailed summary of all breaking changes.
Potentially breaking changes
Unless otherwise attributed items below are thanks to Josh Goebel (ref: #2558).
The below list should only be considered to be a high-level summary.
Deprecations / Removals / API Changes:
initHighlighting()andinitHighlightingOnLoad()deprecated. UsehighlightAll().highlightBlock(el)deprecated. UsehighlightElement(el)before:highlightBlock&after:highlightBlockcallbacks deprecated. Use equivalenthighlightElementcallbacks.highlight(languageName, code, ignoreIllegals, continuation)signature deprecated. Usehighlight(code, {language, ignoreIllegals}).highlight()signature no longer supportscontinuationargument.tabReplaceoption removed. Consider a plugin.useBRoption removed. Consider a plugin or CSS.requireLanguage()removed. UsegetLanguage().endSameAsBeginmode key removed. Usehljs.END_SAME_AS_BEGIN.lexemesmode key removed. Usekeywords.$pattern.Security:
Themes:
schoolbookhas been updated to remove the lined background.githubupdated to better match modern GitHub (#1616) Jan Pilzergithub-gisthas been removed in favor ofgithubJan Pilzernnfxupdated for v11 xml styles and improved css supportLanguage Grammars:
Other changes
Parser:
beginScopeandendScopeto allow separate scoping begin and end (#3159) Josh GoebelendScopenow supports multi-class matchers as well (#3159) Josh GoebelhighlightElementnow always tags blocks with a consistentlanguage-[name]class Josh Goebelspantags now also always have thelanguage-prefix addedtitle.class.inheritedsub-scope support Josh Goebeltitle.classsub-scope support (#3078) Josh Goebeltitle.functionsub-scope support (#3078) Josh GoebelbeforeMatchcompiler extension (#3078) Josh GoebelcssSelectorconfiguration option (#3180) James EdingtonGrammars:
.meta-keyword=>.meta .keyword(nested scopes) (#3167) Josh Goebel.meta-string=>.meta .string(nested scopes) (#3167) Josh Goebelactorkeyword (#3171) Bradley Mackey@resultBuilderattribute (#3151) Bradley Mackeypdealias (#3142) Dylan McBeanfunction.title=>title.function(#3078) Josh Goebelfunction.title=>title.function(#3078) Josh Goebelfunction.title=>title.function(#3078) Josh Goebelimpl(#3078) Josh GoebelNew Languages:
Theme Improvements:
builtin-nameCSS class (#3119) Josh GoebelNew Themes:
Dev Improvements:
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled due to failing status checks.
♻ 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.