Skip to content

Commit

Permalink
Require Java 11; stop supporting Java 8; stop testing Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sideshowbarker committed May 11, 2024
1 parent 0152a71 commit cf319ae
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,10 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
java: [22, 21, 17, 11.0.23, 8.0.192]
java: [22, 21, 17, 11.0.23]
exclude:
- os: macos-latest
java: 8.0.192
- os: macos-latest
java: 11.0.23
- os: windows-latest
java: 8.0.192
- os: windows-latest
java: 11.0.3
steps:
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ or changes to any options/interfaces the checker exposes for developers.

# NN.NN.NN
NN XXX NNNN
- Require Java 11; stop supporting Java 8
- Report void elements that have a trailing slash in their start tags
- Skip template contents when checking for duplicate IDs (bug fix)
- Allow `loading` attribute for the `iframe` element (lazy loading)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ It is released upstream in these formats:
* pre-compiled Linux, Windows, and macOS binaries that include an embedded
Java runtime

* `vnu.jar` — a portable version you can use on any system that has Java 8 or
* `vnu.jar` — a portable version you can use on any system that has Java 11 or
above installed

* `vnu.war` — for [deploying the checker service through a servlet container
such as Tomcat][15]

[15]: https://validator.github.io/validator/#servlet

**Note:** The _vnu.jar_ and _vnu.war_ files require you to have Java 8 or above
**Note:** The _vnu.jar_ and _vnu.war_ files require you to have Java 11 or above
installed. The pre-compiled Linux, Windows, and macOS binaries don’t require you
to have any version of Java already installed at all.

Expand Down
2 changes: 1 addition & 1 deletion build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
except ImportError:
CAFILE = None

javaTargetVersion = '8'
javaTargetVersion = '11'
herokuCmd = 'heroku'
dockerCmd = 'docker'
ghRelCmd = 'github-release' # https://github.com/sideshowbarker/github-release
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,12 @@ <h1>The Nu Html Checker (v.Nu) <a href="https://matrix.to/#/#validator_validator

<ul>
<li>pre-compiled Linux, Windows, and macOS binaries that include an embedded Java runtime
<li><code>vnu.jar</code> — a portable version you can use on any system that has Java 8 or above installed
<li><code>vnu.jar</code> — a portable version you can use on any system that has Java 11 or above installed
<li><code>vnu.war</code> — for <a href="https://validator.github.io/validator/#servlet">deploying the checker service through a servlet container such as Tomcat</a>
</ul>

<p class=note>
<b>Note:</b> The <var>vnu.jar</var> and <var>vnu.war</var> files require you to have Java 8 or above installed. The pre-compiled Linux, Windows, and macOS binaries don’t require you to have any version of Java already installed at all.
<b>Note:</b> The <var>vnu.jar</var> and <var>vnu.war</var> files require you to have Java 11 or above installed. The pre-compiled Linux, Windows, and macOS binaries don’t require you to have any version of Java already installed at all.

<p>
You can <a href="https://github.com/validator/validator/releases/latest">get the latest release</a> or run <a href="https://github.com/validator/validator/pkgs/container/validator"><code>docker run -it --rm -p 8888:8888 ghcr.io/validator/validator:latest</code></a>, <a href="https://www.npmjs.com/package/vnu-jar"><code>npm install vnu-jar</code></a>, <a href="https://github.com/validator/validator/packages/892707"><code>npm install --registry=https://npm.pkg.github.com @validator/vnu-jar</code></a>, <a href="https://libraries.io/homebrew/vnu"><code>brew install vnu</code></a>, or <a href="https://github.com/svenkreiss/html5validator"><code>pip install html5validator</code></a> and see the <a href="#usage"><b>Usage</b></a> and <a href="#web-based-checking"><b>Web-based checking</b></a> sections below. Or automate your document checking with a frontend such as:
Expand Down

0 comments on commit cf319ae

Please sign in to comment.