Repository navigation
docs: describe the Node.js 22.22.0 floor as a requirement, not a breaking change - #117
Merged
Merged
Conversation
Contributor
Author
|
Auto-normalized PR title: rewrote PR title to match the highest-priority commit type (
If this isn't what you want, edit the title — the normalizer won't re-fire as long as the title stays conventional. |
Shinrai
force-pushed
the
docs/v1.2.0-notes-requirements
branch
from
November 2, 2026 00:59
fc2c53e to
660ffc0
Compare
Shinrai
approved these changes
Nov 2, 2026
cldmv-bot Bot
added a commit
that referenced
this pull request
Nov 2, 2026
# `@cldmv/jsonv` v1.2.1 Changelog **Release Date**: November 2026 **Release Type**: Patch **Branch**: `release/1.2.1` --- ## Overview jsonv goes back to `engines.node` `>=18.0.0`. v1.2.0 raised it to `>=22.22.0`, the version the development toolchain needs, but jsonv has no dependencies and nothing in the package needs more than Node.js 18 for `import`. The toolchain floor moves to npm's `devEngines`, where it only applies to working on this repository. The parser and every public specifier are unchanged from v1.2.0. --- ## 📦 Requirements ### `engines.node` is `>=18.0.0` again ([#118](#118)) `engines.node` drops from `>=22.22.0` to `>=18.0.0`, the range v1.1.5 and earlier declared. `import` works from Node.js 18.0.0, and jsonv still runs in browsers. `require()` loads the ESM build through Node's `require(esm)`, so it needs Node.js `^20.19.0` or `>=22.13.0`; the `ERR_REQUIRE_ESM` message that every CommonJS wrapper throws on a Node.js without `require(esm)` now names that range instead of `>=22.22.0`. Developing the package still needs Node.js 22.22.0 or later. That floor is now declared in `devEngines` (`runtime` `node` `>=22.22.0`, `onFail: "error"`), so npm enforces it in a checkout of this repository and never for consumers installing the package. --- ## 🔧 CI & tooling - tsup's target is now `["es2022", "node18"]` instead of `es2022`, so the build emits only syntax that both browsers at the ES2022 level and Node.js 18 support ([#118](#118)). - The CI and publish matrices still start at Node.js 22.22.0; the `min_node_version` descriptions now say it is the dev toolchain floor and should match `devEngines`, not `engines` ([#118](#118)). ## 🧪 Tests - `tests/cjs/entry.test.cjs` checks for the new `^20.19.0 or >=22.13.0` guard message ([#118](#118)). ## 📚 Documentation - The README requirements and `docs/versioning-and-exports.md` list Node.js 18.0.0 for `import`, `^20.19.0` or `>=22.13.0` for `require()`, and the 22.22.0 `devEngines` floor for development ([#118](#118)). - The v1.2.0 notes no longer call its Node.js floor "a real requirement change" ([#117](#117)). - **NEW:** [docs/changelog/v1/v1.2.1.md](./v1.2.1.md) — this changelog. ## 🔧 Dependencies _No dependency updates._ --- ## Upgrade notes - No breaking changes — drop-in for v1.2.0. - Node.js 18 and 20 can install the package again without an `EBADENGINE` warning. On those versions, load it with `import`, or with `require()` on Node.js 20.19.0 or later. <details> <summary>👥 Contributors</summary> - @Shinrai </details> --- <!-- coverage-start -->  | Metric | Coverage | |--------|----------| | Statements | 98.7% | | Branches | 97.3% | | Functions | 100.0% | | Lines | 98.8% | *Avg: **98.7%** · `b054636` · Node lts/** <!-- coverage-end --> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rewords the Node.js floor in the v1.2.0 notes as a requirement rather than a breaking change. Docs only.