Skip to content

Major Update to v3.0.0#110

Open
equiman wants to merge 21 commits intomainfrom
package-updates
Open

Major Update to v3.0.0#110
equiman wants to merge 21 commits intomainfrom
package-updates

Conversation

@equiman
Copy link
Copy Markdown
Member

@equiman equiman commented Apr 26, 2026

Major Update to v3.0.0

📝 Summary

This PR marks the transition to v3.0.0. The primary focus is upgrading the core CLI engine, modernizing the development environment, and aligning the project with Node.js LTS standards.

⚠️ Breaking Changes

  • Minimum Node.js version: Now requires Node.js >= 20. Support for older versions has been dropped to utilize modern features and maintain compatibility with the latest dependency updates.

🚀 Key Changes

  • Engine & Versioning: * Bumped version to v3.0.0.
    • Updated yargs to v18.0.0.
  • Tooling & Environment:
    • Updated Volta configuration to Node 24.15.0.
    • Updated TypeScript to v6.0.3.
    • Updated ESLint to v10.2.1 with the new flat config system.
  • Dependency Refresh:
    • Updated chalk (v5.6.2), find-up (v8.0.0), open (v11.0.0), and semver (v7.7.4).
    • Integrated security patches identified by Snyk.
  • Documentation: * Updated DEVELOPER.md with the new Node 20+ requirement and a streamlined local testing workflow.
    • Updated CHANGELOG.md with the v3.0.0 milestone.

🛠️ How to Test

  1. Uninstall the current global version: npm uninstall -g swpm
  2. Sync dependencies: npm ci
  3. Build the project: npm run build
  4. Link locally: cd bin && npm link
  5. Verify version: swpm --version (should return 3.0.0)
  6. Run tests: npm run test

📦 Deployment

This version is ready to be published to npm. Due to the breaking change in Node.js requirements, it is recommended to monitor the initial release via the latest tag or a temporary beta tag.

@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 26, 2026

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant