Skip to content

Commit 5e942b4

Browse files
authored
feat: Update SDK to 2.24.0 and add override in AmplifyAWSServiceConfiguration (#1184)
* chore: update SDK to 2.24.0 * chore: update SDK to 2.24.0 for SPM * fix: override AWSServiceConfiguration endpoint init
1 parent cd4874e commit 5e942b4

File tree

15 files changed

+241
-231
lines changed

15 files changed

+241
-231
lines changed

AWSPluginsCore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$AMPLIFY_VERSION = '1.8.1'
1111
$AMPLIFY_RELEASE_TAG = "v#{$AMPLIFY_VERSION}"
1212

13-
$AWS_SDK_VERSION = '2.23.3'
13+
$AWS_SDK_VERSION = '2.24.0'
1414
$OPTIMISTIC_AWS_SDK_VERSION = "~> #{$AWS_SDK_VERSION}"
1515

1616
Pod::Spec.new do |s|

AWSPredictionsPlugin.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$AMPLIFY_VERSION = '1.8.1'
33
$AMPLIFY_RELEASE_TAG = "v#{$AMPLIFY_VERSION}"
44

5-
$AWS_SDK_VERSION = '2.23.3'
5+
$AWS_SDK_VERSION = '2.24.0'
66
$OPTIMISTIC_AWS_SDK_VERSION = "~> #{$AWS_SDK_VERSION}"
77

88
Pod::Spec.new do |s|

AmplifyPlugins.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
$AMPLIFY_VERSION = '1.8.1'
1111
$AMPLIFY_RELEASE_TAG = "v#{$AMPLIFY_VERSION}"
1212

13-
$AWS_SDK_VERSION = '2.23.3'
13+
$AWS_SDK_VERSION = '2.24.0'
1414
$OPTIMISTIC_AWS_SDK_VERSION = "~> #{$AWS_SDK_VERSION}"
1515

1616
Pod::Spec.new do |s|

AmplifyPlugins/API/Podfile.lock

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@ PODS:
33
- Amplify/Default (= 1.8.1)
44
- Amplify/Default (1.8.1)
55
- AmplifyPlugins/AWSCognitoAuthPlugin (1.8.1):
6-
- AWSAuthCore (~> 2.23.3)
7-
- AWSCognitoIdentityProvider (~> 2.23.3)
8-
- AWSCognitoIdentityProviderASF (~> 2.23.3)
9-
- AWSCore (~> 2.23.3)
10-
- AWSMobileClient (~> 2.23.3)
6+
- AWSAuthCore (~> 2.24.0)
7+
- AWSCognitoIdentityProvider (~> 2.24.0)
8+
- AWSCognitoIdentityProviderASF (~> 2.24.0)
9+
- AWSCore (~> 2.24.0)
10+
- AWSMobileClient (~> 2.24.0)
1111
- AWSPluginsCore (= 1.8.1)
1212
- AmplifyTestCommon (1.8.1):
1313
- Amplify (= 1.8.1)
1414
- AmplifyTestCommon/AWSPluginsTestCommon (= 1.8.1)
1515
- AmplifyTestCommon/AWSPluginsTestCommon (1.8.1):
1616
- Amplify (= 1.8.1)
17-
- AWSCore (~> 2.23.3)
18-
- AWSMobileClient (~> 2.23.3)
17+
- AWSCore (~> 2.24.0)
18+
- AWSMobileClient (~> 2.24.0)
1919
- AWSPluginsCore (= 1.8.1)
2020
- AppSyncRealTimeClient (1.4.4):
2121
- Starscream (~> 3.1.1)
22-
- AWSAuthCore (2.23.3):
23-
- AWSCore (= 2.23.3)
24-
- AWSCognitoIdentityProvider (2.23.3):
25-
- AWSCognitoIdentityProviderASF (= 2.23.3)
26-
- AWSCore (= 2.23.3)
27-
- AWSCognitoIdentityProviderASF (2.23.3)
28-
- AWSCore (2.23.3)
29-
- AWSMobileClient (2.23.3):
30-
- AWSAuthCore (= 2.23.3)
31-
- AWSCognitoIdentityProvider (= 2.23.3)
32-
- AWSCognitoIdentityProviderASF (= 2.23.3)
33-
- AWSCore (= 2.23.3)
22+
- AWSAuthCore (2.24.0):
23+
- AWSCore (= 2.24.0)
24+
- AWSCognitoIdentityProvider (2.24.0):
25+
- AWSCognitoIdentityProviderASF (= 2.24.0)
26+
- AWSCore (= 2.24.0)
27+
- AWSCognitoIdentityProviderASF (2.24.0)
28+
- AWSCore (2.24.0)
29+
- AWSMobileClient (2.24.0):
30+
- AWSAuthCore (= 2.24.0)
31+
- AWSCognitoIdentityProvider (= 2.24.0)
32+
- AWSCognitoIdentityProviderASF (= 2.24.0)
33+
- AWSCore (= 2.24.0)
3434
- AWSPluginsCore (1.8.1):
3535
- Amplify (= 1.8.1)
36-
- AWSCore (~> 2.23.3)
36+
- AWSCore (~> 2.24.0)
3737
- CwlCatchException (1.0.2)
3838
- CwlPreconditionTesting (1.1.1):
3939
- CwlCatchException
@@ -46,7 +46,7 @@ DEPENDENCIES:
4646
- AmplifyPlugins/AWSCognitoAuthPlugin (from `../../`)
4747
- AmplifyTestCommon (from `../../`)
4848
- AppSyncRealTimeClient (~> 1.4.0)
49-
- AWSMobileClient (~> 2.23.3)
49+
- AWSMobileClient (~> 2.24.0)
5050
- AWSPluginsCore (from `../../`)
5151
- CwlCatchException (from `https://github.com/mattgallagher/CwlCatchException.git`, tag `1.2.0`)
5252
- CwlPreconditionTesting (from `https://github.com/mattgallagher/CwlPreconditionTesting.git`, tag `1.2.0`)
@@ -91,15 +91,15 @@ CHECKOUT OPTIONS:
9191

9292
SPEC CHECKSUMS:
9393
Amplify: 7e9e36acaacc28733454167b67b2ecf66133ce02
94-
AmplifyPlugins: ff3f95060943ad400f84c6671166b29f65097d6d
95-
AmplifyTestCommon: 8cd47fdf739f30c593b39326e95ab5ea502da823
94+
AmplifyPlugins: 43ee70e36be633f9f98899aa96a4e58884d03693
95+
AmplifyTestCommon: 734de81bc638e5108db8e848eee01ed82e72e06e
9696
AppSyncRealTimeClient: 4479354d262a23d2cc9fea1760f3815b75a4091a
97-
AWSAuthCore: 2aaf8dec7f50e3f7606857bdca0db9263faed0c5
98-
AWSCognitoIdentityProvider: fcd9b00fec0ef5ac6768548af948ad033b52da98
99-
AWSCognitoIdentityProviderASF: 719578cca39b3233bd67e656bdf04d409e8fc255
100-
AWSCore: c60e635b1a61cb27b6dfff646ce9f402be870b62
101-
AWSMobileClient: bdfc148fc11b846331f2bec4a7063c95e66c329e
102-
AWSPluginsCore: cadee247acd6a0e8a1915fa3a7ec2b80b49f43bb
97+
AWSAuthCore: f5325c5e076e8da6ad66932029ddb04451aa28cd
98+
AWSCognitoIdentityProvider: 874160e2f79fc957efd28745ee7389bccd59dfaf
99+
AWSCognitoIdentityProviderASF: a604ce4b892fe7be0729d22a77a36f8b641e35a4
100+
AWSCore: d5cd1311b33a4ae9faacda839c0ac9fff711cd79
101+
AWSMobileClient: 0cd4603f1dff10edb1e7b32e07753c864a21c5ed
102+
AWSPluginsCore: cbd8b38769a7fa6630fb07fdbad3a7b4ff0e8c99
103103
CwlCatchException: 70a52ae44ea5d46db7bd385f801a94942420cd8c
104104
CwlPreconditionTesting: d33a4e4f285c0b885fddcae5dfedfbb34d4f3961
105105
Starscream: 4bb2f9942274833f7b4d296a55504dcfc7edb7b0
@@ -108,4 +108,4 @@ SPEC CHECKSUMS:
108108

109109
PODFILE CHECKSUM: 857e4ea8246683593b8a7db77014aeb7340c15a5
110110

111-
COCOAPODS: 1.9.3
111+
COCOAPODS: 1.10.1

AmplifyPlugins/Analytics/Podfile.lock

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,37 @@ PODS:
33
- Amplify/Default (= 1.8.1)
44
- Amplify/Default (1.8.1)
55
- AmplifyPlugins/AWSCognitoAuthPlugin (1.8.1):
6-
- AWSAuthCore (~> 2.23.3)
7-
- AWSCognitoIdentityProvider (~> 2.23.3)
8-
- AWSCognitoIdentityProviderASF (~> 2.23.3)
9-
- AWSCore (~> 2.23.3)
10-
- AWSMobileClient (~> 2.23.3)
6+
- AWSAuthCore (~> 2.24.0)
7+
- AWSCognitoIdentityProvider (~> 2.24.0)
8+
- AWSCognitoIdentityProviderASF (~> 2.24.0)
9+
- AWSCore (~> 2.24.0)
10+
- AWSMobileClient (~> 2.24.0)
1111
- AWSPluginsCore (= 1.8.1)
1212
- AmplifyTestCommon (1.8.1):
1313
- Amplify (= 1.8.1)
1414
- AmplifyTestCommon/AWSPluginsTestCommon (= 1.8.1)
1515
- AmplifyTestCommon/AWSPluginsTestCommon (1.8.1):
1616
- Amplify (= 1.8.1)
17-
- AWSCore (~> 2.23.3)
18-
- AWSMobileClient (~> 2.23.3)
17+
- AWSCore (~> 2.24.0)
18+
- AWSMobileClient (~> 2.24.0)
1919
- AWSPluginsCore (= 1.8.1)
20-
- AWSAuthCore (2.23.3):
21-
- AWSCore (= 2.23.3)
22-
- AWSCognitoIdentityProvider (2.23.3):
23-
- AWSCognitoIdentityProviderASF (= 2.23.3)
24-
- AWSCore (= 2.23.3)
25-
- AWSCognitoIdentityProviderASF (2.23.3)
26-
- AWSCore (2.23.3)
27-
- AWSMobileClient (2.23.3):
28-
- AWSAuthCore (= 2.23.3)
29-
- AWSCognitoIdentityProvider (= 2.23.3)
30-
- AWSCognitoIdentityProviderASF (= 2.23.3)
31-
- AWSCore (= 2.23.3)
32-
- AWSPinpoint (2.23.3):
33-
- AWSCore (= 2.23.3)
20+
- AWSAuthCore (2.24.0):
21+
- AWSCore (= 2.24.0)
22+
- AWSCognitoIdentityProvider (2.24.0):
23+
- AWSCognitoIdentityProviderASF (= 2.24.0)
24+
- AWSCore (= 2.24.0)
25+
- AWSCognitoIdentityProviderASF (2.24.0)
26+
- AWSCore (2.24.0)
27+
- AWSMobileClient (2.24.0):
28+
- AWSAuthCore (= 2.24.0)
29+
- AWSCognitoIdentityProvider (= 2.24.0)
30+
- AWSCognitoIdentityProviderASF (= 2.24.0)
31+
- AWSCore (= 2.24.0)
32+
- AWSPinpoint (2.24.0):
33+
- AWSCore (= 2.24.0)
3434
- AWSPluginsCore (1.8.1):
3535
- Amplify (= 1.8.1)
36-
- AWSCore (~> 2.23.3)
36+
- AWSCore (~> 2.24.0)
3737
- CwlCatchException (1.0.2)
3838
- CwlPreconditionTesting (1.1.1):
3939
- CwlCatchException
@@ -44,7 +44,7 @@ DEPENDENCIES:
4444
- Amplify (from `../../`)
4545
- AmplifyPlugins/AWSCognitoAuthPlugin (from `../../`)
4646
- AmplifyTestCommon (from `../../`)
47-
- AWSPinpoint (~> 2.23.3)
47+
- AWSPinpoint (~> 2.24.0)
4848
- AWSPluginsCore (from `../../`)
4949
- CwlCatchException (from `https://github.com/mattgallagher/CwlCatchException.git`, tag `1.2.0`)
5050
- CwlPreconditionTesting (from `https://github.com/mattgallagher/CwlPreconditionTesting.git`, tag `1.2.0`)
@@ -88,20 +88,20 @@ CHECKOUT OPTIONS:
8888

8989
SPEC CHECKSUMS:
9090
Amplify: 7e9e36acaacc28733454167b67b2ecf66133ce02
91-
AmplifyPlugins: ff3f95060943ad400f84c6671166b29f65097d6d
92-
AmplifyTestCommon: 8cd47fdf739f30c593b39326e95ab5ea502da823
93-
AWSAuthCore: 2aaf8dec7f50e3f7606857bdca0db9263faed0c5
94-
AWSCognitoIdentityProvider: fcd9b00fec0ef5ac6768548af948ad033b52da98
95-
AWSCognitoIdentityProviderASF: 719578cca39b3233bd67e656bdf04d409e8fc255
96-
AWSCore: c60e635b1a61cb27b6dfff646ce9f402be870b62
97-
AWSMobileClient: bdfc148fc11b846331f2bec4a7063c95e66c329e
98-
AWSPinpoint: 72c99dbf5c37464f87cbf4515d6d027c996ddc96
99-
AWSPluginsCore: cadee247acd6a0e8a1915fa3a7ec2b80b49f43bb
91+
AmplifyPlugins: 43ee70e36be633f9f98899aa96a4e58884d03693
92+
AmplifyTestCommon: 734de81bc638e5108db8e848eee01ed82e72e06e
93+
AWSAuthCore: f5325c5e076e8da6ad66932029ddb04451aa28cd
94+
AWSCognitoIdentityProvider: 874160e2f79fc957efd28745ee7389bccd59dfaf
95+
AWSCognitoIdentityProviderASF: a604ce4b892fe7be0729d22a77a36f8b641e35a4
96+
AWSCore: d5cd1311b33a4ae9faacda839c0ac9fff711cd79
97+
AWSMobileClient: 0cd4603f1dff10edb1e7b32e07753c864a21c5ed
98+
AWSPinpoint: d8a830824b7539582c3d98316d9982e0f7deafe3
99+
AWSPluginsCore: cbd8b38769a7fa6630fb07fdbad3a7b4ff0e8c99
100100
CwlCatchException: 70a52ae44ea5d46db7bd385f801a94942420cd8c
101101
CwlPreconditionTesting: d33a4e4f285c0b885fddcae5dfedfbb34d4f3961
102102
SwiftFormat: 3b5caa6389b2b9adbc00e133b3ccc8c6e687a6a4
103103
SwiftLint: 99f82d07b837b942dd563c668de129a03fc3fb52
104104

105105
PODFILE CHECKSUM: 48d1574dddce5cef7bdb7b05b06fc588ee22956e
106106

107-
COCOAPODS: 1.9.3
107+
COCOAPODS: 1.10.1

AmplifyPlugins/Auth/Podfile.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,24 @@ PODS:
77
- AmplifyTestCommon/AWSPluginsTestCommon (= 1.8.1)
88
- AmplifyTestCommon/AWSPluginsTestCommon (1.8.1):
99
- Amplify (= 1.8.1)
10-
- AWSCore (~> 2.23.3)
11-
- AWSMobileClient (~> 2.23.3)
10+
- AWSCore (~> 2.24.0)
11+
- AWSMobileClient (~> 2.24.0)
1212
- AWSPluginsCore (= 1.8.1)
13-
- AWSAuthCore (2.23.3):
14-
- AWSCore (= 2.23.3)
15-
- AWSCognitoIdentityProvider (2.23.3):
16-
- AWSCognitoIdentityProviderASF (= 2.23.3)
17-
- AWSCore (= 2.23.3)
18-
- AWSCognitoIdentityProviderASF (2.23.3)
19-
- AWSCore (2.23.3)
20-
- AWSMobileClient (2.23.3):
21-
- AWSAuthCore (= 2.23.3)
22-
- AWSCognitoIdentityProvider (= 2.23.3)
23-
- AWSCognitoIdentityProviderASF (= 2.23.3)
24-
- AWSCore (= 2.23.3)
13+
- AWSAuthCore (2.24.0):
14+
- AWSCore (= 2.24.0)
15+
- AWSCognitoIdentityProvider (2.24.0):
16+
- AWSCognitoIdentityProviderASF (= 2.24.0)
17+
- AWSCore (= 2.24.0)
18+
- AWSCognitoIdentityProviderASF (2.24.0)
19+
- AWSCore (2.24.0)
20+
- AWSMobileClient (2.24.0):
21+
- AWSAuthCore (= 2.24.0)
22+
- AWSCognitoIdentityProvider (= 2.24.0)
23+
- AWSCognitoIdentityProviderASF (= 2.24.0)
24+
- AWSCore (= 2.24.0)
2525
- AWSPluginsCore (1.8.1):
2626
- Amplify (= 1.8.1)
27-
- AWSCore (~> 2.23.3)
27+
- AWSCore (~> 2.24.0)
2828
- CwlCatchException (1.0.2)
2929
- CwlPreconditionTesting (1.1.1):
3030
- CwlCatchException
@@ -34,7 +34,7 @@ PODS:
3434
DEPENDENCIES:
3535
- Amplify (from `../../`)
3636
- AmplifyTestCommon (from `../../`)
37-
- AWSMobileClient (~> 2.23.3)
37+
- AWSMobileClient (~> 2.24.0)
3838
- AWSPluginsCore (from `../../`)
3939
- CwlCatchException (from `https://github.com/mattgallagher/CwlCatchException.git`, tag `1.2.0`)
4040
- CwlPreconditionTesting (from `https://github.com/mattgallagher/CwlPreconditionTesting.git`, tag `1.2.0`)
@@ -75,18 +75,18 @@ CHECKOUT OPTIONS:
7575

7676
SPEC CHECKSUMS:
7777
Amplify: 7e9e36acaacc28733454167b67b2ecf66133ce02
78-
AmplifyTestCommon: 8cd47fdf739f30c593b39326e95ab5ea502da823
79-
AWSAuthCore: 2aaf8dec7f50e3f7606857bdca0db9263faed0c5
80-
AWSCognitoIdentityProvider: fcd9b00fec0ef5ac6768548af948ad033b52da98
81-
AWSCognitoIdentityProviderASF: 719578cca39b3233bd67e656bdf04d409e8fc255
82-
AWSCore: c60e635b1a61cb27b6dfff646ce9f402be870b62
83-
AWSMobileClient: bdfc148fc11b846331f2bec4a7063c95e66c329e
84-
AWSPluginsCore: cadee247acd6a0e8a1915fa3a7ec2b80b49f43bb
78+
AmplifyTestCommon: 734de81bc638e5108db8e848eee01ed82e72e06e
79+
AWSAuthCore: f5325c5e076e8da6ad66932029ddb04451aa28cd
80+
AWSCognitoIdentityProvider: 874160e2f79fc957efd28745ee7389bccd59dfaf
81+
AWSCognitoIdentityProviderASF: a604ce4b892fe7be0729d22a77a36f8b641e35a4
82+
AWSCore: d5cd1311b33a4ae9faacda839c0ac9fff711cd79
83+
AWSMobileClient: 0cd4603f1dff10edb1e7b32e07753c864a21c5ed
84+
AWSPluginsCore: cbd8b38769a7fa6630fb07fdbad3a7b4ff0e8c99
8585
CwlCatchException: 70a52ae44ea5d46db7bd385f801a94942420cd8c
8686
CwlPreconditionTesting: d33a4e4f285c0b885fddcae5dfedfbb34d4f3961
8787
SwiftFormat: 3b5caa6389b2b9adbc00e133b3ccc8c6e687a6a4
8888
SwiftLint: 99f82d07b837b942dd563c668de129a03fc3fb52
8989

9090
PODFILE CHECKSUM: 371cf67fe35ebb5167d0880bad12b01618a0fb0e
9191

92-
COCOAPODS: 1.9.3
92+
COCOAPODS: 1.10.1

AmplifyPlugins/Core/AWSPluginsCore/ServiceConfiguration/AmplifyAWSServiceConfiguration.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,14 @@ public class AmplifyAWSServiceConfiguration: AWSServiceConfiguration {
4141
public init(region regionType: AWSRegionType) {
4242
super.init(region: regionType, credentialsProvider: nil)
4343
}
44+
45+
override public init(region regionType: AWSRegionType,
46+
endpoint: AWSEndpoint,
47+
credentialsProvider: AWSCredentialsProvider,
48+
localTestingEnabled: Bool) {
49+
super.init(region: regionType,
50+
endpoint: endpoint,
51+
credentialsProvider: credentialsProvider,
52+
localTestingEnabled: localTestingEnabled)
53+
}
4454
}

0 commit comments

Comments
 (0)