Skip to content

Conversation

@osama-rizk
Copy link
Contributor

Description of changes

Updated aws-amplify peer dependency from ^6.14.3 to ^6.16.0 across all packages in the monorepo to ensure version consistency and prevent dependency conflicts for end users. Also updated the aws-amplify version in the root package.json.

Files updated:

  • Root package.json (both peer dependency and regular dependency)
  • All package-specific package.json files (React, Vue, Angular, React Native, and related packages)
  • Updated yarn.lock to reflect dependency changes

This change aligns all packages to use the same aws-amplify version, following monorepo best practices.

Issue #, if available

N/A - Maintenance update to align aws-amplify versions

Description of how you validated changes

  • Verified all package.json files now reference aws-amplify: "^6.16.0"
  • Confirmed root package.json aws-amplify version updated to ^6.16.0
  • Confirmed yarn.lock was properly updated
  • No breaking changes expected as this is a minor version bump within the same major version range

Checklist

  • Have read the Pull Request Guidelines
  • PR description included
  • yarn test passes and tests are updated/added
  • PR title and commit messages follow conventional commit syntax
  • If this change should result in a version bump, changeset added (This can be done after creating the PR.) This does not apply to changes made to docs, e2e, examples, or other private packages.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@osama-rizk osama-rizk requested a review from a team as a code owner January 23, 2026 10:48
@changeset-bot
Copy link

changeset-bot bot commented Jan 23, 2026

⚠️ No Changeset found

Latest commit: f37b67e

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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 changed the title chore: update aws-amplify version. chore(deps): update aws-amplify version. Jan 23, 2026
package.json Outdated
"@types/react-test-renderer": "^18.3.0",
"@vitejs/plugin-vue": "^2.3.4",
"aws-amplify": "6.15.9",
"aws-amplify": "^6.16.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it safe to use caret versioning here? The previous version was specifically pinned.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the pinned version.

"@angular/core": ">= 19.0.0",
"@angular/common": ">= 19.0.0",
"aws-amplify": "^6.14.3",
"aws-amplify": "^6.16.0",
Copy link
Member

@ahmedhamouda78 ahmedhamouda78 Jan 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason we need to change this (i.e. hot-fix, etc.)? I am asking because the caret versioning we had before should install the latest minor version by default while being backwards compatible with versions all the way to 6.14.3.

This question also applies to the other package.json files.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ahmedhamouda78 this is due to version resolution in the yarn.lock

if it resolves to (let's say) 6.14.5 it fulfills ^6.14.3 and would never bump the version (unless major release as you say).

deleting the yarn.lock (or at least the aws-amplify segments) would do the trick

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

deleting the yarn.lock

I deleted yarn.lock and re-install.

@bobbor
Copy link
Member

bobbor commented Jan 23, 2026

short question:

have you tried simply removing all yarn.lock files and then reinstalling all dependencies?
that should unpin the resolved versions and achieve the same as without updating every single amplify dependency.

@osama-rizk osama-rizk force-pushed the chore/bump-aws-amplify-deps branch from 587f28e to 0dd0a7a Compare January 23, 2026 14:54
@osama-rizk osama-rizk added the run-tests Adding this label will trigger tests to run label Jan 23, 2026
@github-actions github-actions bot removed the run-tests Adding this label will trigger tests to run label Jan 23, 2026
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