Commit 184edddd authored by David Sveningsson's avatar David Sveningsson Committed by HTML-validate
Browse files

chore(release): 11.12.0

## 11.12.0 (2026-09-01)

### Features

* **api:** add new `removeText()` method to `ErrorFixer` ([3484ed34](3484ed34))
* **rules:** add suggestions to `no-redundant-for` ([6798b9ca](6798b9ca))
* **rules:** make `missing-doctype` autofixable ([2c4c2e79](2c4c2e79))
* **rules:** make `no-raw-characters` autofixable ([b7e28aaa](b7e28aaa))
* **rules:** make `script-type` autofixable ([e15cb1a3](e15cb1a3))
* **rules:** make `tel-non-breaking` autofixable ([d91bc8c7](d91bc8c7))

### Bug Fixes

* **deps:** update dependency ignore to v7.0.7 ([77151ba1](77151ba1))
* **deps:** update dependency ignore to v7.0.8 ([17b64af0](17b64af0))
parent 05cc8624
Loading
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
# html-validate changelog

## 11.12.0 (2026-09-01)

### Features

- **api:** add new `removeText()` method to `ErrorFixer` ([3484ed3](https://gitlab.com/html-validate/html-validate/commit/3484ed345737486d947a473aa856089f2bfab8c7))
- **rules:** add suggestions to `no-redundant-for` ([6798b9c](https://gitlab.com/html-validate/html-validate/commit/6798b9caa08f684b3932b502e3fe0e921886cfa7))
- **rules:** make `missing-doctype` autofixable ([2c4c2e7](https://gitlab.com/html-validate/html-validate/commit/2c4c2e79c45387ab6bfd093ec62b7d1dd60fdecb))
- **rules:** make `no-raw-characters` autofixable ([b7e28aa](https://gitlab.com/html-validate/html-validate/commit/b7e28aaadd608a36ad19b6eb9de46f8e9baf3a7b))
- **rules:** make `script-type` autofixable ([e15cb1a](https://gitlab.com/html-validate/html-validate/commit/e15cb1a3dc2c713b6c222e29bfa23e1f52cb9aa8))
- **rules:** make `tel-non-breaking` autofixable ([d91bc8c](https://gitlab.com/html-validate/html-validate/commit/d91bc8c74628455cd244da503ecad14192ae2422))

### Bug Fixes

- **deps:** update dependency ignore to v7.0.7 ([77151ba](https://gitlab.com/html-validate/html-validate/commit/77151ba1bc574b9686094299ce9d96475ce75c68))
- **deps:** update dependency ignore to v7.0.8 ([17b64af](https://gitlab.com/html-validate/html-validate/commit/17b64af0900c77a6d7a0eaadbbbd5a01a71463c0))

## 11.11.0 (2026-08-30)

### Features
+2 −2
Original line number Diff line number Diff line
{
  "name": "html-validate",
  "version": "11.11.0",
  "version": "11.12.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "html-validate",
      "version": "11.11.0",
      "version": "11.12.0",
      "funding": [
        {
          "type": "github",
+1 −1
Original line number Diff line number Diff line
{
  "name": "html-validate",
  "version": "11.11.0",
  "version": "11.12.0",
  "description": "Offline HTML5 validator and linter",
  "keywords": [
    "html",
+2 −2
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@ export interface ErrorDescriptor<ContextType> {
	 * A callback for autofixing this error.
	 *
	 * @public
	 * @since %version%
	 * @since 11.12.0
	 */
	fix?: ((fixer: ErrorFixer) => void | Promise<void>) | null | undefined;

@@ -23,7 +23,7 @@ export interface ErrorDescriptor<ContextType> {
	 * A list of callbacks with suggestions for fixing this error.
	 *
	 * @public
	 * @since %version%
	 * @since 11.12.0
	 */
	suggestions?:
		| Array<{
+3 −3
Original line number Diff line number Diff line
@@ -4,14 +4,14 @@ import { type Location } from "./location";
 * Methods to modify the original source to fix errors.
 *
 * @public
 * @since %version%
 * @since 11.12.0
 */
export interface ErrorFixer {
	/**
	 * Replaces the text at location.
	 *
	 * @public
	 * @since %version%
	 * @since 11.12.0
	 * @param location - The location of text to replace.
	 * @param replacement - The text to replace current text with.
	 */
@@ -45,7 +45,7 @@ export interface ErrorFixer {
	 * Resulting in `<div>` instead of `<div >`
	 *
	 * @public
	 * @since %version%
	 * @since 11.12.0
	 * @param location - The location of text to remove.
	 * @param options - Options
	 */
Loading