fix: complete partial v5-stable LTS release (publish remaining packages)#14843
Merged
Conversation
|
The previous v5 release published only ~6 of the package set before lerna aborted on a failed amazon-cognito-identity-js postpublish dist-tag hook, leaving aws-amplify@5.3.34, @aws-amplify/datastore@4.7.23 (RN uuid-v11 fix, \#14842), @aws-amplify/api, @aws-amplify/auth, datastore-storage-adapter, predictions, and pubsub unpublished on the stable-5 tag. This is a no-op comment touching every package so lerna --conventional-commits treats them all as changed and republishes the full v5 suite to stable-5 at a fresh consistent version. No functional code change.
d443384 to
2fe3050
Compare
ahmedhamouda78
approved these changes
Jun 15, 2026
bobbor
approved these changes
Jun 15, 2026
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
Triggers a full v5-stable LTS release to complete the previous partial publish. Adds a one-line no-op comment to the entry file of every publishable package so
lerna publish --conventional-commitsdetects all of them as changed and republishes the entire v5 suite to thestable-5dist-tag at a fresh, consistent version. No functional code change.Why this is needed
The prior release run published only part of the suite.
lerna publish --dist-tag=stable-5aborted partway when thepostpublishdist-tag hook onamazon-cognito-identity-jsfailed (transient npm error), leaving npm split:amazon-cognito-identity-js@6.3.17,@aws-amplify/analytics@6.5.18,@aws-amplify/api-rest@3.5.19,@aws-amplify/notifications@1.6.19,@aws-amplify/storage@5.9.21.aws-amplify@5.3.34,@aws-amplify/datastore@4.7.23(the RN uuid-v11 fix, fix(datastore): load react-native-get-random-values for uuid v11 on React Native #14842),@aws-amplify/datastore-storage-adapter@2.0.66,@aws-amplify/api@5.4.22,@aws-amplify/auth@5.6.20,@aws-amplify/predictions@5.5.23,@aws-amplify/pubsub@5.6.7.Because the git tags
5.3.34/4.7.23were already pushed, a plain re-run of the publish job finds "no changed packages" and publishes nothing. Afix:-typed commit touching every package is the way to make--conventional-commitsre-release the full suite through the existing merge-to-release pipeline.Effect on merge
fix:type → lerna bumps all packages a patch level and publishes them tostable-5.stable-5with the uuid-v11 RN fix included.+2/-0comment append (blank line + comment) onsrc/index.ts(orsrc/index.jsfor cognito). 20 packages touched; no code logic altered.storage@5.9.22,cognito@6.3.18) to keep the suite version-aligned; versions5.3.34/4.7.23remain tagged-but-unpublished.v5-stableand publishes to production npmstable-5— irreversible (72h unpublish window). Please confirm before merging.Failed release job (context)
The partial publish that this PR completes occurred in the
release / Publish to Amplify Packagejob of the LTS release run:In that job,
lerna publish --dist-tag=stable-5began publishing and then aborted when thepostpublishlifecycle hook onamazon-cognito-identity-js(npm dist-tag add …) errored:Because lerna treats a failed lifecycle hook as fatal, the remaining packages were left unpublished — and since the version-bump commit and git tags (
5.3.34/4.7.23) were already pushed, simply re-running that job publishes nothing (--conventional-commitssees no changed packages since the existing tags). Hence this freshfix:commit to re-trigger a full release.