Skip to content

fix: complete partial v5-stable LTS release (publish remaining packages)#14843

Merged
osama-rizk merged 1 commit into
v5-stablefrom
chore/trigger-v5-release
Jun 15, 2026
Merged

fix: complete partial v5-stable LTS release (publish remaining packages)#14843
osama-rizk merged 1 commit into
v5-stablefrom
chore/trigger-v5-release

Conversation

@osama-rizk

@osama-rizk osama-rizk commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

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-commits detects all of them as changed and republishes the entire v5 suite to the stable-5 dist-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-5 aborted partway when the postpublish dist-tag hook on amazon-cognito-identity-js failed (transient npm error), leaving npm split:

  • Published: 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.
  • NOT published: 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.23 were already pushed, a plain re-run of the publish job finds "no changed packages" and publishes nothing. A fix:-typed commit touching every package is the way to make --conventional-commits re-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 to stable-5.
  • The 7 missing packages reach npm; the ~6 already-published ones are re-published at the new patch version. End state: the whole v5 suite is consistent on stable-5 with the uuid-v11 RN fix included.

⚠️ Reviewer / release-owner notes

  • Each change is a pure +2/-0 comment append (blank line + comment) on src/index.ts (or src/index.js for cognito). 20 packages touched; no code logic altered.
  • This intentionally re-publishes already-live packages at a new patch version (e.g. storage@5.9.22, cognito@6.3.18) to keep the suite version-aligned; versions 5.3.34/4.7.23 remain tagged-but-unpublished.
  • Merging pushes to v5-stable and publishes to production npm stable-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 Package job of the LTS release run:

In that job, lerna publish --dist-tag=stable-5 began publishing and then aborted when the postpublish lifecycle hook on amazon-cognito-identity-js (npm dist-tag add …) errored:

lerna success published @aws-amplify/notifications 1.6.19
lerna success published @aws-amplify/analytics 6.5.18
lerna success published @aws-amplify/api-rest 3.5.19
...
lerna info lifecycle amazon-cognito-identity-js@6.3.17~postpublish: amazon-cognito-identity-js@6.3.17
> npm dist-tag add $npm_package_name@$npm_package_version latest
lerna ERR! lifecycle "postpublish" errored in "amazon-cognito-identity-js", exiting 1

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-commits sees no changed packages since the existing tags). Hence this fresh fix: commit to re-trigger a full release.

@osama-rizk osama-rizk requested a review from a team as a code owner June 15, 2026 09:42
@changeset-bot

changeset-bot Bot commented Jun 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2fe3050

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@osama-rizk osama-rizk closed this Jun 15, 2026
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.
@osama-rizk osama-rizk reopened this Jun 15, 2026
@osama-rizk osama-rizk force-pushed the chore/trigger-v5-release branch from d443384 to 2fe3050 Compare June 15, 2026 10:02
@osama-rizk osama-rizk requested review from a team as code owners June 15, 2026 10:02
@osama-rizk osama-rizk changed the title chore(release): re-trigger v5-stable release to complete partial publish fix: complete partial v5-stable LTS release (publish remaining packages) Jun 15, 2026
@osama-rizk osama-rizk merged commit b17999d into v5-stable Jun 15, 2026
28 checks passed
@osama-rizk osama-rizk deleted the chore/trigger-v5-release branch June 15, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants