From 1a258a3e72dce8b6534e28a741cfcd7d813463dd Mon Sep 17 00:00:00 2001 From: Josh Goebel Date: Fri, 8 Oct 2021 12:15:53 -0400 Subject: [PATCH] (chore) version 10 EOL --- README.md | 4 ---- SECURITY.md | 2 +- VERSION_11_UPGRADE.md | 11 ++++++++++- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 89fb56fc03..c8c3a7baa0 100644 --- a/README.md +++ b/README.md @@ -63,10 +63,6 @@ detection. As always, major releases do contain breaking changes which may require action from users. Please read [VERSION_11_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_11_UPGRADE.md) for a detailed summary of breaking changes and any actions you may need to take. -**Upgrading to v10**: You really should probably be upgrading to version 11... but if you're coming from version 9 then these documents may still prove helpful. - -- [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_UPGRADE.md) and [VERSION_10_BREAKING_CHANGES.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_BREAKING_CHANGES.md) - #### Support for older versions Please see [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/main/SECURITY.md) for long-term support information. diff --git a/SECURITY.md b/SECURITY.md index 2c01436609..086a03424a 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -7,7 +7,7 @@ Due to both time and resource constrains the Highlight.js core team fully suppor | Version | Support | Status | | :-----: | :-: | :------ | | 11.x | :white_check_mark: | The 11.x series recieves regular updates, new features & security fixes. | -| 10.7.x | :white_check_mark: | The 10.x series is now in maintence mode. EOL TBD.
See [VERSION_11_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_11_UPGRADE.md).| +| 10.7.x | :x: | No longer supported.
See [VERSION_11_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_11_UPGRADE.md).| | <= 10.4.0 | :x: | Known vulnerabities. | | <= 9.18.5 | :x: | Known vulnerabities. [EOL](https://github.com/highlightjs/highlight.js/issues/2877) | | 7.x, 8.x | :x: | Obsolete. Known vulnerabities. | diff --git a/VERSION_11_UPGRADE.md b/VERSION_11_UPGRADE.md index d30cfb5958..29364ca14e 100644 --- a/VERSION_11_UPGRADE.md +++ b/VERSION_11_UPGRADE.md @@ -11,6 +11,7 @@ - [Changes to Result Data](#changes-to-result-data) - [Feature Removal](#feature-removal) - [Small Things](#small-things) + - [Upgrading from Version 9.x](#upgrading-from-version-9x) ## Overview of Breaking Changes @@ -63,7 +64,7 @@ hljs.registerAliases(["php3","php4","php5","php6","php7","php8"],{ languageName: - `github` includes significant changes to more properly match modern GitHub syntax highlighting. If you desire the old theme you can manually copy it into your project from the [10-stable branch](https://github.com/highlightjs/highlight.js/tree/10-stable/src/styles). - `github-gist` has been removed in favor of `github` as GitHub and GitHub Gist have converged. If you desire the theme you can manually copy it into your project from the [10-stable branch](https://github.com/highlightjs/highlight.js/tree/10-stable/src/styles). - The `.hljs` CSS selector is now further scoped. It now targets `code.hljs` (inline code) and `pre code.hljs` (code blocks). If you are using a different element you may need to update your CSS to reapply some styling. -- All [Base16 themes](https://github.com/highlightjs/base16-highlightjs) now live in the `styles/base16` directory - this means some CSS files have moved. Please confirm themes you use reference the new locations. +- All [Base16 themes](https://github.com/highlightjs/base16-highlightjs) now live in the `styles/base16` directory - this means some CSS files have moved. Please confirm themes you use reference the new locations. #### Grammar Scopes @@ -191,4 +192,12 @@ This configuration option was deprecated in v10.5. Use a plugin or pre-render co - The `regex` utility `join` has been renamed to `_eitherRewriteBackreferences` (this has always been intended for internal use only) +### Upgrading from Version 9.x + +If you're upgrading all the way from version 9 it may still be helpful to review all the breaking changes in version 10 as well: + +- [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_UPGRADE.md) +- [VERSION_10_BREAKING_CHANGES.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_BREAKING_CHANGES.md) + + [meta-keyword]: https://github.com/highlightjs/highlight.js/pull/3167