-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version transitions in CLI outputs #12739
Version transitions in CLI outputs #12739
Conversation
- Updated the upgrade function to include the current version in the upgrade message format. - Modified test assertions to reflect the new message format. Background & Motivation: The current output format lacks clarity in showing version changes. Adding a simple 'from → to' format improves visibility and developer experience when updating Astro packages. Before: @astrojs/tailwind can be updated to v5.1.3 After: @astrojs/tailwind can be updated v4.0.0 → v5.1.3 This change: - Makes the upgrade process "more transparent" - Simplifies version change tracking - Improves DX during updates See withastro/roadmap#1069
🦋 Changeset detectedLatest commit: 0692110 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
This is opinionated, I am open to any adjustments |
- Remove 'to' particle from update messages - Adjusted spacing in version comparison output - Update tests to match the spacing Before: ▲ astro can be updated to v1.0.0 → v2.0.0 After: ▲ astro can be updated v1.0.0 → v2.0.0
Last thing, can you add a patch changeset? Running |
Completely forgot about that. Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Changes
Before:
After:
Testing
Updated existing test suite by modifying test assertions to verify new message format
Docs
Should be self-explanatory
Additional
Coming from withastro/roadmap#1069