Skip to content

Added `aio update` and `aio rollback` commands. `New cli available` warning

Compare
Choose a tag to compare
@shazron shazron released this 07 Apr 08:58
· 267 commits to master since this release

Changelog

  • Added note about Linux containers on Windows e189977
  • feat: add update and rollback commands, and cli new version update core plugin (#132) 20bba9f
  • Update eslint-config-standard to the latest version 🚀 (#129) 07ce9cc
  • consolidate sorting tests, only test the output order and not date objects (#127) 4fccd35

feat: add update and rollback commands

The update command will update all installed plugins by checking for any updated versions in the npm registry (with --interactive mode available). Note that this will not check for any updates for any non @adobe namespaced core plugins, for compatibility reasons.

The rollback command will uninstall all user-installed plugins (with --interactive mode available).

feat: add @oclif/plugin-warn-if-update-available as a core plugin

Through a hook via the @oclif/plugin-warn-if-update-available plugin, npm is checked whether there is a newer version of the CLI available, and it will warn the user. This is shown at every command (can't turn it off) but it has a timeout of 7 days (so after 7 days of warnings, it won't prompt the user anymore).

feat: print out warning for user-installed plugins that are older or equal to core plugin versions

3.1.0...3.2.0