From f6be9073f45db923ab2e5cc562e26481e72ea141 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 20 Apr 2026 11:36:24 +0900 Subject: [PATCH 1/4] Add 2.0.0-beta1 changelog entry Add a new changelog section for 2.0.0-beta1 (2026-04-20). Summarizes breaking change (Node.js 20+ requirement), rule fixes (alt-require, input-requires-label), new features (modern package entry points and TypeScript declarations, CLI excess-args support, replace chalk with node:util.styleText, SARIF v4 support), documentation refreshes, and various tooling/CI chore updates. Includes links to the relevant PRs. --- website/src/content/docs/changelog.mdx | 37 ++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/website/src/content/docs/changelog.mdx b/website/src/content/docs/changelog.mdx index cf0d2645b..91468de0e 100644 --- a/website/src/content/docs/changelog.mdx +++ b/website/src/content/docs/changelog.mdx @@ -5,6 +5,43 @@ description: The release notes for HTMLHint, see what's changed with each new ve import { Badge } from '@astrojs/starlight/components' +## 2.0.0-beta1 _(2026-04-20)_ + +- Node.js 20 or newer is now required + [#1832](https://github.com/htmlhint/HTMLHint/pull/1832) +- Add modern package entry points and bundled TypeScript declarations via `types` and `exports` in `package.json` + [#1857](https://github.com/htmlhint/HTMLHint/pull/1857) +- Improve [`alt-require`](/rules/alt-require/) to ignore images hidden with `aria-hidden` + [#1851](https://github.com/htmlhint/HTMLHint/pull/1851) +- Improve [`input-requires-label`](/rules/input-requires-label/) to allow inputs nested inside labels + [#1852](https://github.com/htmlhint/HTMLHint/pull/1852) +- CLI now allows excess arguments for `htmlhint` + [#1837](https://github.com/htmlhint/HTMLHint/pull/1837) +- Replace `chalk` with Node.js `node:util.styleText` + [#1834](https://github.com/htmlhint/HTMLHint/pull/1834) +- Upgrade SARIF output support by updating `node-sarif-builder` to v4 + [#1819](https://github.com/htmlhint/HTMLHint/pull/1819) +- Refresh documentation and website content, including the GitHub organization repos page and CLI docs fixes + [#1823](https://github.com/htmlhint/HTMLHint/pull/1823), + [#1824](https://github.com/htmlhint/HTMLHint/pull/1824), + [#1828](https://github.com/htmlhint/HTMLHint/pull/1828), + [#1858](https://github.com/htmlhint/HTMLHint/pull/1858) +- Refresh project tooling, linting, CI, and website dependencies for the beta release + [#1821](https://github.com/htmlhint/HTMLHint/pull/1821), + [#1833](https://github.com/htmlhint/HTMLHint/pull/1833), + [#1836](https://github.com/htmlhint/HTMLHint/pull/1836), + [#1838](https://github.com/htmlhint/HTMLHint/pull/1838), + [#1839](https://github.com/htmlhint/HTMLHint/pull/1839), + [#1840](https://github.com/htmlhint/HTMLHint/pull/1840), + [#1842](https://github.com/htmlhint/HTMLHint/pull/1842), + [#1844](https://github.com/htmlhint/HTMLHint/pull/1844), + [#1845](https://github.com/htmlhint/HTMLHint/pull/1845), + [#1847](https://github.com/htmlhint/HTMLHint/pull/1847), + [#1848](https://github.com/htmlhint/HTMLHint/pull/1848), + [#1849](https://github.com/htmlhint/HTMLHint/pull/1849), + [#1853](https://github.com/htmlhint/HTMLHint/pull/1853), + [#1856](https://github.com/htmlhint/HTMLHint/pull/1856) + ## 1.9.2 _(2026-03-05)_ - Dependencies update From de4dcd727e9b94c208255364b8e1804f9fefab2c Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 20 Apr 2026 11:40:40 +0900 Subject: [PATCH 2/4] Update index.mdx --- website/src/content/docs/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/content/docs/index.mdx b/website/src/content/docs/index.mdx index f7d3e5e57..b53956c16 100644 --- a/website/src/content/docs/index.mdx +++ b/website/src/content/docs/index.mdx @@ -15,7 +15,7 @@ hero: variant: minimal banner: content: | - v1.9.2 is now available! Check the changelog to see what's new. + v2.0.0-beta1 is now available! Check the changelog to see what's new. tableOfContents: false lastUpdated: false editUrl: false From 386411afbdd0a33166eadb3a3be96fce8e4b7ab3 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 20 Apr 2026 11:43:02 +0900 Subject: [PATCH 3/4] Normalize beta tag to 'beta-1' Standardize version naming by changing '2.0.0-beta1' to '2.0.0-beta-1' in website/src/content/docs/changelog.mdx and website/src/content/docs/index.mdx so the beta release is referenced consistently. No functional changes. --- website/src/content/docs/changelog.mdx | 2 +- website/src/content/docs/index.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/content/docs/changelog.mdx b/website/src/content/docs/changelog.mdx index 91468de0e..4b4536d36 100644 --- a/website/src/content/docs/changelog.mdx +++ b/website/src/content/docs/changelog.mdx @@ -5,7 +5,7 @@ description: The release notes for HTMLHint, see what's changed with each new ve import { Badge } from '@astrojs/starlight/components' -## 2.0.0-beta1 _(2026-04-20)_ +## 2.0.0-beta-1 _(2026-04-20)_ - Node.js 20 or newer is now required [#1832](https://github.com/htmlhint/HTMLHint/pull/1832) diff --git a/website/src/content/docs/index.mdx b/website/src/content/docs/index.mdx index b53956c16..0be4613bd 100644 --- a/website/src/content/docs/index.mdx +++ b/website/src/content/docs/index.mdx @@ -15,7 +15,7 @@ hero: variant: minimal banner: content: | - v2.0.0-beta1 is now available! Check the changelog to see what's new. + v2.0.0-beta-1 is now available! Check the changelog to see what's new. tableOfContents: false lastUpdated: false editUrl: false From 9731df1b5dc31e80b9c0b9615e25d2ca1fd26308 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Fri, 25 Sep 2026 21:36:10 +0900 Subject: [PATCH 4/4] docs: update changelog for 2.0.0 release - Rename 2.0.0-beta-1 entry to 2.0.0 dated 2026-09-27 - Note Node.js 22 requirement (#1944) - Add rule fixes from #1864, #1937 and #1938 - Add docs, CI and website updates since the beta draft - Update homepage banner to v2.0.0 Co-Authored-By: Claude Opus 5.5 --- website/src/content/docs/changelog.mdx | 46 ++++++++++++++------------ website/src/content/docs/index.mdx | 2 +- 2 files changed, 25 insertions(+), 23 deletions(-) diff --git a/website/src/content/docs/changelog.mdx b/website/src/content/docs/changelog.mdx index 4b4536d36..aa08bed8a 100644 --- a/website/src/content/docs/changelog.mdx +++ b/website/src/content/docs/changelog.mdx @@ -5,42 +5,44 @@ description: The release notes for HTMLHint, see what's changed with each new ve import { Badge } from '@astrojs/starlight/components' -## 2.0.0-beta-1 _(2026-04-20)_ +## 2.0.0 _(2026-09-27)_ -- Node.js 20 or newer is now required - [#1832](https://github.com/htmlhint/HTMLHint/pull/1832) +- Node.js 22 or newer is now required + [#1832](https://github.com/htmlhint/HTMLHint/pull/1832), + [#1944](https://github.com/htmlhint/HTMLHint/pull/1944) - Add modern package entry points and bundled TypeScript declarations via `types` and `exports` in `package.json` [#1857](https://github.com/htmlhint/HTMLHint/pull/1857) -- Improve [`alt-require`](/rules/alt-require/) to ignore images hidden with `aria-hidden` - [#1851](https://github.com/htmlhint/HTMLHint/pull/1851) -- Improve [`input-requires-label`](/rules/input-requires-label/) to allow inputs nested inside labels - [#1852](https://github.com/htmlhint/HTMLHint/pull/1852) - CLI now allows excess arguments for `htmlhint` [#1837](https://github.com/htmlhint/HTMLHint/pull/1837) - Replace `chalk` with Node.js `node:util.styleText` [#1834](https://github.com/htmlhint/HTMLHint/pull/1834) - Upgrade SARIF output support by updating `node-sarif-builder` to v4 - [#1819](https://github.com/htmlhint/HTMLHint/pull/1819) -- Refresh documentation and website content, including the GitHub organization repos page and CLI docs fixes + [#1819](https://github.com/htmlhint/HTMLHint/pull/1819), + [#1865](https://github.com/htmlhint/HTMLHint/pull/1865) +- Improve [`alt-require`](/rules/alt-require/) to ignore images hidden with `aria-hidden` + [#1851](https://github.com/htmlhint/HTMLHint/pull/1851) +- Improve [`attr-no-duplication`](/rules/attr-no-duplication/) and [`src-not-empty`](/rules/src-not-empty/) to compare tag and attribute names case insensitively + [#1937](https://github.com/htmlhint/HTMLHint/pull/1937) +- Improve [`input-requires-label`](/rules/input-requires-label/) to allow inputs nested inside labels and warn when an implicit label has no visible text + [#1852](https://github.com/htmlhint/HTMLHint/pull/1852), + [#1864](https://github.com/htmlhint/HTMLHint/pull/1864) +- Improve [`title-require`](/rules/title-require/) to allow comments inside a non-empty `` + [#1938](https://github.com/htmlhint/HTMLHint/pull/1938) +- <Badge text="Docs" size="small" variant="tip" /> Refresh documentation, README, and website content, including the GitHub organization repos page, CLI docs fixes, and per-page last updated dates [#1823](https://github.com/htmlhint/HTMLHint/pull/1823), [#1824](https://github.com/htmlhint/HTMLHint/pull/1824), [#1828](https://github.com/htmlhint/HTMLHint/pull/1828), - [#1858](https://github.com/htmlhint/HTMLHint/pull/1858) -- <Badge text="Chore" size="small" /> Refresh project tooling, linting, CI, and website dependencies for the beta release - [#1821](https://github.com/htmlhint/HTMLHint/pull/1821), + [#1858](https://github.com/htmlhint/HTMLHint/pull/1858), + [#1861](https://github.com/htmlhint/HTMLHint/pull/1861), + [#1863](https://github.com/htmlhint/HTMLHint/pull/1863), + [#1940](https://github.com/htmlhint/HTMLHint/pull/1940) +- <Badge text="Chore" size="small" /> Refresh project tooling, linting, CI (including Node.js 26 in the test matrix), and dependencies [#1833](https://github.com/htmlhint/HTMLHint/pull/1833), + [#1835](https://github.com/htmlhint/HTMLHint/pull/1835), [#1836](https://github.com/htmlhint/HTMLHint/pull/1836), - [#1838](https://github.com/htmlhint/HTMLHint/pull/1838), - [#1839](https://github.com/htmlhint/HTMLHint/pull/1839), - [#1840](https://github.com/htmlhint/HTMLHint/pull/1840), - [#1842](https://github.com/htmlhint/HTMLHint/pull/1842), - [#1844](https://github.com/htmlhint/HTMLHint/pull/1844), - [#1845](https://github.com/htmlhint/HTMLHint/pull/1845), - [#1847](https://github.com/htmlhint/HTMLHint/pull/1847), [#1848](https://github.com/htmlhint/HTMLHint/pull/1848), - [#1849](https://github.com/htmlhint/HTMLHint/pull/1849), - [#1853](https://github.com/htmlhint/HTMLHint/pull/1853), - [#1856](https://github.com/htmlhint/HTMLHint/pull/1856) + [#1856](https://github.com/htmlhint/HTMLHint/pull/1856), + [#1939](https://github.com/htmlhint/HTMLHint/pull/1939) ## 1.9.2 _(2026-03-05)_ diff --git a/website/src/content/docs/index.mdx b/website/src/content/docs/index.mdx index 0be4613bd..72500b262 100644 --- a/website/src/content/docs/index.mdx +++ b/website/src/content/docs/index.mdx @@ -15,7 +15,7 @@ hero: variant: minimal banner: content: | - v2.0.0-beta-1 is now available! Check the <a href="/changelog/">changelog</a> to see what's new. + v2.0.0 is now available! Check the <a href="/changelog/">changelog</a> to see what's new. tableOfContents: false lastUpdated: false editUrl: false