You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,28 @@
1
+
## Release v9.18.5
2
+
3
+
**Version 9 has reached end-of-support and will not receive future updates or fixes.**
4
+
5
+
Please see [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) and perhaps [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md).
6
+
7
+
- enh: Post-install script can be disabled with `HLJS_HIDE_UPGRADE_WARNING=yes`
8
+
- fix: Deprecation notice logged at library startup a `console.log` vs `console.warn`.
9
+
- Notice only shown if actually highlighting code, not just requiring the library.
10
+
- Node.js treats `warn` the same as `error` and that was problematic.
11
+
- You (or perhaps your indirect dependency) may disable the notice with
12
+
the `hideUpgradeWarningAcceptNoSupportOrSecurityUpdates` option
13
+
- You can also set `HLJS_HIDE_UPGRADE_WARNING=yes` in your envionment to disable the warning
0 commit comments