Skip to content

release: v1.2.0 - #75

Merged
cldmv-bot[bot] merged 43 commits into
masterfrom
next
Nov 30, 2026
Merged

cldmv-bot[bot] merged 43 commits into
masterfrom
next

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

@cldmv/envm v1.2.0 Changelog

Release Date: November 2026
Release Type: Minor
Branch: release/1.2.0


Overview

require("@cldmv/envm") now returns the envManager object itself, so require(x).set(…) works. It still carries .envManager, and gains .default, so every v1.1.0 call keeps working. The CommonJS entry is the generic CLDMV shim, and dist/ is built one file per module instead of as tsup bundles, so the CLI no longer ships a second copy of the library.

This release also fixes three bugs. A typo'd or missing scope was accepted and silently did nothing, or wrote the system registry on Windows. The CLI could take a flag as a value or edit the wrong variable. And backup.purge() never deleted backups by age. Test coverage goes from about 33% to about 98%.


✨ Features

require() returns envManager itself (#87, #89)

src/index.cjs is now the generic CLDMV CommonJS shim. After the Node.js version guard it loads ./index.mjs through require(esm). The ESM entry has one export, envManager, so the shim returns that object, with .default and .envManager both pointing back at it. v1.1.0's entry was module.exports = require("./index.mjs"), which returned the module namespace.

#87 switched to the shim when it still returned the bare object with no names, which would have broken require(x).envManager and const { envManager } = require(x). #89 puts .default and the ESM name back on it before any release, so nothing that worked in v1.1.0 breaks. Measured against the built package:

require("@cldmv/envm") v1.1.0 v1.2.0
result { envManager } the envManager object
.envManager.set function function (.envManager is the same object)
const { envManager } = require(x) works works
.set undefined function
.default undefined the same object

ESM import { envManager } from "@cldmv/envm" is unchanged.


🐛 Bug Fixes

An unknown or missing scope is refused (#94, fixes #95)

Scope must be session, user or system, but nothing checked it. On POSIX, envManager.set("FOO", "bar", { scope: "usre" }) did nothing and reported nothing. On Windows, anything that wasn't session or user read and wrote HKLM\SYSTEM\...\Environment. The CLI ran with the bad scope, and --scope with no value became session. The new src/scope.mjs checks the scope in both platform backends, in backup listing and in the CLI before anything is read or written. A bad scope now throws Invalid scope "bogus". Valid scopes: session, user, system, and the CLI reports a --scope with no value as missing.

The CLI no longer takes a flag as a value or edits the wrong variable (#94, fixes #90)

envm set FOO --scope user stored the literal value --scope, and envm path append --values /q without --name appended to a variable called append, leaving PATH alone. The CLI now parses its arguments properly. A value flag never takes another --flag as its value, and the positional name after path is read after the op. A missing name, value, --values or backup id fails with a usage message instead of running with undefined.

backup.purge() deletes backups by age (#93, fixes #91)

The backup file timestamp was turned back into a date by replacing every dash with a colon, including those in the date part, so the result was always an Invalid Date and maxAgeDays never removed anything. Only the time part's dashes are converted now, so backups older than maxAgeDays are purged. The CLI's exit-time purge is fixed by the same change.


🔧 Build

dist/ is one file per module, no bundle (#97, fixes #85)

The two tsup bundles are replaced by scripts/build.mjs, which runs esbuild over every src/**/*.mjs file with bundle: false and the node14 target. Each module is minified on its own with names kept and written to the same path under dist/. dist/cli.mjs imports the library from dist/ instead of carrying its own copy, and src/index.cjs is still copied verbatim. The entry points and exports are unchanged.


🔧 CI & tooling

  • Test coverage goes from about 33% to about 98%, with tests for the POSIX and Windows backends, backups, the PATH helpers and the CLI (#92, fixes #3).
  • test:cjs runs the CommonJS entry check, and the new test:dist runs the Vitest suite against the built dist/ (#76).
  • The Vitest config sets the envm-dev condition with devCondition(), replacing a test.nodeOptions setting that Vitest ignored (#74).
  • ci.yml is synced with the CLDMV/.github v4.43.0 template (#84), and superseded CI runs on next and hotfixes are cancelled (#88, fixes #86).
  • The sync-release-notes companion workflow keeps GitHub Release bodies and tags in step with these changelog files (#82).
  • File headers are restamped with fix-headers 2.6.1 and 2.6.2, which write @Filename without a leading slash (#96, #98).

📚 Documentation

  • NEW: docs/changelog/v1/v1.2.0.md, this changelog.
  • README: the CommonJS section shows require() returning envManager (#87, #89), and What's New is promoted to v1.2.0.

🔧 Dependencies

Development dependencies only; envm still has no runtime dependencies.

  • CLDMV dev tools (#78, #96, #98): @cldmv/vitest-runner 1.5.6 → 1.11.5, @cldmv/configs 1.3.0 → 1.5.1 and @cldmv/fix-headers 2.2.4 → 2.6.2, with @cldmv/jsonv and @cldmv/prettier-plugin-jsonv → 1.2.4.
  • vitest and @vitest/coverage-v8 5.0.5 → 5.1.2 (#77, #96).
  • esbuild added and tsup removed (#97).

Upgrade notes

  • No breaking changes. Drop-in for v1.1.0: require(x).envManager, const { envManager } = require(x) and ESM import work as before, and require(x).set(…) and require(x).default are new.
  • A scope other than session, user or system now throws instead of silently doing nothing, or writing system scope on Windows. Check any computed scope values.
  • envm set NAME --scope … with no value now fails with a usage message instead of storing --scope.
👥 Contributors

coverage

Metric Coverage
Statements 99.2%
Branches 95.0%
Functions 98.6%
Lines 99.1%

Avg: 97.9% · 4f52d80 · Node lts/*

Co-authored-by: Shinrai [email protected]

cldmv-bot Bot and others added 2 commits November 4, 2026 17:55
…op test.nodeOptions (#74)

test.nodeOptions isn't a Vitest option, so the dev condition never
reached the workers. devCondition() from @cldmv/configs sets the
resolve/ssr conditions and test.execArgv instead.

Co-authored-by: Shinrai <[email protected]>
@cldmv-bot cldmv-bot Bot added ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: patch This release contains only backwards-compatible bug fixes type: dependencies Relates to dependency updates, version bumps, or package management labels Nov 5, 2026
@cldmv-bot

cldmv-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

🔒 Dependency Review

  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ✅ 0 package(s) with unknown licenses
  • ✅ 0 denied package(s)
  • ⚠️ 1 package(s) with OpenSSF Scorecard score < 3

Full job summary

@cldmv-bot

cldmv-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor Author

⚠️ Bundle size increased

File Raw Δ Raw Gzipped Δ Gzipped
dist/backup.mjs 2.1 kB +2.1 kB (+100.0%) ⚠️ 1.1 kB +1.1 kB
dist/cli.mjs 3.3 kB +1.2 kB (+59.5%) ⚠️ 1.5 kB +501 B
dist/index.cjs 1.9 kB +428 B (+27.3%) ⚠️ 1.1 kB +210 B
dist/index.mjs 956 B −11.7 kB (-92.6%) ✅ 387 B −3.7 kB
dist/path-utils.mjs 603 B +603 B (+100.0%) ⚠️ 377 B +377 B
dist/platform/posix.mjs 5.5 kB +5.5 kB (+100.0%) ⚠️ 1.9 kB +1.9 kB
dist/platform/win.mjs 4.4 kB +4.4 kB (+100.0%) ⚠️ 1.6 kB +1.6 kB
dist/scope.mjs 318 B +318 B (+100.0%) ⚠️ 262 B +262 B
Total 19.0 kB +2.8 kB 8.2 kB +2.2 kB

📊 Generated by bundle-size. Brotli sizes also measured but omitted from the table for brevity.

test:dist only ran the CommonJS entry check, so it's test:cjs now. The new test:dist builds and runs the vitest suite with --mode=dist, so the tests that import the package by name run against dist/.
@cldmv-bot cldmv-bot Bot added area: tests Touches test files, fixtures, or test infrastructure type: documentation Relates to docs, README updates, guides, or inline code comments labels Nov 8, 2026
dependabot Bot and others added 4 commits November 11, 2026 09:34
Bumps the patch group with 1 update: [@cldmv/fix-headers](https://github.com/CLDMV/fix-headers).


Updates `@cldmv/fix-headers` from 2.2.4 to 2.2.6
- [Release notes](https://github.com/CLDMV/fix-headers/releases)
- [Commits](CLDMV/fix-headers@v2.2.4...v2.2.6)

---
updated-dependencies:
- dependency-name: "@cldmv/fix-headers"
  dependency-version: 2.2.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps the vitest group with 1 update:
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest).

Updates `vitest` from 5.0.5 to 5.1.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v5.1.0</h2>
<h3>   🚀 Features</h3>
<ul>
<li>Add <code>--last-failed</code> to run only failed tests  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11558">vitest-dev/vitest#11558</a>
<a href="https://github.com/vitest-dev/vitest/commit/82f634220"><!-- raw
HTML omitted -->(82f63)<!-- raw HTML omitted --></a></li>
<li>Support <code>Temporal.Instant</code> and
<code>Temporal.ZonedDateTime</code> in <code>vi.setSystemTime()</code>
 -  by <a
href="https://github.com/Prajwal2246"><code>@​Prajwal2246</code></a>,
<strong>Prajwal2246</strong>, <strong>Claude Opus 5.5 (1M
context)</strong>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11321">vitest-dev/vitest#11321</a>
<a href="https://github.com/vitest-dev/vitest/commit/f150f5108"><!-- raw
HTML omitted -->(f150f)<!-- raw HTML omitted --></a></li>
<li>Introduce <code>--since-last-run</code> flag  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11516">vitest-dev/vitest#11516</a>
<a href="https://github.com/vitest-dev/vitest/commit/08bd93b7e"><!-- raw
HTML omitted -->(08bd9)<!-- raw HTML omitted --></a></li>
<li>Expose per-retry/repeat attempt result  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>Codex (GPT-6)</strong> and <strong>Claude Opus 5.5 (1M
context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11232">vitest-dev/vitest#11232</a>
<a href="https://github.com/vitest-dev/vitest/commit/21be412ed"><!-- raw
HTML omitted -->(21be4)<!-- raw HTML omitted --></a></li>
<li>Support fake timers for <code>node:timers</code> and
<code>node:timers/promise</code>  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a>,
<strong>OpenCode</strong> and <strong>Codex (GPT-6)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10899">vitest-dev/vitest#10899</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe973cae"><!-- raw
HTML omitted -->(fbe97)<!-- raw HTML omitted --></a></li>
<li>Allow coverage providers to store data in fs module cache  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11747">vitest-dev/vitest#11747</a>
<a href="https://github.com/vitest-dev/vitest/commit/54a2bdb81"><!-- raw
HTML omitted -->(54a2b)<!-- raw HTML omitted --></a></li>
<li>Interactively review failed snapshots  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> and <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11325">vitest-dev/vitest#11325</a>
<a href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a"><!-- raw
HTML omitted -->(54e5b)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Mock modules through an import map  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11534">vitest-dev/vitest#11534</a>
<a href="https://github.com/vitest-dev/vitest/commit/707f8adf4"><!-- raw
HTML omitted -->(707f8)<!-- raw HTML omitted --></a></li>
<li>Drop experimental label from trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11518">vitest-dev/vitest#11518</a>
<a href="https://github.com/vitest-dev/vitest/commit/44c3c2fcf"><!-- raw
HTML omitted -->(44c3c)<!-- raw HTML omitted --></a></li>
<li>Introduce experimental <code>pointer</code> API  -  by <a
href="https://github.com/macarie"><code>@​macarie</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/10780">vitest-dev/vitest#10780</a>
<a href="https://github.com/vitest-dev/vitest/commit/5dc09f0ea"><!-- raw
HTML omitted -->(5dc09)<!-- raw HTML omitted --></a></li>
<li>Capture aria snapshot in trace view  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11492">vitest-dev/vitest#11492</a>
<a href="https://github.com/vitest-dev/vitest/commit/0cc39fb90"><!-- raw
HTML omitted -->(0cc39)<!-- raw HTML omitted --></a></li>
<li>Show trace steps timeline on terminal on test failure  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11594">vitest-dev/vitest#11594</a>
<a href="https://github.com/vitest-dev/vitest/commit/973dc84be"><!-- raw
HTML omitted -->(973dc)<!-- raw HTML omitted --></a></li>
<li>Add failure-only trace view mode  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11612">vitest-dev/vitest#11612</a>
<a href="https://github.com/vitest-dev/vitest/commit/d5d7d2f06"><!-- raw
HTML omitted -->(d5d7d)<!-- raw HTML omitted --></a></li>
<li>Enable failure-only trace view by default  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11766">vitest-dev/vitest#11766</a>
<a href="https://github.com/vitest-dev/vitest/commit/f37b6b707"><!-- raw
HTML omitted -->(f37b6)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>coverage</strong>:
<ul>
<li>V8 to support <code>ignoreNode</code> option  -  by <a
href="https://github.com/erickserra"><code>@​erickserra</code></a> and
<a href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11688">vitest-dev/vitest#11688</a>
<a href="https://github.com/vitest-dev/vitest/commit/e02db0869"><!-- raw
HTML omitted -->(e02db)<!-- raw HTML omitted --></a></li>
</ul>
</li>
<li><strong>experimental</strong>:
<ul>
<li>Add trace timeline for node  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11753">vitest-dev/vitest#11753</a>
<a href="https://github.com/vitest-dev/vitest/commit/4e9855151"><!-- raw
HTML omitted -->(4e985)<!-- raw HTML omitted --></a></li>
<li>Add message option to vi.waitFor and vi.waitUntil  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11754">vitest-dev/vitest#11754</a>
<a href="https://github.com/vitest-dev/vitest/commit/fd145d8d6"><!-- raw
HTML omitted -->(fd145)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Rerun setup files after <code>--changed</code> filtering  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11621">vitest-dev/vitest#11621</a>
<a href="https://github.com/vitest-dev/vitest/commit/3a39cfc54"><!-- raw
HTML omitted -->(3a39c)<!-- raw HTML omitted --></a></li>
<li>Return the mock to concurrent imports  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11623">vitest-dev/vitest#11623</a>
<a href="https://github.com/vitest-dev/vitest/commit/1453ba690"><!-- raw
HTML omitted -->(1453b)<!-- raw HTML omitted --></a></li>
<li>Don&amp;<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/39">#39</a>;t
fail on console log pending at teardown  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11619">vitest-dev/vitest#11619</a>
<a href="https://github.com/vitest-dev/vitest/commit/a60b8e132"><!-- raw
HTML omitted -->(a60b8)<!-- raw HTML omitted --></a></li>
<li>Reference chai types in every d.ts chunk  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11618">vitest-dev/vitest#11618</a>
<a href="https://github.com/vitest-dev/vitest/commit/fb150158b"><!-- raw
HTML omitted -->(fb150)<!-- raw HTML omitted --></a></li>
<li>Detect mock factory cycles that form later  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11642">vitest-dev/vitest#11642</a>
<a href="https://github.com/vitest-dev/vitest/commit/e95541584"><!-- raw
HTML omitted -->(e9554)<!-- raw HTML omitted --></a></li>
<li>Skip fs module cache for typed import.meta.glob  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11666">vitest-dev/vitest#11666</a>
<a href="https://github.com/vitest-dev/vitest/commit/79501f3a1"><!-- raw
HTML omitted -->(79501)<!-- raw HTML omitted --></a></li>
<li>Run tests that import a deleted file  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11669">vitest-dev/vitest#11669</a>
<a href="https://github.com/vitest-dev/vitest/commit/80aa13dd6"><!-- raw
HTML omitted -->(80aa1)<!-- raw HTML omitted --></a></li>
<li>Keep syntax highlighting in code frames  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11705">vitest-dev/vitest#11705</a>
<a href="https://github.com/vitest-dev/vitest/commit/d39f51548"><!-- raw
HTML omitted -->(d39f5)<!-- raw HTML omitted --></a></li>
<li>Respect CLI filters when prewarming browsers  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> and
<strong>Benjamin Tang</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11706">vitest-dev/vitest#11706</a>
<a href="https://github.com/vitest-dev/vitest/commit/109474892"><!-- raw
HTML omitted -->(10947)<!-- raw HTML omitted --></a></li>
<li>Read cached source as utf-8  -  by <a
href="https://github.com/juan-fernandez"><code>@​juan-fernandez</code></a>
in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11682">vitest-dev/vitest#11682</a>
and <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11709">vitest-dev/vitest#11709</a>
<a href="https://github.com/vitest-dev/vitest/commit/867a5e41c"><!-- raw
HTML omitted -->(867a5)<!-- raw HTML omitted --></a></li>
<li>Inherit <code>watch</code> from the root config in projects  -  by
<a href="https://github.com/nstepien"><code>@​nstepien</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11724">vitest-dev/vitest#11724</a>
<a href="https://github.com/vitest-dev/vitest/commit/77c122c6b"><!-- raw
HTML omitted -->(77c12)<!-- raw HTML omitted --></a></li>
<li>Prefix expect.poll message to all errors  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11756">vitest-dev/vitest#11756</a>
<a href="https://github.com/vitest-dev/vitest/commit/cab5877db"><!-- raw
HTML omitted -->(cab58)<!-- raw HTML omitted --></a></li>
<li>Support api.port 0  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11641">vitest-dev/vitest#11641</a>
<a href="https://github.com/vitest-dev/vitest/commit/3667cf8a3"><!-- raw
HTML omitted -->(3667c)<!-- raw HTML omitted --></a></li>
<li>Show attempts in test error logs of retried tests  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11696">vitest-dev/vitest#11696</a>
<a href="https://github.com/vitest-dev/vitest/commit/77a94328a"><!-- raw
HTML omitted -->(77a94)<!-- raw HTML omitted --></a></li>
<li>Preserve rootDir in project paths  -  by <a
href="https://github.com/btea"><code>@​btea</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11816">vitest-dev/vitest#11816</a>
<a href="https://github.com/vitest-dev/vitest/commit/bf96dad6a"><!-- raw
HTML omitted -->(bf96d)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Change default port to 23315  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11640">vitest-dev/vitest#11640</a>
<a href="https://github.com/vitest-dev/vitest/commit/a2ec4166d"><!-- raw
HTML omitted -->(a2ec4)<!-- raw HTML omitted --></a></li>
<li>Advance fake timers in actions and expect.element  -  by <a
href="https://github.com/julienw"><code>@​julienw</code></a>, <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11242">vitest-dev/vitest#11242</a>
<a href="https://github.com/vitest-dev/vitest/commit/6819008ce"><!-- raw
HTML omitted -->(68190)<!-- raw HTML omitted --></a></li>
<li>Drop trace view warning without html reporter  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11665">vitest-dev/vitest#11665</a>
<a href="https://github.com/vitest-dev/vitest/commit/e64075ef5"><!-- raw
HTML omitted -->(e6407)<!-- raw HTML omitted --></a></li>
<li>Detect shared chunks via the optimizer  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11661">vitest-dev/vitest#11661</a>
<a href="https://github.com/vitest-dev/vitest/commit/e2e9c64b0"><!-- raw
HTML omitted -->(e2e9c)<!-- raw HTML omitted --></a></li>
<li>Clear screenshot stability timeout  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11659">vitest-dev/vitest#11659</a>
<a href="https://github.com/vitest-dev/vitest/commit/fbe37c083"><!-- raw
HTML omitted -->(fbe37)<!-- raw HTML omitted --></a></li>
<li>Measure prepare duration with one clock  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/11667">vitest-dev/vitest#11667</a>
<a href="https://github.com/vitest-dev/vitest/commit/a3ed42a14"><!-- raw
HTML omitted -->(a3ed4)<!-- raw HTML omitted --></a></li>
<li>Keep failure screenshot per attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11694">vitest-dev/vitest#11694</a>
<a href="https://github.com/vitest-dev/vitest/commit/a5022655d"><!-- raw
HTML omitted -->(a5022)<!-- raw HTML omitted --></a></li>
<li>Print trace timeline of each attempt  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> and
<strong>Claude Opus 5.5 (1M context)</strong> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/11695">vitest-dev/vitest#11695</a>
<a href="https://github.com/vitest-dev/vitest/commit/272296e5d"><!-- raw
HTML omitted -->(27229)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/commit/7a3844954d8753fc0d5bed76a96ffd3a21716c22"><code>7a38449</code></a>
chore: release v5.1.0 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11838">#11838</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a5ec316f8e8bf133154a5d5cf43fd5437319e455"><code>a5ec316</code></a>
fix(vm): keep assignable accessor globals writable in node environment
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11834">#11834</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/e46c6c1847462d62f9ff5ea4c351fe510a4edf2e"><code>e46c6c1</code></a>
refactor: share trace types and utils (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11825">#11825</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/9e23ce57cc112205126b7d37d68126860126b953"><code>9e23ce5</code></a>
refactor(snapshot): unify review update with <code>SnapshotState</code>
update (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11790">#11790</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/a0e33cc8b063b4bd8ccd95235532d072d83f75ad"><code>a0e33cc</code></a>
chore: eliminate lint error (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11822">#11822</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/fd145d8d60fd877a2eb9622b6771edc08ef26372"><code>fd145d8</code></a>
feat(experimental): add message option to vi.waitFor and vi.waitUntil
(<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11754">#11754</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/4e985515109b4fd9fcdc2e81d2b1c5f264799cf7"><code>4e98551</code></a>
feat(experimental): add trace timeline for node (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11753">#11753</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/bf96dad6ab66fe01a1a2c008754f999399309c85"><code>bf96dad</code></a>
fix: preserve rootDir in project paths (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11816">#11816</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/54e5b8a8a0d7f007ec69b604fec3446b0e88f2c6"><code>54e5b8a</code></a>
feat: interactively review failed snapshots (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11325">#11325</a>)</li>
<li><a
href="https://github.com/vitest-dev/vitest/commit/42770759fcca4ff82ab4df49e4ee241f4f680e99"><code>4277075</code></a>
fix(expect): keep soft .resolves/.rejects error location (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/11792">#11792</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v5.1.0/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=5.0.5&new-version=5.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>
…78)

Bumps the patch group with 1 update:
[@cldmv/fix-headers](https://github.com/CLDMV/fix-headers).

Updates `@cldmv/fix-headers` from 2.2.4 to 2.2.6
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/CLDMV/fix-headers/releases">@​cldmv/fix-headers's
releases</a>.</em></p>
<blockquote>
<h2>v2.2.6</h2>
<h1><code>@cldmv/fix-headers</code> v2.2.6 Changelog</h1>
<p><strong>Release Date</strong>: November 2026
<strong>Release Type</strong>: Patch
<strong>Branch</strong>: <code>release/2.2.6</code></p>
<hr />
<h2>Overview</h2>
<p>Version 2.2.6 sets <code>engines.node</code> back to the Node.js
version the package needs at runtime, <code>&gt;=18.0.0</code>, instead
of the 22.22.0 development toolchain floor that v2.2.5 put there. The
22.22.0 floor moves to npm's <code>devEngines</code>, which only applies
when you work on this repository.</p>
<p>Header handling, the <code>fixHeaders</code> API and the CLI behave
exactly as in v2.2.5. Installs on Node.js 18 through 22.21 no longer get
an <code>EBADENGINE</code> warning.</p>
<hr />
<h2>🐛 Bug Fixes</h2>
<h3><code>engines.node</code> is the runtime floor again (<a
href="https://redirect.github.com/CLDMV/fix-headers/pull/176">#176</a>)</h3>
<p>v2.2.5 raised <code>engines.node</code> to <code>&gt;=22.22.0</code>
because the development toolchain (tsup 9 needs 22.18 or later) no
longer runs on older Node.js. The published package doesn't need any of
that toolchain, so the floor was stricter than the code.
<code>engines.node</code> is now <code>&gt;=18.0.0</code>, and the
bundles are built for <code>node18</code> (tsup <code>target</code>, was
<code>node22</code>).</p>
<p>The package is an ES module and loads with <code>import</code> on
Node.js 18 and later.
<code>require(&quot;@cldmv/fix-headers&quot;)</code> loads the ES module
build synchronously, which needs <code>require(esm)</code>: Node.js
^20.19.0 or &gt;=22.13.0. On a Node.js without it, the CommonJS entry
now says exactly that (<code>require() needs Node.js ^20.19.0 or
&gt;=22.13.0</code>, code <code>ERR_REQUIRE_ESM</code>) and points to
<code>import()</code>; v2.2.5's message asked for 22.22.0.</p>
<h2>📦 Requirements</h2>
<ul>
<li><strong>Runtime:</strong> Node.js 18.0.0 or later
(<code>engines.node</code> is <code>&gt;=18.0.0</code>, was
<code>&gt;=22.22.0</code>). <code>require()</code> needs Node.js
^20.19.0 or &gt;=22.13.0; use <code>import()</code> on older
versions.</li>
<li><strong>Development:</strong> working on this repository needs
Node.js 22.22.0 or later, declared in <code>devEngines.runtime</code>
with <code>onFail: &quot;error&quot;</code>. This doesn't affect anyone
installing the package.</li>
</ul>
<h2>🔧 CI &amp; tooling</h2>
<ul>
<li>The CI and publish workflows keep <code>min_node_version</code> at
22.22.0; its description and a comment now say it's the dev toolchain
floor and should match <code>devEngines</code>, not <code>engines</code>
(<a
href="https://redirect.github.com/CLDMV/fix-headers/pull/176">#176</a>).</li>
</ul>
<h2>📚 Documentation</h2>
<ul>
<li><strong>NEW:</strong> <a
href="https://github.com/CLDMV/fix-headers/blob/HEAD/v2.2.6.md">docs/changelog/v2/v2.2.6.md</a>:
this changelog.</li>
<li>README: the requirements list the runtime floor, the
<code>require()</code> range and the development floor separately (<a
href="https://redirect.github.com/CLDMV/fix-headers/pull/176">#176</a>).</li>
<li>The v2.2.5 changelog now lists its Node.js floor under Requirements
instead of Breaking Changes (<a
href="https://redirect.github.com/CLDMV/fix-headers/pull/175">#175</a>).</li>
<li>README What's New promoted to v2.2.6.</li>
</ul>
<hr />
<h2>Upgrade notes</h2>
<ul>
<li>No breaking changes; drop-in for v2.2.5. Apart from the CommonJS
entry's error message and the <code>node18</code> build target, no
library code changed, and header output is identical.</li>
<li>If you held back from v2.2.5 because of its 22.22.0 floor, v2.2.6
installs cleanly on Node.js 18 and later again.</li>
</ul>
<hr />
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/CLDMV/fix-headers/commit/55e8966a16ce63396d7a320adac7a77d9ea1b9e8"><code>55e8966</code></a>
release: v2.2.6 - set engines to the Node.js version the package
needs…</li>
<li><a
href="https://github.com/CLDMV/fix-headers/commit/1867d4b9f653c83b2514c8c84ba7105e9bf730e1"><code>1867d4b</code></a>
release: v2.2.5 - remove devcheck; the fix-headers-dev condition
already…</li>
<li>See full diff in <a
href="https://github.com/CLDMV/fix-headers/compare/v2.2.4...v2.2.6">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@cldmv/fix-headers&package-manager=npm_and_yarn&previous-version=2.2.4&new-version=2.2.6)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>
@cldmv-bot cldmv-bot Bot changed the title release: v1.1.1 - set the envm-dev condition with devCondition() and… release: v1.1.1 - bump @cldmv/fix-headers from 2.2.4 to 2.2.6 in the… Nov 11, 2026
Shinrai and others added 2 commits November 14, 2026 09:23
Keeps GitHub Release bodies in step with the per-version changelog files and repairs missing tags and draft releases (standard v4 set).
Adds the sync-release-notes companion workflow from the v4 template,
unchanged.
@cldmv-bot cldmv-bot Bot added type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files labels Nov 14, 2026
Shinrai and others added 5 commits November 25, 2026 01:23
The release PR no longer reruns the matrix on a commit its push run already tested (CLDMV/.github#531). The sync also brings in the NO_NODE handling added in v4.38.0.
Syncs ci.yml with the CLDMV/.github v4.43.0 template so the release PR
stops rerunning the matrix on a commit its push run already tested.
Syncs the ci.yml concurrency block with the CLDMV/.github v4.46.0 template. Only pushes to the release base branch keep a unique group per run; next, hotfixes and the release PRs cancel superseded runs, so they can't fill the org's hosted runner pool (CLDMV/.github#583).

Resolves #86
src/index.cjs is now the generic CLDMV shim: when the ESM entry has a single exported value, require() returns that value. envm exports only envManager, so require() now returns the envManager object. The CLI imports ./index.mjs and does not go through index.cjs.

Migration:
- require("@cldmv/envm") now returns the envManager object itself, not { envManager }
- require(x).envManager.set(...) becomes require(x).set(...), or const envManager = require(x)
- destructuring const { envManager } = require(x) no longer works

BREAKING CHANGE: require("@cldmv/envm") returns the envManager object instead of { envManager }.
`src/index.cjs` is now the generic CLDMV shim. The ESM entry's only
export is `envManager`, so `require("@cldmv/envm")` now returns the
`envManager` object itself instead of `{ envManager }`. That's a
breaking change for CommonJS callers.

Migration:
- `require(x).envManager.set(…)` becomes `require(x).set(…)`, or `const
envManager = require(x)`
- `const { envManager } = require(x)` no longer works

The CLI imports `./index.mjs` directly, so it's unaffected. There's no
open adopt-shim issue for this repo.
@cldmv-bot cldmv-bot Bot added the area: core Touches core library / runtime source code label Nov 28, 2026
Shinrai and others added 5 commits November 28, 2026 19:41
Fails on current code: path <op> without --name edits a variable named after the op, and set NAME --scope x stores --scope. Refs #90
path <op> without --name edited a variable named after the op, and
set NAME --scope x stored "--scope". Parse flags and positional words
separately: a flag never consumes another flag, and a missing name, value,
values or backup id is an error that prints usage.

Resolves #90
Fails on current code: the CLI and the backends accept any scope, and the Windows backend treats an unknown one as system. Refs #95
The CLI and both backends accepted any scope: the POSIX backend returned
undefined, and the Windows backend treated an unknown one as system and wrote
HKLM. Validate against session, user and system before anything is read or
written, in the backends, backup.list and the CLI, and fail with the valid
values. A --scope with no value is an error instead of a silent session.

Resolves #95
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
- fix(cjs): keep .default and the ESM names on require() (c68a289)

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- test(cjs): expect .default and the ESM name on require() (56aa83d)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
@cldmv-bot cldmv-bot Bot added the type: bug Something is broken or not behaving as expected label Nov 29, 2026
Shinrai and others added 19 commits November 28, 2026 22:32
Syncs the ci.yml concurrency block with the CLDMV/.github v4.46.0
template. Only pushes to the release base branch keep a unique group per
run. `next`, `hotfixes` and the release PRs now cancel superseded runs,
so they can't fill the org's hosted runner pool
([CLDMV/.github#583](CLDMV/.github#583)).

Resolves [#86](#86)
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
- fix: purge backups by age (19c0e0e)

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- test: purge removes backups older than maxAgeDays (5e6ff6b)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
- fix: refuse an unknown or missing scope (#94) (945f9ec)
- fix: reject a missing --name and never take a flag as a value (#94)
(55d4f10)

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- test: refuse an unknown or missing scope in the library and the CLI
(#94) (56c9da1)
- test: cli rejects flags as values and a missing --name (#94) (4d1626b)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
…CLI tests

Drives the POSIX backend against a temp HOME and system file, the Windows
backend against an in-memory registry replacing reg.exe, backup
list/restore/purge, the envManager facade and every CLI command. Adds a 90%
coverage threshold, applied to the merged report only.

Resolves #3
An unknown or missing scope is now refused, so the backend tests that
asserted undefined or a system-scope fallback expect the error instead.
…CLI tests (#92)

## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- test: expect the scope errors in the backend tests (#92) (c1efd93)
- test: raise coverage to ~98% with backends, backup, PATH helpers and
CLI tests (#92) (5ed2ebf)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
Moved @cldmv/vitest-runner to 1.11.4 (from 1.5.6), @cldmv/configs to 1.5.0, @cldmv/fix-headers to 2.6.1 (from 2.2.6), and @cldmv/jsonv and @cldmv/prettier-plugin-jsonv to 1.2.4, with npm update for the rest (eslint 10.16.0, prettier 3.10.1, @cldmv/eslint-plugin-jsonv 1.1.2, vitest and @vitest/coverage-v8 5.1.2). The CI gate (build:ci, npm test, ci:coverage) matched the baseline on origin/next in k3s-test: 67 vitest tests and 7 CJS tests passing, 86.68% lines coverage.

dependabot.yml takes the npm groups from the CLDMV/.github v4.47.0 template (CLDMV/.github#593).
@filename is now written without a leading slash; 51 files restamped.
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
- deps: bump the CLDMV dev tools (8ae12b7)

### 🔧 Other Changes
- chore: restamp file headers with fix-headers 2.6.1 (4fde14f)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
The build is now esbuild with bundle: false, emitting one minified file per source module in dist/ (dist/cli.mjs, the envm bin, imports ./index.mjs from the same folder). The require()/import shapes and exported subpaths are unchanged.

Resolves #85
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- refactor: build dist one file per module instead of bundling (f0124b6)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
… and fix-headers 2.6.2 (#98)

## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
- deps: bump the CLDMV dev tools to vitest-runner 1.11.5, configs 1.5.1
and fix-headers 2.6.2 (c831aea)

### 🔧 Other Changes
- chore: restamp file headers with fix-headers 2.6.2 (f108c2b)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
- docs: add the v1.2.0 changelog and promote What's New (a4aca8a)



<details>
<summary>👥 Contributors</summary>

- @Shinrai

</details>
## 🚀 What's Changed

### 💥 Breaking Changes
_No breaking changes_

### ✨ Features
_No new features_

### 🐛 Bug Fixes
_No bug fixes_

### 📦 Dependencies
_No dependency updates_

### 🔧 Other Changes
_No other changes_
@cldmv-bot cldmv-bot Bot changed the title release: v2.0.0 - switch the CJS entry to the generic shim release: v1.2.0 Nov 30, 2026
@cldmv-bot cldmv-bot Bot added semver: explicit This release uses an explicitly specified version rather than an auto-detected bump and removed semver: major This release includes breaking changes and bumps the major version labels Nov 30, 2026
@cldmv-bot
cldmv-bot Bot merged commit debf897 into master Nov 30, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Touches core library / runtime source code area: tests Touches test files, fixtures, or test infrastructure ! release → master v4 flow: persistent next → master release PR (carries the next feature release) release Marks a pull request as a pending release — merge to publish a new version semver: explicit This release uses an explicitly specified version rather than an auto-detected bump type: bug Something is broken or not behaving as expected type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files type: dependencies Relates to dependency updates, version bumps, or package management type: documentation Relates to docs, README updates, guides, or inline code comments type: feature Implements new functionality — a PR or issue that adds a feature

Projects

None yet

1 participant