@sideshowbarker sideshowbarker released this Jul 22, 2018 · 7 commits to master since this release

Assets 14

23 July 2018.

This release updates the vnu.jar behavior to prevent a stray logging message from being emitted by the language-detection backend.

This release otherwise adds no changes beyond those in the 18.7.22 release, the release notes for which follow.

This release updates the checker to allow the decoding attribute for the img element and the allow attribute for the image element. The release also includes a number of changes to align ARIA role checking with the current requirements in the ARIA in HTML spec. In addition, this release also ensures that the vnu.jar distribution is always runnable under Java9, even if built under Java8.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#18722

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Jul 22, 2018 · 10 commits to master since this release

Assets 14

22 July 2018.

This release updates the checker to allow the decoding attribute for the img element and the allow attribute for the image element. The release also includes a number of changes to align ARIA role checking with the current requirements in the ARIA in HTML spec. In addition, this release ensures that the vnu.jar distribution is always runnable under Java9, even if built under Java8.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#18722

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Mar 23, 2018 · 86 commits to master since this release

Assets 14

24 March 2018.

This release adds two new major features. The first is an optional feature in the command-line checker, Web-based checker, and network API to check CSS documents (in addition to the checking of HTML documents we already do). And the second is a (non-optional) feature to check that style element contents and style attribute values in HTML documents are valid CSS.

The release also adds a new optional feature to the command-line checker to check SVG documents, as well as a new option in command-line checker for specifying a User-Agent string.

Along with those additions, some changes made in this release include support for the autocapitalize global attribute, the slot attribute (for Shadow DOM interaction), the allowpaymentrequest attribute for the iframe element, the CSP prefetch-src directive, and a variety of ARIA-related improvements. Also worth noting is that with this release, the checker now reports an error for documents in any character encoding other than UTF-8 and for all doctypes other than <!DOCTYPE html>.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1830

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Oct 7, 2017 · 242 commits to master since this release

Assets 14

07 October 2017.

This release adds two changes for the vnu.jar command-line checker: It fixes a bug that caused the --Werror option to not work as expected, and adds a change that makes the checker exit 0 if all errors have been filtered out. (Prior to that change, the checker would exit non-zero if any errors were found, even if the --filterfile or --filterpattern option were used to filter them all out.)

This release otherwise adds no changes beyond those in the 17.11.0 release, the notes for which follow

This release add a --Werror option to the vnu.jar command-line checker, which when set causes the checker to exit non-zero if any warnings are encountered (even if there are no errors). The release also fixes an internal code mismatch that caused message-filtering failures, fixes a memory leak in the language detector, drops reporting of HTML4-specific parse errors for HTML4-doctype docs, and allows DPUB role attributes on more elements.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#17111

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Oct 6, 2017 · 246 commits to master since this release

Assets 14

06 October 2017.

This release add a --Werror option to the vnu.jar command-line checker, which when set causes the checker to exit non-zero if any warnings are encountered (even if there are no errors). The release also fixes an internal code mismatch that caused message-filtering failures, fixes a memory leak in the language detector, drops reporting of HTML4-specific parse errors for HTML4-doctype docs, and allows DPUB role attributes on more elements.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#17110

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Aug 20, 2017 · 263 commits to master since this release

Assets 14

20 August 2017.

This release adds a new feature to the checker network API to allow you to specify an Accept-Language request-header value for the checker to send when fetching remote documents to check. This release also allows script[nomodule], allows the hover, any-hover, pointer, and any-pointer media features, allows the scope, updateviacache, workertype attributes for link[rel=serviceworker], allows the string "&;" in content (that is, doesn’t report it as an “& did not start a character reference” error), and updates CSP checking to Salvation 2.3.0.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1790

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Jun 25, 2017 · 287 commits to master since this release

Assets 14

26 June 2017.

