mirror of
https://github.com/rudrankriyam/App-Store-Connect-CLI.git
synced 2026-04-25 15:45:48 +03:00
[GH-ISSUE #555] validate warns about empty whatsNew on initial v1.0 releases #151
Labels
No labels
bug
bug
documentation
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/App-Store-Connect-CLI#151
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @danfry1 on GitHub (Feb 15, 2026).
Original GitHub issue: https://github.com/rudrankriyam/App-Store-Connect-CLI/issues/555
Description
The
validatecommand warns about an emptywhatsNewfield on initial App Store releases (v1.0), but Apple doesn't support "What's New" for first submissions — only for updates.Steps to Reproduce
asc validate --app "APP_ID" --version-id "VERSION_ID" --platform IOS --strictActual Behavior
With
--strict, this causes a non-zero exit code.Expected Behavior
The
validatecommand should skip thewhatsNewcheck for initial releases (v1.0), since Apple does not allow setting it.Notes
The
localizations uploadcommand already handles this correctly — when uploading with awhatsNewvalue on a v1.0 release, it prints:So the awareness is already there in the upload path, just not in the validate path.
@rudrankriyam commented on GitHub (Feb 15, 2026):
Yeah oops. I had made it optional for the exact reason but should do better handling
@rudrankriyam commented on GitHub (Feb 15, 2026):
@cursor please fix this and add any relevant tests
@cursor[bot] commented on GitHub (Feb 15, 2026):
I fixed
asc validateso it does not warn about an emptywhatsNewon initial releases (detected viaversionStringbeing1.0,1.0.0, etc.). This prevents--strictfrom failing solely due to the “What’s New is empty” warning on first submissions.Tests added:
internal/validation/required_fields_test.go: assertsmetadata.required.whats_newis skipped for1.0and still warns for update versions like1.0.1.internal/cli/cmdtest/validate_test.go: regression test thatasc validate --strictsucceeds for a v1.0 version localization with missing/emptywhatsNew.Verification I ran:
make formatmake lintASC_BYPASS_KEYCHAIN=1 make testASC_BYPASS_KEYCHAIN=1 go test -v ./internal/cli/cmdtest -run TestValidateSkipsWhatsNewOnInitialReleaseChanges are committed and pushed to
cursor/v1-0-whatsnew-validation-17f2.@rudrankriyam commented on GitHub (Feb 15, 2026):
Resolved by #556 (merged).
asc validatenow skips the emptywhatsNewwarning on initial 1.0 releases so--strictdoes not fail solely for that.