Skip to content

Release Vale 3.28.1 - #731

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
vendor/vale/upgrade
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
vendor/vale/upgrade

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The @taskless/vale-* packages are published ahead of what
@taskless/cli pins.

This moves every @taskless/vale-* pin from 3.27.0-20261117230017 to
3.28.1-20261130004639 — Vale 3.28.1 — and regenerates
pnpm-lock.yaml. The pins move together on purpose: the platform
packages are selected by optional dependency, so a straggler left at
the old version is a different Vale on one platform than on the others,
and the grammar package must match the binaries that read it.

It also moves VALE_VERSION in capabilities.ts to
3.28.1 and regenerates src/generated/vale-vocabulary.ts
from the new binary, and the workflow ran
engine-version-consistency against the result before pushing. What
this does not carry is judgment: if the contract suites below
report a failure, Vale 3.28.1 changed a measured behaviour,
and that edit, the update ledger, any migration, and the release
note's prose belong in a child pull request. So does a row for each
format reader listed below.

This is the half that reaches a user. Republishing the platform
packages changes nobody's install, because the CLI pins each one
exactly; merging this is what ships the new Vale.

This pull request rolls: if another set is published before it merges,
the branch, title, and body are rewritten to the newer version rather
than a second pull request being opened. Push a commit to the branch
and that stops — the workflow will not force-push over a commit it did
not write.

Measured against Vale 3.28.1

Compared with 3.27.0, which is what main pins. Validate on a pull request this workflow opens waits for a maintainer to approve it, so this section is the check that ran.

Contract suites

5 of 278 failed. The new Vale changed a recorded behaviour. The measured edit, the update ledger, and any migration belong in a child pull request that merges down into this branch.

vale-vendor-contract.test.ts > Vale engine capabilities fails the whole run on .adoc, needing asciidoctor
  AssertionError: .adoc no longer fails: expected +0 not to be +0 // Object.is equality
vale-vendor-contract.test.ts > Vale engine capabilities fails the whole run on .asc, needing asciidoctor
  AssertionError: .asc no longer fails: expected +0 not to be +0 // Object.is equality
vale-vendor-contract.test.ts > Vale engine capabilities fails the whole run on .asciidoc, needing asciidoctor
  AssertionError: .asciidoc no longer fails: expected +0 not to be +0 // Object.is equality
vale-vendor-contract.test.ts > Vale engine capabilities fails the whole run on .rest, needing rst2html
  AssertionError: .rest no longer fails: expected +0 not to be +0 // Object.is equality
vale-vendor-contract.test.ts > Vale engine capabilities fails the whole run on .rst, needing rst2html
  AssertionError: .rst no longer fails: expected +0 not to be +0 // Object.is equality

Format readers upstream added

  • internal/lint/markdoc.go

Each can route an extension that VALE_FORMAT_TIERS in capabilities.ts has no row for, and an unlisted extension is never probed. Find where internal/core/format.go sends it, probe the extension against the new binary, and add a row. A reader that needs an external converter is the dangerous case: the missing row becomes a crash that aborts every Vale rule in the run. A file whose first line is //go:build js belongs to the WebAssembly build only, and the CLI never reaches it. (diff)

Extension routing (internal/core/format.go)

Changed. An extension added to FormatByExtension is a format Vale learned, even when no reader file was added. Probe each one against the new binary and add a row to VALE_FORMAT_TIERS.

@@ -139,6 +139,7 @@ var FormatByExtension = map[string][]string{
 	`\.(?:lua)$`:                             {".lua", "code"},
 	`\.(?:md|mdown|markdown|markdn|[Rr]md)$`: {".md", "markup"},
 	`\.(?:mdx)$`:                             {".mdx", "markup"},
+	`\.(?:mdoc|markdoc)$`:                    {".mdoc", "markup"},
 	`\.(?:myst)$`:                            {".myst", "markup"},
 	`\.(?:qdoc|qdocinc)$`:                    {".qdoc", "markup"},
 	`\.(?:qmd)$`:                             {".qmd", "markup"},

Upstream release notes — 3.28.1

https://github.com/vale-cli/vale/releases/tag/v3.28.1

Changelog

  • 58f0dbfb fix: A raw-scoped rule keeps its spaces literal
  • 36d46a8f fix: Only a space between words matches a line wrap

@github-actions github-actions Bot added automated Opened and maintained by a workflow, not a person. Read the PR body for what to do with it. vale-upgrade Vale pin bump from vale-upgrade.yml. A rolling PR: each release rewrites it. labels Nov 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Opened and maintained by a workflow, not a person. Read the PR body for what to do with it. vale-upgrade Vale pin bump from vale-upgrade.yml. A rolling PR: each release rewrites it.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants