Skip to content

v1.127.0

Compare
Choose a tag to compare
@cloudposse-releaser cloudposse-releaser released this 15 Dec 17:53
· 12 commits to refs/heads/main since this release
b205a0d
Implement Atmos version check configuration and functionality @Listener430 (#844)

what

  • Implement Atmos version check configuration and functionality
  • Add the --check flag to the atmos version command to force it to check for the latest Atmos release (regardless of the enabled flag and the cache config) and print the upgrade message
  • Add the version config section version in atmos.yaml
  • Update docs

why

  • Remove unnecessary upgrade message for some Atmos commands
  • Introduce config mechanism to turn on/off the update notifications and their frequency
  • The --check flag for the atmos version command forces it to check for the latest Atmos release (regardless of the enabled flag and the cache config) and print the upgrade message
atmos version --check

before for non --help command, the Atmos upgrade box was displayed:

terraform_apply_before_fix

now:
terraform_apply_after_fix

Added the version config section in atmos.yaml:

version:
  check:
    enabled: true
    timeout: 1000 # ms
    frequency: 1h

atmosyaml

.atmos/cache.yaml file is generated with time stamp:

cache_yaml

and the upgrade box is not displayed until the time interval exceed the specified in the config

atmos_secondtime_running_help_no_box