(chore) bump version to 10.7.0
This commit is contained in:
parent
bfb5a59173
commit
7ec45af1c0
12
CHANGES.md
12
CHANGES.md
|
@ -1,7 +1,9 @@
|
|||
## Version 10.7.0 (in progress)
|
||||
## Version 10.7.0
|
||||
|
||||
Bugs:
|
||||
Parser:
|
||||
|
||||
- enh(api) add `unregisterLanguage` method (#3009) [Antoine du Hamel][]
|
||||
- enh: Make alias registration case insensitive (#3026) [David Ostrovsky][]
|
||||
- fix(parser) `highlightAll()` now works if the library is lazy loaded [Josh Goebel][]
|
||||
|
||||
New Languages:
|
||||
|
@ -39,18 +41,12 @@ Deprecations:
|
|||
- Please use the newer API which takes `code` and then accepts options as an object
|
||||
- IE: `highlight(code, {language, ignoreIllegals})`
|
||||
- `continuation` is for internal use only and no longer supported
|
||||
|
||||
- `highlightBlock(el)` deprecated as of 10.7.
|
||||
- Please use `highlightElement(el)` instead.
|
||||
- Plugin callbacks renamed `before/after:highlightBlock` => `before/after:highlightElement`
|
||||
- Plugin callback now takes `el` vs `block` attribute
|
||||
- The old API and callbacks will be supported until v12.
|
||||
|
||||
API:
|
||||
|
||||
- enh(api) add `unregisterLanguage` method (#3009) [Antoine du Hamel][]
|
||||
- enh: Make alias registration case insensitive (#3026) [David Ostrovsky][]
|
||||
|
||||
[Stef Levesque]: https://github.com/stef-levesque
|
||||
[Josh Goebel]: https://github.com/joshgoebel
|
||||
[John Cheung]: https://github.com/Real-John-Cheung
|
||||
|
|
18
README.md
18
README.md
|
@ -271,28 +271,28 @@ see [DIGESTS.md](https://github.com/highlightjs/cdn-release/blob/main/DIGESTS.md
|
|||
**cdnjs** ([link](https://cdnjs.com/libraries/highlight.js))
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/styles/default.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/highlight.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.0/styles/default.min.css">
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.0/highlight.min.js"></script>
|
||||
<!-- and it's easy to individually load additional languages -->
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.6.0/languages/go.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.7.0/languages/go.min.js"></script>
|
||||
```
|
||||
|
||||
**jsdelivr** ([link](https://www.jsdelivr.com/package/gh/highlightjs/cdn-release))
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.6.0/build/styles/default.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.6.0/build/highlight.min.js"></script>
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.0/build/styles/default.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.0/build/highlight.min.js"></script>
|
||||
<!-- and it's easy to individually load additional languages -->
|
||||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.6.0/build/languages/go.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@10.7.0/build/languages/go.min.js"></script>
|
||||
```
|
||||
|
||||
**unpkg** ([link](https://unpkg.com/browse/@highlightjs/cdn-assets/))
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@10.6.0/styles/default.min.css">
|
||||
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.6.0/highlight.min.js"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/@highlightjs/cdn-assets@10.7.0/styles/default.min.css">
|
||||
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.7.0/highlight.min.js"></script>
|
||||
<!-- and it's easy to individually load additional languages -->
|
||||
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.6.0/languages/go.min.js"></script>
|
||||
<script src="https://unpkg.com/@highlightjs/cdn-assets@10.7.0/languages/go.min.js"></script>
|
||||
```
|
||||
|
||||
**Note:** *The CDN-hosted `highlight.min.js` package doesn't bundle every language.* It would be
|
||||
|
|
|
@ -6,7 +6,7 @@ Due to both time and resource constrains the Highlight.js core team only fully s
|
|||
|
||||
| Version | Supported | Status |
|
||||
| :-----: | :-: | :------ |
|
||||
| 10.6.0 | :white_check_mark: :closed_lock_with_key: | The 10.x series recieves regular updates, new features & bug fixes. |
|
||||
| 10.7.0 | :white_check_mark: :closed_lock_with_key: | The 10.x series recieves regular updates, new features & bug fixes. |
|
||||
| <= 10.4.0 | :x: | Known vulnerabities. *Please upgrade to a more recent 10.x release.* |
|
||||
| 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). |
|
||||
| <= 9.18.3 | :x: | No longer supported. Known vulnerabities. |
|
||||
|
|
|
@ -41,14 +41,14 @@ master_doc = 'index'
|
|||
|
||||
# General information about the project.
|
||||
project = u'highlight.js'
|
||||
copyright = u'2012–2020, Ivan Sagalaev'
|
||||
copyright = u'2012–2021, Ivan Sagalaev'
|
||||
|
||||
# The version info for the project you're documenting, acts as replacement for
|
||||
# |version| and |release|, also used in various other places throughout the
|
||||
# built documents.
|
||||
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = '10.6.0'
|
||||
release = '10.7.0'
|
||||
# The short X.Y version.
|
||||
version = ".".join(release.split(".")[:2])
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@ The goal being that minor version series always get more stable over time and th
|
|||
* ``version`` attribute in package-lock.json (run `npm install`)
|
||||
* ``release`` variable in docs/conf.py
|
||||
* All mentions of version number in the README.md
|
||||
* All mentions of version number in the README.ru.md
|
||||
* Update ``SECURITY.md`` version table
|
||||
|
||||
* Commit the version changes and tag the commit with the version number (``10.4.0``, no "v" prefix or anything like that)
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "highlight.js",
|
||||
"version": "10.6.0",
|
||||
"version": "10.7.0",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"version": "10.6.0",
|
||||
"version": "10.7.0",
|
||||
"license": "BSD-3-Clause",
|
||||
"devDependencies": {
|
||||
"@rollup/plugin-commonjs": "^17.0.0",
|
||||
|
@ -878,7 +878,6 @@
|
|||
"dependencies": {
|
||||
"anymatch": "~3.1.1",
|
||||
"braces": "~3.0.2",
|
||||
"fsevents": "~2.1.2",
|
||||
"glob-parent": "~5.1.0",
|
||||
"is-binary-path": "~2.1.0",
|
||||
"is-glob": "~4.0.1",
|
||||
|
@ -2199,7 +2198,6 @@
|
|||
"minimist": "^1.2.5",
|
||||
"neo-async": "^2.6.0",
|
||||
"source-map": "^0.6.1",
|
||||
"uglify-js": "^3.1.4",
|
||||
"wordwrap": "^1.0.0"
|
||||
},
|
||||
"bin": {
|
||||
|
@ -3577,9 +3575,6 @@
|
|||
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.39.0.tgz",
|
||||
"integrity": "sha512-+WR3bttcq7zE+BntH09UxaW3bQo3vItuYeLsyk4dL2tuwbeSKJuvwiawyhEnvRdRgrII0Uzk00FpctHO/zB1kw==",
|
||||
"dev": true,
|
||||
"dependencies": {
|
||||
"fsevents": "~2.3.1"
|
||||
},
|
||||
"bin": {
|
||||
"rollup": "dist/bin/rollup"
|
||||
},
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"syntax"
|
||||
],
|
||||
"homepage": "https://highlightjs.org/",
|
||||
"version": "10.6.0",
|
||||
"version": "10.7.0",
|
||||
"author": {
|
||||
"name": "Ivan Sagalaev",
|
||||
"email": "maniac@softwaremaniacs.org"
|
||||
|
|
Loading…
Reference in New Issue