feat: add Gen 1 maintenance mode deprecation warning#14776
Open
Simone319 wants to merge 1 commit intoaws-amplify:devfrom
Open
feat: add Gen 1 maintenance mode deprecation warning#14776Simone319 wants to merge 1 commit intoaws-amplify:devfrom
Simone319 wants to merge 1 commit intoaws-amplify:devfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds a non-suppressible deprecation warning to the Amplify Gen 1 CLI that is printed on every invocation.
Why
AWS Amplify Gen 1 enters maintenance mode on May 1, 2026 and reaches end of life on May 1, 2027. During maintenance mode only critical bug fixes and security patches will be provided. Users must be proactively notified to migrate to Gen 2.
Details
\x1b[33m) for visual emphasis, with a reset (\x1b[0m) at the end.run()(beforedeleteOldVersion()). It cannot be suppressed or silenced.Warning text
Testing
node packages/amplify-cli/bin/amplify version # Warning appears on stderr before normal outputChecklist
packages/amplify-cli/src/index.ts)