Skip to content

Commit 1a258a3

Browse files
committed
(chore) version 10 EOL
1 parent 0f3fc89 commit 1a258a3

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

README.md

-4
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ detection.
6363
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.
6464

6565

66-
**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.
67-
68-
- [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)
69-
7066
#### Support for older versions <!-- omit in toc -->
7167

7268
Please see [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/main/SECURITY.md) for long-term support information.

SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Due to both time and resource constrains the Highlight.js core team fully suppor
77
| Version | Support | Status |
88
| :-----: | :-: | :------ |
99
| 11.x | :white_check_mark: | The 11.x series recieves regular updates, new features & security fixes. |
10-
| 10.7.x | :white_check_mark: | The 10.x series is now in maintence mode. EOL TBD.<br>See [VERSION_11_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_11_UPGRADE.md).|
10+
| 10.7.x | :x: | No longer supported. <br>See [VERSION_11_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_11_UPGRADE.md).|
1111
| <= 10.4.0 | :x: | Known vulnerabities. |
1212
| <= 9.18.5 | :x: | Known vulnerabities. [EOL](https://github.com/highlightjs/highlight.js/issues/2877) |
1313
| 7.x, 8.x | :x: | Obsolete. Known vulnerabities. |

VERSION_11_UPGRADE.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- [Changes to Result Data](#changes-to-result-data)
1212
- [Feature Removal](#feature-removal)
1313
- [Small Things](#small-things)
14+
- [Upgrading from Version 9.x](#upgrading-from-version-9x)
1415

1516

1617
## Overview of Breaking Changes
@@ -63,7 +64,7 @@ hljs.registerAliases(["php3","php4","php5","php6","php7","php8"],{ languageName:
6364
- `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).
6465
- `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).
6566
- 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.
66-
- 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.
67+
- 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.
6768

6869

6970
#### Grammar Scopes
@@ -191,4 +192,12 @@ This configuration option was deprecated in v10.5. Use a plugin or pre-render co
191192

192193
- The `regex` utility `join` has been renamed to `_eitherRewriteBackreferences` (this has always been intended for internal use only)
193194

195+
### Upgrading from Version 9.x
196+
197+
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:
198+
199+
- [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_UPGRADE.md)
200+
- [VERSION_10_BREAKING_CHANGES.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_BREAKING_CHANGES.md)
201+
202+
194203
[meta-keyword]: https://github.com/highlightjs/highlight.js/pull/3167

0 commit comments

Comments
 (0)