Skip to content

Commit 4055826

Browse files
committed
10.4.0 release
1 parent ee28327 commit 4055826

File tree

7 files changed

+20
-25
lines changed

7 files changed

+20
-25
lines changed

CHANGES.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
## Version 10.4.0-beta1
1+
## Version 10.4.0
22

3-
Parser:
4-
5-
- enh(parser) use negative look-ahead for `beginKeywords` support (#2813) [Josh Goebel][]
3+
A largish release with many improvements and fixes from quite a few different contributors. Enjoy!
64

75
Deprecations:
86

@@ -12,6 +10,8 @@ Deprecations:
1210

1311
Parser:
1412

13+
- enh(parser) use negative look-ahead for `beginKeywords` support (#2813) [Josh Goebel][]
14+
- enh(grammars) allow `classNameAliases` for more complex grammars [Josh Goebel][]
1515
- fix(vue): Language name now appears in CSS class (#2807) [Michael Rush][]
1616
- (chore) Clean up all regexs to be UTF-8 compliant/ready (#2759) [Josh Goebel][]
1717

@@ -60,10 +60,6 @@ Dev Improvements:
6060
- chore(dev) add theme picker to the tools/developer tool (#2770) [Josh Goebel][]
6161
- fix(dev) the Vue.js plugin no longer throws an exception when hljs is not in the global namespace [Kyle Brown][]
6262

63-
Parser:
64-
65-
- enh(grammars) allow `classNameAliases` for more complex grammars [Josh Goebel][]
66-
6763
New themes:
6864

6965
- *StackOverflow Dark* by [Jan Pilzer][]

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Please read [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/
3939

4040
##### Support for older versions
4141

42-
Please see [OLD_VERSIONS.md](https://github.com/highlightjs/highlight.js/blob/master/OLD_VERSIONS.md) for support information.
42+
Please see [SECURITY.md](https://github.com/highlightjs/highlight.js/blob/master/SECURITY.md) for support information.
4343

4444
## Getting Started
4545

@@ -244,26 +244,26 @@ A prebuilt version of highlight.js bundled with many common languages is hosted
244244

245245
```html
246246
<link rel="stylesheet"
247-
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/styles/default.min.css">
248-
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/highlight.min.js"></script>
247+
href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/styles/default.min.css">
248+
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/highlight.min.js"></script>
249249
<!-- and it's easy to individually load additional languages -->
250250
<script charset="UTF-8"
251-
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.1.2/languages/go.min.js"></script>
251+
src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.4.0/languages/go.min.js"></script>
252252
```
253253

254254
**jsdelivr** ([link](https://www.jsdelivr.com/package/gh/highlightjs/cdn-release))
255255

256256
```html
257257
<link rel="stylesheet"
258-
href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.2/build/styles/default.min.css">
259-
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.1.2/build/highlight.min.js"></script>
258+
href="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.4.0/build/styles/default.min.css">
259+
<script src="//cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.4.0/build/highlight.min.js"></script>
260260
```
261261

262262
**unpkg** ([link](https://unpkg.com/browse/@highlightjs/cdn-assets/))
263263

264264
```html
265-
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@10.3.1/styles/default.min.css">
266-
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.3.1/highlight.min.js"></script>
265+
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@10.4.0/styles/default.min.css">
266+
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.4.0/highlight.min.js"></script>
267267
```
268268

269269
**Note:** *The CDN-hosted `highlight.min.js` package doesn't bundle every language.* It would be

SECURITY.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
## Supported Versions
44

5-
Due to both time and resource constrains the Highlight.js core team only fully supports the most current major/minor release of the library. Problems with prior minor releases are often solved by upgrading to the most recent minor release. Prior major release will only receive critical security updates (when feasible).
5+
Due to both time and resource constrains the Highlight.js core team only fully supports the most current major/minor release of the library. Problems with prior minor releases are often resolved by upgrading to the most recent minor release. Prior major release will only receive critical security updates (when feasible).
66

7-
| Version | | Status |
7+
| Version | Supported | Status |
88
| :-----: | :-: | :------ |
9-
| 10.3.x | :white_check_mark: | The 10.x series recieves regular updates, new features & bug fixes. |
10-
| <= 10.2.x | :x: | *Please upgrade to a more recent release.* |
9+
| 10.4.x | :white_check_mark: | The 10.x series recieves regular updates, new features & bug fixes. |
10+
| <= 10.3.x | :x: | *Please upgrade to the latest 10.x release.* |
1111
| 9.18.x | :closed_lock_with_key: | Security updates only. See [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md). |
1212
| <= 9.17.x | :x: | Obsolete. |
13-
| 8.x | :x: | Obsolete. |
14-
| 7.x | :x: | Obsolete. |
1513
| Older | :x: | Obsolete. |
1614

1715
### Version 9

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
# built documents.
4949

5050
# The full version, including alpha/beta/rc tags.
51-
release = '10.4.0-beta1'
51+
release = '10.4.0'
5252
# The short X.Y version.
5353
version = ".".join(release.split(".")[:2])
5454

docs/maintainers-guide.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ The goal being that minor version series always get more stable over time and th
3131
* ``version`` attribute in package-lock.json (run `npm install`)
3232
* ``release`` variable in docs/conf.py
3333
* All mentions of version number in the README
34+
* Update ``SECURITY.md`` version table
3435

3536
* Commit the version changes and tag the commit with the version number (``10.4.0``, no "v" prefix or anything like that)
3637

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"syntax"
77
],
88
"homepage": "https://highlightjs.org/",
9-
"version": "10.4.0-beta1",
9+
"version": "10.4.0",
1010
"author": {
1111
"name": "Ivan Sagalaev",
1212
"email": "[email protected]"

0 commit comments

Comments
 (0)