Migrating to @waiyat/devops v3.0.0
Breaking changes, new commands, updated flags, and step-by-step upgrade instructions from v2.x.
npm install --save-dev @waiyat/devops@latestnpx @waiyat/devops@latest checkBreaking Changes
These changes require action when upgrading from v2.x to v3.0.0.
Node.js Version
High Impactv2.x
Node.js v16+ supported
v3.0.0
Node.js v18.0.0 minimum (v20+ LTS recommended)
Pipeline Architecture
Medium Impactv2.x
4-step: Detector → Project IR → Diagnostics → Workflow Scaffolding
v3.0.0
5-stage: Detector → Project IR → Diagnostics → Scoring Layer → Scaffolding & Auto-Fix
Package Version
High Impactv2.x
@waiyat/devops@^2.1.0
v3.0.0
@waiyat/devops@^3.0.0
npx Invocation
Medium Impactv2.x
npx @waiyat/devops@latest (v2.x binary)
v3.0.0
npx @waiyat/devops@latest (v3.0.0 binary — always use @latest)
New Commands in v3.0.0
Three new lifecycle commands added to the CLI suite.
add <recipe>
NewScaffold a modular recipe (e.g. `security/dependency-scan`, `docker/build-push`).
npx @waiyat/devops@latest add security/dependency-scanclean [--dry-run]
NewRemove build outputs (.next, dist, coverage) and stale caches.
npx @waiyat/devops@latest clean --dry-runrelease [--dry-run]
NewSemantic versioning, changelog generation, and git release tags.
npx @waiyat/devops@latest release --dry-runUpdated Command Flags
Existing commands received new flags and options in v3.0.0.
| Command | v2.x | v3.0.0 | Example |
|---|---|---|---|
| fix | --template, -t only | Adds `--issue <category>` for granular auto-repair targeting | npx @waiyat/devops@latest fix --issue security |
| init | --template (nextjs, node, docker, etc.) | Adds `--template pro` (S4 enterprise), `--force` to overwrite | npx @waiyat/devops@latest init --template pro --force |
| doctor | --verbose, -v only | Adds `--yes` for non-interactive auto-remediation | npx @waiyat/devops@latest doctor --yes |
| check | --json, --verbose, --fix, --pr | Same flags — output now includes Scoring layer category breakdowns | npx @waiyat/devops@latest check --json |
Removed or Changed Behavior
Items that were removed or significantly changed in v3.0.0.
Minimum Node.js v16
Raised to v18.0.0 (v20+ LTS recommended)
Upgrade Node.js before installing v3.0.0
4-step pipeline
Expanded to 5-stage with dedicated Scoring layer
Review new scoring output in `check --json`
Upgrade Checklist
Need help? View full changelog or open an issue.