Skip to content

Commit

Permalink
(chore) bump version to 10.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Mar 20, 2021
1 parent bfb5a59 commit 7ec45af
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 29 deletions.
12 changes: 4 additions & 8 deletions 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:
Expand Down Expand Up @@ -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
Expand Down
18 changes: 9 additions & 9 deletions README.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Expand Up @@ -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: &nbsp; :closed_lock_with_key: | The 10.x series recieves regular updates, new features & bug fixes. |
| 10.7.0 | :white_check_mark: &nbsp; :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. |
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -41,14 +41,14 @@

# 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])

Expand Down
1 change: 0 additions & 1 deletion docs/maintainers-guide.rst
Expand Up @@ -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)
Expand Down
9 changes: 2 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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"
Expand Down

0 comments on commit 7ec45af

Please sign in to comment.