Commit 72db54e
Dismantling global config object from SDK V2 (#14199)
* refactor: move httpProxy out of global config
* refactor: moved customUserAgent logic out of globalConfig
* refactor: decouple credentials from global SDK config
* Potential fix for code scanning alert no. 1856: Unused variable, import, function or class
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* chore: remove unused import
* fix: lint errors and test failures
* fix: test failures
* fix: failing test, will need to revisit this later
* fix: testing issues (hopefully)
* refactor: altered getConfigedAWSClient method
* fix: install sdk in hosting category
* fix: removed unnecessary function
* refactor: update hosting test
* chore: removed comments
* chore: make sdk imports more specialized
* chore: upped binary threshold size temporarily
* chore(release): Publish tagged release sdk-v2-with-data-0
- @aws-amplify/amplify-app@5.0.43-sdk-v2-with-data-0.0
- @aws-amplify/amplify-appsync-simulator@2.16.13-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-analytics@5.0.42-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-auth@3.7.22-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-custom@3.1.29-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-function@5.7.15-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-geo@3.5.22-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-hosting@3.5.42-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-interactions@5.1.35-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-notifications@2.26.32-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-predictions@5.5.22-sdk-v2-with-data-0.0
- @aws-amplify/amplify-category-storage@5.5.21-sdk-v2-with-data-0.0
- @aws-amplify/cli-internal@13.0.2-sdk-v2-with-data-0.0
- @aws-amplify/amplify-cli-core@4.4.2-sdk-v2-with-data-0.0
- @aws-amplify/cli-extensibility-helper@3.0.39-sdk-v2-with-data-0.0
- @aws-amplify/cli@13.0.2-sdk-v2-with-data-0.0
- @aws-amplify/amplify-cli-shared-interfaces@1.2.6-sdk-v2-with-data-0.0
- @aws-amplify/amplify-console-hosting@2.5.39-sdk-v2-with-data-0.0
- @aws-amplify/amplify-console-integration-tests@2.11.23-sdk-v2-with-data-0.0
- @aws-amplify/amplify-container-hosting@2.8.19-sdk-v2-with-data-0.0
- amplify-dotnet-function-runtime-provider@2.1.5-sdk-v2-with-data-0.0
- @aws-amplify/amplify-dotnet-function-template-provider@2.7.5-sdk-v2-with-data-0.0
- amplify-dynamodb-simulator@2.9.24-sdk-v2-with-data-0.0
- @aws-amplify/amplify-e2e-core@5.7.5-sdk-v2-with-data-0.0
- amplify-e2e-tests@4.11.7-sdk-v2-with-data-0.0
- @aws-amplify/amplify-environment-parameters@1.9.20-sdk-v2-with-data-0.0
- @aws-amplify/amplify-frontend-ios@3.7.13-sdk-v2-with-data-0.0
- @aws-amplify/amplify-frontend-javascript@3.10.23-sdk-v2-with-data-0.0
- amplify-go-function-runtime-provider@2.3.52-sdk-v2-with-data-0.0
- @aws-amplify/amplify-graphiql-explorer@2.6.2-sdk-v2-with-data-0.0
- amplify-headless-interface@1.17.8-sdk-v2-with-data-0.0
- amplify-java-function-runtime-provider@2.3.52-sdk-v2-with-data-0.0
- @aws-amplify/amplify-migration-tests@6.5.6-sdk-v2-with-data-0.0
- amplify-nodejs-function-runtime-provider@2.5.30-sdk-v2-with-data-0.0
- @aws-amplify/amplify-nodejs-function-template-provider@2.10.15-sdk-v2-with-data-0.0
- @aws-amplify/amplify-opensearch-simulator@1.7.20-sdk-v2-with-data-0.0
- @aws-amplify/amplify-prompts@2.8.7-sdk-v2-with-data-0.0
- @aws-amplify/amplify-provider-awscloudformation@8.11.8-sdk-v2-with-data-0.0
- amplify-python-function-runtime-provider@2.4.52-sdk-v2-with-data-0.0
- amplify-storage-simulator@1.11.7-sdk-v2-with-data-0.0
- amplify-util-headless-input@1.9.19-sdk-v2-with-data-0.0
- @aws-amplify/amplify-util-mock@5.10.16-sdk-v2-with-data-0.0
- @aws-amplify/amplify-util-uibuilder@1.14.20-sdk-v2-with-data-0.0
* chore: debuggin
* 5c4c6868d2d26be83190112921b0260f5156fa46Revert "chore(release): Publish tagged release sdk-v2-with-data-0"
This reverts commit 5c4c686.
* chore: better debugging
* chore: debugging
* fix: update config
* chore: removed debugging lines
* chore: change output type
* chore: api update
* chore: feedback
* chore: remove unused imports
* fix: accidentally swapped exports
* chore(release): Publish tagged release pr-0-sdk-1
- @aws-amplify/amplify-app@5.0.43-pr-0-sdk-1.0
- @aws-amplify/amplify-appsync-simulator@2.16.13-pr-0-sdk-1.0
- @aws-amplify/amplify-category-analytics@5.0.42-pr-0-sdk-1.0
- @aws-amplify/amplify-category-auth@3.7.22-pr-0-sdk-1.0
- @aws-amplify/amplify-category-custom@3.1.29-pr-0-sdk-1.0
- @aws-amplify/amplify-category-function@5.7.15-pr-0-sdk-1.0
- @aws-amplify/amplify-category-geo@3.5.22-pr-0-sdk-1.0
- @aws-amplify/amplify-category-hosting@3.5.42-pr-0-sdk-1.0
- @aws-amplify/amplify-category-interactions@5.1.35-pr-0-sdk-1.0
- @aws-amplify/amplify-category-notifications@2.26.32-pr-0-sdk-1.0
- @aws-amplify/amplify-category-predictions@5.5.22-pr-0-sdk-1.0
- @aws-amplify/amplify-category-storage@5.5.21-pr-0-sdk-1.0
- @aws-amplify/cli-internal@13.0.2-pr-0-sdk-1.0
- @aws-amplify/amplify-cli-core@4.4.2-pr-0-sdk-1.0
- @aws-amplify/cli-extensibility-helper@3.0.39-pr-0-sdk-1.0
- @aws-amplify/cli@13.0.2-pr-0-sdk-1.0
- @aws-amplify/amplify-cli-shared-interfaces@1.2.6-pr-0-sdk-1.0
- @aws-amplify/amplify-console-hosting@2.5.39-pr-0-sdk-1.0
- @aws-amplify/amplify-console-integration-tests@2.11.23-pr-0-sdk-1.0
- @aws-amplify/amplify-container-hosting@2.8.19-pr-0-sdk-1.0
- amplify-dotnet-function-runtime-provider@2.1.5-pr-0-sdk-1.0
- @aws-amplify/amplify-dotnet-function-template-provider@2.7.5-pr-0-sdk-1.0
- amplify-dynamodb-simulator@2.9.24-pr-0-sdk-1.0
- @aws-amplify/amplify-e2e-core@5.7.5-pr-0-sdk-1.0
- amplify-e2e-tests@4.11.7-pr-0-sdk-1.0
- @aws-amplify/amplify-environment-parameters@1.9.20-pr-0-sdk-1.0
- @aws-amplify/amplify-frontend-ios@3.7.13-pr-0-sdk-1.0
- @aws-amplify/amplify-frontend-javascript@3.10.23-pr-0-sdk-1.0
- amplify-go-function-runtime-provider@2.3.52-pr-0-sdk-1.0
- @aws-amplify/amplify-graphiql-explorer@2.6.2-pr-0-sdk-1.0
- amplify-headless-interface@1.17.8-pr-0-sdk-1.0
- amplify-java-function-runtime-provider@2.3.52-pr-0-sdk-1.0
- @aws-amplify/amplify-migration-tests@6.5.6-pr-0-sdk-1.0
- amplify-nodejs-function-runtime-provider@2.5.30-pr-0-sdk-1.0
- @aws-amplify/amplify-nodejs-function-template-provider@2.10.15-pr-0-sdk-1.0
- @aws-amplify/amplify-opensearch-simulator@1.7.20-pr-0-sdk-1.0
- @aws-amplify/amplify-prompts@2.8.7-pr-0-sdk-1.0
- @aws-amplify/amplify-provider-awscloudformation@8.11.8-pr-0-sdk-1.0
- amplify-python-function-runtime-provider@2.4.52-pr-0-sdk-1.0
- amplify-storage-simulator@1.11.7-pr-0-sdk-1.0
- amplify-util-headless-input@1.9.19-pr-0-sdk-1.0
- @aws-amplify/amplify-util-mock@5.10.16-pr-0-sdk-1.0
- @aws-amplify/amplify-util-uibuilder@1.14.20-pr-0-sdk-1.0
* Revert "chore(release): Publish tagged release pr-0-sdk-1"
This reverts commit 53e00af.
* fix: global config lives to fight another day
---------
Co-authored-by: aws-amplify-bot <aws@amazon.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Co-authored-by: Vieltojarvi <lvielto@amazon.com>1 parent 1650100 commit 72db54e
45 files changed
Lines changed: 312 additions & 177 deletions
File tree
- .circleci
- packages
- amplify-category-auth
- provider-utils/awscloudformation/triggers/CustomMessage/assets
- src/provider-utils/awscloudformation/utils
- amplify-category-geo/src/provider-controllers
- amplify-category-hosting
- __mocks__
- __tests__/lib/S3AndCloudFront/helpers
- lib/S3AndCloudFront/helpers
- amplify-category-notifications/src
- amplify-console-hosting
- src/utils
- amplify-container-hosting/src/lib/ElasticContainer
- amplify-e2e-tests/src
- __tests__/storage-simulator
- import-helpers
- amplify-provider-awscloudformation
- src
- aws-utils
- iterative-deployment
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| |||
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
| |||
packages/amplify-category-auth/src/provider-utils/awscloudformation/utils/trigger-file-uploader.ts
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
Lines changed: 4 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 3 | + | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 12 | | |
40 | 13 | | |
41 | 14 | | |
| |||
71 | 44 | | |
72 | 45 | | |
73 | 46 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 47 | | |
83 | | - | |
| 48 | + | |
84 | 49 | | |
85 | 50 | | |
packages/amplify-category-hosting/__tests__/lib/S3AndCloudFront/helpers/cloudfront-manager.test.js
Lines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 77 | | |
86 | | - | |
| 78 | + | |
| 79 | + | |
87 | 80 | | |
88 | 81 | | |
89 | 82 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
47 | | - | |
| 47 | + | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | | - | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
48 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
150 | 151 | | |
151 | 152 | | |
152 | 153 | | |
153 | | - | |
154 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
155 | 158 | | |
156 | 159 | | |
157 | 160 | | |
| |||
0 commit comments