Skip to content

Commit 7ec45af

Browse files
committed
(chore) bump version to 10.7.0
1 parent bfb5a59 commit 7ec45af

File tree

7 files changed

+19
-29
lines changed

7 files changed

+19
-29
lines changed

CHANGES.md

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
## Version 10.7.0 (in progress)
1+
## Version 10.7.0
22

3-
Bugs:
3+
Parser:
44

5+
- enh(api) add `unregisterLanguage` method (#3009) [Antoine du Hamel][]
6+
- enh: Make alias registration case insensitive (#3026) [David Ostrovsky][]
57
- fix(parser) `highlightAll()` now works if the library is lazy loaded [Josh Goebel][]
68

79
New Languages:
@@ -39,18 +41,12 @@ Deprecations:
3941
- Please use the newer API which takes `code` and then accepts options as an object
4042
- IE: `highlight(code, {language, ignoreIllegals})`
4143
- `continuation` is for internal use only and no longer supported
42-
4344
- `highlightBlock(el)` deprecated as of 10.7.
4445
- Please use `highlightElement(el)` instead.
4546
- Plugin callbacks renamed `before/after:highlightBlock` => `before/after:highlightElement`
4647
- Plugin callback now takes `el` vs `block` attribute
4748
- The old API and callbacks will be supported until v12.
4849

49-
API:
50-
51-
- enh(api) add `unregisterLanguage` method (#3009) [Antoine du Hamel][]
52-
- enh: Make alias registration case insensitive (#3026) [David Ostrovsky][]
53-
5450
[Stef Levesque]: https://github.com/stef-levesque
5551
[Josh Goebel]: https://github.com/joshgoebel
5652
[John Cheung]: https://github.com/Real-John-Cheung

README.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -271,28 +271,28 @@ see [DIGESTS.md](https://github.com/highlightjs/cdn-release/blob/main/DIGESTS.md
271271
**cdnjs** ([link](https://cdnjs.com/libraries/highlight.js))
272272

273273
```html
274-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/default.min.css">
275-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/highlight.min.js"></script>
274+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.0/styles/default.min.css">
275+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.0/highlight.min.js"></script>
276276
<!-- and it's easy to individually load additional languages -->
277-
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/languages/go.min.js"></script>
277+
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.0/languages/go.min.js"></script>
278278
```
279279

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

282282
```html
283-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.6.0/build/styles/default.min.css">
284-
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.6.0/build/highlight.min.js"></script>
283+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.0/build/styles/default.min.css">
284+
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.0/build/highlight.min.js"></script>
285285
<!-- and it's easy to individually load additional languages -->
286-
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.6.0/build/languages/go.min.js"></script>
286+
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.0/build/languages/go.min.js"></script>
287287
```
288288

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

291291
```html
292-
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@10.6.0/styles/default.min.css">
293-
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.6.0/highlight.min.js"></script>
292+
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@10.7.0/styles/default.min.css">
293+
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.7.0/highlight.min.js"></script>
294294
<!-- and it's easy to individually load additional languages -->
295-
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.6.0/languages/go.min.js"></script>
295+
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.7.0/languages/go.min.js"></script>
296296
```
297297

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

SECURITY.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Due to both time and resource constrains the Highlight.js core team only fully s
66

77
| Version | Supported | Status |
88
| :-----: | :-: | :------ |
9-
| 10.6.0 | :white_check_mark: &nbsp; :closed_lock_with_key: | The 10.x series recieves regular updates, new features & bug fixes. |
9+
| 10.7.0 | :white_check_mark: &nbsp; :closed_lock_with_key: | The 10.x series recieves regular updates, new features & bug fixes. |
1010
| <= 10.4.0 | :x: | Known vulnerabities. *Please upgrade to a more recent 10.x release.* |
1111
| 9.18.5 | :x: | [EOL](https://github.com/highlightjs/highlight.js/issues/2877). No longer supported. See [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/main/VERSION_10_UPGRADE.md). |
1212
| <= 9.18.3 | :x: | No longer supported. Known vulnerabities. |

docs/conf.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@
4141

4242
# General information about the project.
4343
project = u'highlight.js'
44-
copyright = u'2012–2020, Ivan Sagalaev'
44+
copyright = u'2012–2021, Ivan Sagalaev'
4545

4646
# The version info for the project you're documenting, acts as replacement for
4747
# |version| and |release|, also used in various other places throughout the
4848
# built documents.
4949

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

docs/maintainers-guide.rst

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ 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.md
34-
* All mentions of version number in the README.ru.md
3534
* Update ``SECURITY.md`` version table
3635

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

package-lock.json

+2-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

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

0 commit comments

Comments
 (0)