This release adds a new major feature to filter out (drop/ignore/suppress) errors/warnings by regex (details at https://github.com/validator/validator/wiki/Message-filtering), replaces a case of “Attribute "foo" not allowed on element "param" in this context wording in error messages with “Attribute "foo" not allowed on element "param" at this point (for consistent wording between the command-line checker and the web-based checker), disallows the "contextmenu" attribute and type=contextmenu and type=toolbar for the menu element, allows link[rel=serviceworker], allows all floating-point numbers in attribute values to start with a decimal point, allows a[href] in SVG wherever a[xlink:href] is allowed, and allows the "focusable" and "tabindex" attributes on SVG elements.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1770

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Mar 26, 2017 · 336 commits to master since this release

Assets 14

26 March 2017.

This release makes the “color” attribute allowed with link[rel="mask-icon"], adds an --asciiquotes option to the vnu.jar command-line checker, improves the language detector to help prevent language misidentifications (especially for Russian and Chinese documents), adds better support for IDNs (by updating to ICU4J 58.2), changes the checker behavior to not fail for “Corrupt GZIP trailer” cases, fixes a bug that disallowed Microdata global attributes for meta[name], and makes allow-top-navigation-by-user-activation an allowed value for iframe[sandbox] (while adding a new error if that value is used at the same time as allow-top-navigation).

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1730

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Feb 5, 2017 · 358 commits to master since this release

Assets 14

06 February 2017.

This is an important bug-fix follow-up to the 17.2.0 release. It fixes a bug in the language detector that when running the vnu.jar command-line checker on a list of documents caused it to sometimes misidentify the language of the 2nd, 3rd, 4th, etc., documents. The bug also caused the memory used by the checker to increase as the number of documents checked at the same time increased, and caused performance to degrade. The release also fixes a longstanding bug around code for identifying overlapping cells in the table-integrity checker. Along with those bug fixes this release also adds an --exit-zero-always option to the vnu.jar command-line checker, and changes the checker behavior to allow the aria-required attribute everywhere the required attribute is allowed.

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1721

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.

@sideshowbarker sideshowbarker released this Jan 30, 2017 · 367 commits to master since this release

Assets 14

30 January 2017.

This release fixes a bug in the 17.1.0 and 17.0.1 releases that broke command-line checking of URLs with vnu.jar. It also fixes a bug in rel="shortcut icon" checking, adds a new nu.client.EmbeddedValidator class for use as a library by other Java apps, and changes the checker behavior to disallow tfoot before tbody (as required by the current HTML spec).

This release otherwise adds no substantive changes beyond those in the 17.0.1 release, the notes for which follow.


This is a major release which adds two important new features: language detection and support for custom elements. The custom-elements feature makes the checker allow element names containing hyphens (e.g., <foo-bar>). The language-detection feature guesses the language of a document by analyzing its content, compares the detected language to the value of the lang attribute of the html element, and then reports a warning if the lang value doesn’t match the detected language (or if the lang attribute is missing). For vnu.jar, a new --no-langdetect option has been added to disable that language-detection feature. An option has also been added to allow checking of remote error pages (404s and other non-200 responses). Other important changes in this release include: ARIA 1.1 roles/states/properties are now allowed, as well as div in dl (to group dt+dd sets), link[rel=preload] and link[nonce] and referrerpolicy, h1-h6 & hgroup in legend, script[type=module], <video playsinline>, and <iframe allowusermedia>. Also with the release, any content is now allowed in template subtrees (they are now excluded from checking), viewport values that restrict resizing now cause a warning, comments before the doctype no longer cause a warning, and vnu.jar now by default ignores any SSL certificate errors when checking remote documents (use the -Dnu.validator.xml.promiscuous-ssl=false Java system property to override that default).

More: https://github.com/validator/validator/blob/master/CHANGELOG.md#1720

The files in this release provide a portable standalone version of the Nu Html Checker in two different forms: as a Java jar file, and as a Java war file.

Use the jar file either for batch checking of documents from the command line and other scripts/apps, as documented at https://validator.github.io/validator/, or as a self-contained service for browser-based checking of HTML documents over the Web—similar to https://checker.html5.org/ and https://html5.validator.nu/ and https://validator.w3.org/nu/.

Use the war file to deploy the Nu Html Checker through a servlet container such as Tomcat, as documented at https://validator.github.io/validator/#servlet.