From 4240275d5d47a6e80ce4b09042649baa868409be Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 20 Apr 2026 11:36:24 +0900 Subject: [PATCH 1/3] 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 db5682af754c0479587add428190bac8b141b6e5 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 20 Apr 2026 11:40:40 +0900 Subject: [PATCH 2/3] 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 47b4dead266661368aa7ff103f1e9266ea3b2acb Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 20 Apr 2026 11:43:02 +0900 Subject: [PATCH 3/3] 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