atmos icon indicating copy to clipboard operation
atmos copied to clipboard

Atmos should warn if not on latest version

Open osterman opened this issue 3 years ago • 4 comments
trafficstars

what

  • Emit a warning to STDERR that an out-of-date version of atmos is in use
  • Support a atmos.yaml configuration setting to specify a list acceptable semver ranges
  • Use the https://api.github.com/repos/cloudposse/atmos/releases API to determine the latest release satisfying semver ranges

why

Atmos is under active development. Bugs are constantly fixed. Older versions cause grief that could be avoided by upgrading.

example

versions:
- '~> 1.4'
- '! 1.4.2'
atmos version
1.4.1
atmos terraform plan...
WARNING: Latest version of atmos is 1.4.2; you're using atmos 1.4.1
...

osterman avatar Nov 23 '22 14:11 osterman

image

osterman avatar Feb 22 '23 15:02 osterman

updating to the latest version breaks all the scrolling on the site. We'll have to review all of that and prob add/update some CSS before updating.

(this is usually happens with Node, React and other JS frameworks - too many dependencies, too many people involved, they can't test everything, so in my experience, it almost always breaks one thing or another)

aknysh avatar Feb 22 '23 15:02 aknysh

updating to the latest version breaks all the scrolling on the site.

To be clear, I'm not talking about docusarus, but atmos itself should emit a dialog like this if there's a newer version available.

osterman avatar Mar 30 '23 21:03 osterman

https://cloudposse.atlassian.net/browse/DEV-903

llpham14 avatar Apr 24 '23 01:04 llpham14