From e875e731bb22f9d3e9a88d59c068bb12a6c7ad7f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 2 Nov 2026 22:11:06 +0000 Subject: [PATCH] [ci] release --- .changeset/concise-attr-group-without-name.md | 5 ----- .changeset/concise-semicolon-line.md | 5 ----- .changeset/concise-tag-name-hyphen.md | 5 ----- .changeset/open-tag-ended-before-name.md | 5 ----- CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 6 files changed, 13 insertions(+), 21 deletions(-) delete mode 100644 .changeset/concise-attr-group-without-name.md delete mode 100644 .changeset/concise-semicolon-line.md delete mode 100644 .changeset/concise-tag-name-hyphen.md delete mode 100644 .changeset/open-tag-ended-before-name.md diff --git a/.changeset/concise-attr-group-without-name.md b/.changeset/concise-attr-group-without-name.md deleted file mode 100644 index 7fe57f06..00000000 --- a/.changeset/concise-attr-group-without-name.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"htmljs-parser": minor ---- - -Read an attribute group (`[`) at the start of a concise line as following an empty tag name, as `.class` and `|params|` are, rather than reading its first attribute as the tag name. diff --git a/.changeset/concise-semicolon-line.md b/.changeset/concise-semicolon-line.md deleted file mode 100644 index 621eee5d..00000000 --- a/.changeset/concise-semicolon-line.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"htmljs-parser": minor ---- - -Ignore a concise line that starts with `;`, which opened a tag with no name. As after a tag's `;`, only comments may follow it. diff --git a/.changeset/concise-tag-name-hyphen.md b/.changeset/concise-tag-name-hyphen.md deleted file mode 100644 index 76678c96..00000000 --- a/.changeset/concise-tag-name-hyphen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"htmljs-parser": minor ---- - -Read a concise line starting with `-` and a word character (eg `-if`) as a tag whose name starts with `-`, as `<-if>` already is in HTML mode. A single `-` followed by anything else is still an error, and so is any single `-` within a tag that only allows text. diff --git a/.changeset/open-tag-ended-before-name.md b/.changeset/open-tag-ended-before-name.md deleted file mode 100644 index 56fe243f..00000000 --- a/.changeset/open-tag-ended-before-name.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"htmljs-parser": minor ---- - -Name an open tag that ends before its name (eg a concise line of just `,`, or `<,>`) empty, so a tag never ends without `onOpenTagName`; the compiler and editor tooling crashed on these, and `<,>` crashed the parser at the end of the template. diff --git a/CHANGELOG.md b/CHANGELOG.md index a54df458..4d3fc4ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # htmljs-parser +## 5.19.0 + +### Minor Changes + +- [#261](https://github.com/marko-js/htmljs-parser/pull/261) [`1773778`](https://github.com/marko-js/htmljs-parser/commit/1773778bf73999acf65046949c5f1d1634168ba7) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Read an attribute group (`[`) at the start of a concise line as following an empty tag name, as `.class` and `|params|` are, rather than reading its first attribute as the tag name. + +- [#261](https://github.com/marko-js/htmljs-parser/pull/261) [`1773778`](https://github.com/marko-js/htmljs-parser/commit/1773778bf73999acf65046949c5f1d1634168ba7) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Ignore a concise line that starts with `;`, which opened a tag with no name. As after a tag's `;`, only comments may follow it. + +- [#261](https://github.com/marko-js/htmljs-parser/pull/261) [`1773778`](https://github.com/marko-js/htmljs-parser/commit/1773778bf73999acf65046949c5f1d1634168ba7) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Read a concise line starting with `-` and a word character (eg `-if`) as a tag whose name starts with `-`, as `<-if>` already is in HTML mode. A single `-` followed by anything else is still an error, and so is any single `-` within a tag that only allows text. + +- [#261](https://github.com/marko-js/htmljs-parser/pull/261) [`1773778`](https://github.com/marko-js/htmljs-parser/commit/1773778bf73999acf65046949c5f1d1634168ba7) Thanks [@DylanPiercey](https://github.com/DylanPiercey)! - Name an open tag that ends before its name (eg a concise line of just `,`, or `<,>`) empty, so a tag never ends without `onOpenTagName`; the compiler and editor tooling crashed on these, and `<,>` crashed the parser at the end of the template. + ## 5.18.0 ### Minor Changes diff --git a/package.json b/package.json index 19b94417..43a85230 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "htmljs-parser", - "version": "5.18.0", + "version": "5.19.0", "description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values", "keywords": [ "HTML",