Skip to content

Oclif4#22

Draft
pviti wants to merge 10 commits intomainfrom
oclif4
Draft

Oclif4#22
pviti wants to merge 10 commits intomainfrom
oclif4

Conversation

@pviti
Copy link
Copy Markdown
Member

@pviti pviti commented Apr 28, 2026

  • Upgrade to oclif v4: Bumps @oclif/core from ^3.27.0 to ^4.10.6 and @oclif/test from ^3.2.15 to ^4.1.18; removes deep @oclif/core/lib/interfaces import for CommandError across base.ts and all four command files
  • Switch to oclif4 dist-tags for internal packages: Updates @commercelayer/cli-core, @commercelayer/cli-ux, and @commercelayer/cli-dev to the oclif4 dist-tag
  • Node.js engine bump: Raises the minimum required Node.js version from >=20 to >=22
  • Error handler cleanup: handleError signature changed from CommandError to unknown — all call sites in create.ts, details.ts, group.ts, and list.ts updated to remove the now-unnecessary cast
  • Dependency updates: Bumps @biomejs/biome, @oclif/plugin-help, @commercelayer/sdk, and typescript
  • Test suite migration: All 5 test files updated from the chained @oclif/test DSL to async/await runCommand API (@oclif/test v4)
  • CI/CD improvements: Updates all GitHub Actions to their latest major versions (actions/checkout@v6, actions/setup-node@v6, pnpm/action-setup@v5, github/codeql-action@v4), adds webhook-type: incoming-webhook to the Slack action, and adds the oclif4 branch to the semantic-release trigger list

pviti and others added 10 commits March 26, 2026 21:07
BRAKING CHANGE: upgrade to oclif core v4
# [3.3.0-oclif4.1](v3.2.2...v3.3.0-oclif4.1) (2026-03-26)

### Features

* upgrade to oclif core v4 ([5776020](5776020))
# [3.3.0-oclif4.2](v3.3.0-oclif4.1...v3.3.0-oclif4.2) (2026-04-20)

### Bug Fixes

* fix publish workflow ([deaba56](deaba56))
BREAKIING CHANGE: Migrate to oclif4
# [3.3.0-oclif4.3](v3.3.0-oclif4.2...v3.3.0-oclif4.3) (2026-04-28)

### Bug Fixes

* run tests in updates workflow ([474fa5e](474fa5e))
* update dependencies and add updates workflow ([c6c0583](c6c0583))
BREAKING CHANGE: upgrade to oclif4
# [4.0.0-oclif4.1](v3.3.0-oclif4.3...v4.0.0-oclif4.1) (2026-04-28)

### Features

* update dependencies ([71973a3](71973a3))

### BREAKING CHANGES

* upgrade to oclif4
@pviti
Copy link
Copy Markdown
Member Author

pviti commented Apr 28, 2026

🎉 This PR is included in version 4.0.0-oclif4.1 🎉

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants