Skip to content

feat!: require node 24 and automate npm releases - #62

Merged
Cherry merged 3 commits into
mainfrom
feat/node-24-semantic-release
Nov 22, 2026
Merged

Cherry merged 3 commits into
mainfrom
feat/node-24-semantic-release

Conversation

@Cherry

@Cherry Cherry commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Summary

  • engines is now >= 24, and CI tests on Node 24 and 26. postman-request moves from 2.88.1-postman.49 to 2.88.1-postman.52; async and lodash are already current.
  • Linting moves from ESLint 8 with .eslintrc.json to ESLint 10 with a flat config on @nodecraft/eslint-config 54. JSON linting moves from eslint-plugin-json to eslint-config's json config.
  • New lint findings are fixed without behavior changes: ||=, .includes() for repeated comparisons, a destructured node:crypto import, declared authData/downloadUrl fields, and the constructor moved below the static helpers. The 4 remaining no-this-assignment warnings are left alone, since fixing them means rewriting the callback-heavy upload code.
  • mocha moves to 12. nock stays on 14 because upstream says 15.0.0 was published by accident (6 tests fail under it), and Dependabot is set to skip nock majors.
  • Removes 8 test files that only contained // TODO.
  • Releases are automated with semantic-release and npm trusted publishing, matching eslint-config, stylelint-config, and commitlint-config. The coveralls action moves from v1 to v2.3.8 and reports once, from Node 26.
  • A v1.1.4 tag on the 1.1.4 release commit is pushed as the starting point, so this PR should release 2.0.0.

Merging

Squash merge keeps every commit message in the body, so the BREAKING CHANGE: footer reaches semantic-release. If you edit the squash message, keep that footer or no major release is cut.

BREAKING CHANGE: requires Node >= 24.

Move linting to ESLint 10 flat config on @nodecraft/eslint-config 54 and fix the new lint findings without changing behavior. Bump mocha to 12 and keep nock on 14, since nock 15.0.0 was published by accident. Remove empty placeholder test files.

BREAKING CHANGE: requires Node >= 24.
Publish via npm trusted publishing, add actions.lock and dependabot, test on Node 24 and 26, and update the coveralls action to v2.
The regenerated lockfile resolved the 2019 2.88.1-postman.8-beta.1 build, since it sorts above numbered postman releases in semver and the newest release was inside the min-release-age window.
@Cherry
Cherry merged commit 261e1af into main Nov 22, 2026
4 checks passed
@Cherry
Cherry deleted the feat/node-24-semantic-release branch November 22, 2026 00:53
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant