Skip to content

feat(NODE-4898)!: aws credential providers now optional peerDependency #3497

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 2 commits into from
Dec 21, 2022

Conversation

durran
Copy link
Member

@durran durran commented Dec 21, 2022

Description

Makes @aws-sdk/credentials-provider an optional peer dependency.

What is changing?

  • Makes @aws-sdk/credentials-provider a peer dependency with optional metadata.
  • Adds the sdk as a dev dependency
  • Updates the dependency check Github action.
Is there new documentation needed for these changes?

Updates to migration doc.

What is the motivation for this change?

NODE-4898

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: type(NODE-xxxx)[!]: description
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@durran durran marked this pull request as ready for review December 21, 2022 18:33
@nbbeeken nbbeeken added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Dec 21, 2022
@nbbeeken nbbeeken self-requested a review December 21, 2022 18:34
package.json Outdated
"saslprep": "^1.0.3"
},
"peerDependencies": {
"@aws-sdk/credential-providers": "^3.186.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

We may want to bump this to a higher number: v3.201.0 matches our nodejs version support level

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point - updated to 3.201.0

@durran durran requested a review from nbbeeken December 21, 2022 18:51
@nbbeeken nbbeeken changed the title feat(NODE-4898)!: aws credential providers now optional feat(NODE-4898)!: aws credential providers now optional peerDependency Dec 21, 2022
@nbbeeken nbbeeken merged commit b9e4c7c into main Dec 21, 2022
@nbbeeken nbbeeken deleted the NODE-4898 branch December 21, 2022 19:20
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants