Skip to content

[FEATURE] Add guida upgrade command#141

Merged
decioferreira merged 2 commits intomasterfrom
upgrade
Mar 12, 2026
Merged

[FEATURE] Add guida upgrade command#141
decioferreira merged 2 commits intomasterfrom
upgrade

Conversation

@decioferreira
Copy link
Copy Markdown

This fixes #138.

This PR adds a new guida upgrade command to safely upgrade project dependencies without manual editing of guida.json or elm.json.

The command:

  • Reads guida.json or elm.json
  • Upgrades direct dependencies to the newest compatible versions (safe mode, same major)
  • Includes direct test-dependencies in the upgrade plan
  • Updates application versions and package constraints deterministically
  • Verifies the resulting project and rolls back on verification failure
  • Reports planned dependency changes and clear errors when no valid upgrade is possible

@decioferreira decioferreira merged commit 0c955ce into master Mar 12, 2026
3 checks passed
@decioferreira decioferreira deleted the upgrade branch March 12, 2026 21:28
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.

[FEATURE] Add guida upgrade command

1 participant