Skip to content

ci: use the template's min_node_version wording (dev toolchain floor, devEngines) - #96

Merged
Shinrai merged 1 commit into
nextfrom
ci/min-node-wording
Nov 2, 2026
Merged

Shinrai merged 1 commit into
nextfrom
ci/min-node-wording

Conversation

@cldmv-bot

@cldmv-bot cldmv-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

🚀 What's Changed

💥 Breaking Changes

No breaking changes

✨ Features

No new features

🐛 Bug Fixes

No bug fixes

📦 Dependencies

No dependency updates

🔧 Other Changes

  • ci: use the template's min_node_version wording (dev toolchain floor, devEngines) (d121ba1)
👥 Contributors

@cldmv-bot cldmv-bot Bot added ! ci → next v4 flow: ci contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files labels Nov 2, 2026
@Shinrai
Shinrai merged commit d782b37 into next Nov 2, 2026
31 checks passed
@cldmv-bot
cldmv-bot Bot deleted the ci/min-node-wording branch November 2, 2026 01:28
cldmv-bot Bot added a commit that referenced this pull request Nov 2, 2026
# HoldMyTask v2.1.1 Changelog

**Release Date**: November 2026
**Release Type**: Patch
**Branch**: `release/2.1.1`

---

## Overview

v2.1.1 sets `engines.node` back to the Node.js version the package needs at runtime, `>=18.12.0`, instead of the 22.22.0 development toolchain floor that v2.1.0 put there. The 22.22.0 floor moves to npm's `devEngines`, which only applies when you work on this repository.

The queue, its options and the exports are the same as in v2.1.0. Installs on Node.js 18.12 through 22.21 no longer get an `EBADENGINE` warning.

---

## 🐛 Bug Fixes

### `engines.node` is the runtime floor again ([#94](#94))

v2.1.0 raised `engines.node` from `>=18.12` to `>=22.22.0` because the development toolchain (tsup 9 among others) doesn't run on earlier 22.x releases. The published package doesn't need any of that toolchain, so the floor was stricter than the code. `engines.node` is `>=18.12.0` again, and the bundles are built for `node18` (tsup `target`, was `node20`).

`import` works on Node.js 18.12.0 and later. `require("@cldmv/holdmytask")` loads the ES module build synchronously, which needs `require(esm)`: Node.js ^20.19.0 or >=22.13.0. On a Node.js without it, the CommonJS entry now says exactly that (`require() needs Node.js ^20.19.0 or >=22.13.0`, code `ERR_REQUIRE_ESM`) and points to `import()`; v2.1.0's message asked for 22.22.0.

## 📦 Requirements

- **Runtime:** Node.js 18.12.0 or later for `import` (`engines.node` is `>=18.12.0`, was `>=22.22.0`). `require()` needs Node.js ^20.19.0 or >=22.13.0; use `import()` on older versions.
- **Development:** working on this repository needs Node.js 22.22.0 or later, declared in `devEngines.runtime` with `onFail: "error"`. This doesn't affect anyone installing the package.

## 🔧 CI & tooling

- The CI and publish workflows keep `min_node_version` at 22.22.0; its description and a comment now say it's the dev toolchain floor and should match `devEngines`, not `engines` ([#94](#94), [#96](#96)).

## 📚 Documentation

- **NEW:** [docs/changelog/v2/v2.1.1.md](./v2.1.1.md): this changelog.
- README: the requirements list the `import` floor, the `require()` range and the development floor separately, and the CommonJS example names the `require()` range ([#94](#94)).
- The v2.1.0 changelog lists its Node.js floor under Requirements instead of Breaking Changes ([#93](#93)).
- README What's New promoted to v2.1.1.

---

## Upgrade notes

- No breaking changes; drop-in for v2.1.0. Apart from the CommonJS entry's error message and the `node18` build target, no library code changed.
- If you stayed on v2.0.6 because of v2.1.0's 22.22.0 floor, v2.1.1 installs on Node.js 18.12 and later again. `@cldmv/holdmytask/main` is still a deprecated alias, as in v2.1.0.



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

- @Shinrai

</details>

---

<!-- coverage-start -->

![coverage](https://img.shields.io/badge/coverage-77.8%25-green?style=for-the-badge&logo=vitest&logoColor=white)

| Metric | Coverage |
|--------|----------|
| Statements | 80.8% |
| Branches   | 75.4% |
| Functions  | 73.4% |
| Lines      | 81.9% |

*Avg: **77.8%** · `aed3573` · Node lts/**

<!-- coverage-end -->

<!-- co-authors -->

Co-authored-by: Shinrai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

! ci → next v4 flow: ci contributor PR targeting the next integration branch type: ci Changes to CI workflows, actions, or build pipelines type: config Changes to repository or project configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant