aws-amplify / aws-amplify/amplify-cli
"update available" messaging should display current version, latest version, and link to release notes
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
_No response_
### Is this related to another service?
_No response_
### Describe the feature you'd like to request
The "update available" messaging that is displayed when running a command on an older version of the CLI should include more information about the update including:
- current version
- latest version
- link to the release notes
### Describe the solution you'd like
A great representation of this is the pnpm update messaging:
```
╭─────────────────────────────────────────────────────────────────╮
│ │
│ Update available! 7.29.3 → 8.3.1. │
│ Changelog: https://github.com/pnpm/pnpm/releases/tag/v8.3.1 │
│ Run "corepack prepare pnpm@8.3.1 --activate" to update. │
│ │
│ Follow @pnpmjs for updates: https://twitter.com/pnpmjs │
│ │
╰─────────────────────────────────────────────────────────────────╯
```
### Describe alternatives you've considered
manually checking npm for package version and GitHub for release notes
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [X] 👋 I may be able to implement this feature request
### Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Research direction
Start by locating the CLI code that displays the existing "update available" message and trace how it obtains the installed and available versions. Confirm how release URLs are formed, then update the messaging so it shows the current version, latest version, and a link to the release notes; verify the output when an older CLI version is run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100