(scripts): migrate AWS SDK for JavaScript v2 APIs to v3#11587
Merged
christian-bromann merged 7 commits intowebdriverio:mainfrom Nov 6, 2023
trivikr:aws-sdk-js-codemod
Merged
(scripts): migrate AWS SDK for JavaScript v2 APIs to v3#11587christian-bromann merged 7 commits intowebdriverio:mainfrom trivikr:aws-sdk-js-codemod
christian-bromann merged 7 commits intowebdriverio:mainfrom
trivikr:aws-sdk-js-codemod
Conversation
christian-bromann
approved these changes
Nov 6, 2023
Member
christian-bromann
left a comment
There was a problem hiding this comment.
Awesome to see the SDK supporting promises 🙌
LGTM 👍
Member
|
@trivikr thanks for raising the PR and helping to transition to the new major version. Really appreciate it! |
Member
|
I am seeing some issues deploying the docs: Any idea what that could be? |
Contributor
Author
throw new Error("Region is missing");
^How was region set earlier in JS SDK v2? The S3 client is created without any configuration in source code webdriverio/scripts/updateDocs.js Line 27 in 81496a3 The infrastructure might be setting region somewhere else, like in |
Member
|
Good question, it seems like it wasn't set before at all. |
christian-bromann
added a commit
that referenced
this pull request
Nov 8, 2023
Member
|
Found another issue 😉 a64ed86#diff-b5dd452c7b25cc1278ad2baf3ac8c31e2348b59ebba6eab66655722917a98c47R38 |
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.
Proposed changes
This PR migrates AWS SDK for JavaScript v2 APIs to v3 in scripts
From AWS SDK for JavaScript v2 README:
Types of changes
Updating scripts
Checklist
Further comments
Reviewers: @webdriverio/project-committers