Skip to content

Commit

Permalink
bump iOS SDK version to 2.33.5
Browse files Browse the repository at this point in the history
bump iOS SDK version to 2.33.5
  • Loading branch information
Di Wu authored Nov 18, 2023
2 parents d8b503c + ad0cd33 commit 7ccd2ca
Show file tree
Hide file tree
Showing 234 changed files with 27,346 additions and 1,263 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Dependency Review

on:
pull_request:
branches:
- main

permissions:
contents: read

jobs:
dependency-review:
name: Dependency Review
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
persist-credentials: false

- name: Dependency Review
uses: actions/dependency-review-action@7d90b4f05fea31dde1c4a1fb3fa787e197ea93ab # v3.0.7
with:
config-file: aws-amplify/amplify-ci-support/.github/dependency-review-config.yml@main
2 changes: 2 additions & 0 deletions .github/workflows/kick-off-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
pip3 install lxml
git checkout -b bump-version/$RELEASE_VERSION main
python3 ./CircleciScripts/bump_sdk_version.py "$(pwd)" "$RELEASE_VERSION"
git config user.name aws-amplify-ops
git config user.email [email protected]
git add -A
git commit -am "[bump version $RELEASE_VERSION]"
git push origin HEAD
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/notify_issue_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

if: ${{ !github.event.issue.pull_request && !contains(fromJSON('["palpatim", "brennanMKE", "lawmicha", "harsh62", "thisisabhash", "ameter", "royjit", "atierian", "ukhan-amazon", "ruisebas", "phantumcode"]'), github.event.comment.user.login) }}
# Exclude comments in PRs and comments made from maintainers
if: ${{ !github.event.issue.pull_request && !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.comment.author_association) }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -27,7 +28,7 @@ jobs:
env:
WEBHOOK_URL: ${{ secrets.SLACK_COMMENT_WEBHOOK_URL }}
COMMENT: ${{toJson(github.event.comment.body)}}
USER: ${{github.event.issue.user.login}}
USER: ${{github.event.comment.user.login}}
COMMENT_URL: ${{github.event.comment.html_url}}
shell: bash
run: echo $COMMENT | sed "s/\\\n/. /g; s/\\\r//g; s/[^a-zA-Z0-9 &().,:]//g" | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"comment":"{}", "commentUrl":"'$COMMENT_URL'", "user":"'$USER'"}'
3 changes: 3 additions & 0 deletions .github/workflows/notify_new_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Exclude issues opened by maintainers
if: ${{ !contains(fromJSON('["MEMBER", "OWNER"]'), github.event.issue.author_association) }}

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Runs a single command using the runners shell
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/notify_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ name: Notify AWS SDK iOS Release

# Controls when the workflow will run
on:
# Triggers the workflow on release created (draft) or released (stable) events but only for the main branch
# Triggers the workflow on released events
release:
types: [created, released]
types: [released]

# Limit the GITHUB_TOKEN permissions
permissions: {}
Expand All @@ -25,7 +25,7 @@ jobs:
env:
WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK_URL }}
VERSION: $${{github.event.release.html_url}}
REPO_URL: ${{github.event.repository.html_url}}
REPO_NAME: ${{github.event.repository.name}}
ACTION_NAME: ${{github.event.action}}
shell: bash
run: echo $VERSION | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"action":"'$ACTION_NAME'", "repo":"'$REPO_URL'", "version":"{}"}'
run: echo $VERSION | xargs -I {} curl -s POST "$WEBHOOK_URL" -H "Content-Type:application/json" --data '{"action":"'$ACTION_NAME'", "repo":"'$REPO_NAME'", "version":"{}"}'
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ jobs:

- name: Post release xcframeworks
run: |
git config user.name aws-amplify-ops
git config user.email [email protected]
PAT=$(aws secretsmanager get-secret-value \
--secret-id "${{ secrets.SPM_DEPLOY_SECRET_ARN }}" \
| jq ".SecretString | fromjson | .Credential" | tr -d '"')
Expand Down Expand Up @@ -295,6 +297,31 @@ jobs:
--head release \
--base main
update-bump-sdk-version-branch:
name: Update bump_sdk_version branch
runs-on: ubuntu-latest
needs:
- extract-release-version
- release-tag
env:
RELEASE_VERSION: ${{ needs.extract-release-version.outputs.version }}
steps:
- name: Checkout Code
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
ref: bump_sdk_version

- name: Update version file
run: echo "${RELEASE_VERSION}" > version

- name: Make version bump commit
run: |
git config user.name aws-amplify-ops
git config user.email [email protected]
git add version
git commit -m "bump version ${RELEASE_VERSION}"
git push origin HEAD:bump_sdk_version
release-doc:
name: Release docs
runs-on: macos-latest
Expand Down Expand Up @@ -334,6 +361,8 @@ jobs:
- name: Checkin documents
working-directory: ${{ github.workspace }}/gh-pages
run: |
git config user.name aws-amplify-ops
git config user.email [email protected]
for dirPath in docs/reference/* ; do
sdkName=$( basename "$dirPath" )
git add "$dirPath" && git commit -m "Update API documentation for ${sdkName} ${RELEASE_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions AWSAPIGateway.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'AWSAPIGateway'
s.version = '2.33.4'
s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -13,7 +13,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.33.4'
s.dependency 'AWSCore', '2.33.5'

s.source_files = 'AWSAPIGateway/*.{h,m}'
end
2 changes: 1 addition & 1 deletion AWSAPIGateway/AWSAPIGatewayClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

static NSString *const AWSAPIGatewayAPIKeyHeader = @"x-api-key";

NSString *const AWSAPIGatewaySDKVersion = @"2.33.4";
NSString *const AWSAPIGatewaySDKVersion = @"2.33.5";

static int defaultChunkSize = 1024;

Expand Down
2 changes: 1 addition & 1 deletion AWSAPIGateway/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
6 changes: 3 additions & 3 deletions AWSAppleSignIn.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAppleSignIn'
s.version = '2.33.4'
s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,8 +12,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.33.4'
s.dependency 'AWSAuthCore', '2.33.4'
s.dependency 'AWSCore', '2.33.5'
s.dependency 'AWSAuthCore', '2.33.5'
s.source_files = 'AWSAuthSDK/Sources/AWSAppleSignIn/*.{h,m}'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAppleSignIn/*.h'
end
12 changes: 6 additions & 6 deletions AWSAuth.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuth'
s.version = '2.33.4'
s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -14,23 +14,23 @@ Pod::Spec.new do |s|
s.requires_arc = true

s.subspec 'Core' do |authcore|
authcore.dependency 'AWSAuthCore', '2.33.4'
authcore.dependency 'AWSAuthCore', '2.33.5'
end

s.subspec 'FacebookSignIn' do |facebook|
facebook.dependency 'AWSFacebookSignIn', '2.33.4'
facebook.dependency 'AWSFacebookSignIn', '2.33.5'
end

s.subspec 'GoogleSignIn' do |google|
google.dependency 'AWSGoogleSignIn', '2.33.4'
google.dependency 'AWSGoogleSignIn', '2.33.5'
end

s.subspec 'UserPoolsSignIn' do |up|
up.dependency 'AWSUserPoolsSignIn', '2.33.4'
up.dependency 'AWSUserPoolsSignIn', '2.33.5'
end

s.subspec 'UI' do |ui|
ui.dependency 'AWSAuthUI', '2.33.4'
ui.dependency 'AWSAuthUI', '2.33.5'
end

end
4 changes: 2 additions & 2 deletions AWSAuthCore.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuthCore'
s.version = '2.33.4'
s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,7 +12,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.33.4'
s.dependency 'AWSCore', '2.33.5'
s.source_files = 'AWSAuthSDK/Sources/AWSAuthCore/*.{h,m}'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAuthCore/*.h'
end
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAppleSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAuthCore/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSAuthUI/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSFacebookSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSGoogleSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSMobileClient/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSMobileClientXCF/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 1 addition & 1 deletion AWSAuthSDK/Sources/AWSUserPoolsSignIn/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.33.4</string>
<string>2.33.5</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
6 changes: 3 additions & 3 deletions AWSAuthUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAuthUI'
s.version = '2.33.4'
s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,8 +12,8 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.33.4'
s.dependency 'AWSAuthCore', '2.33.4'
s.dependency 'AWSCore', '2.33.5'
s.dependency 'AWSAuthCore', '2.33.5'
s.source_files = 'AWSAuthSDK/Sources/AWSAuthUI/*.{h,m}', 'AWSAuthSDK/Sources/AWSAuthUI/**/*.{h,m}', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableCell.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSTableInputCell.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableDelegate.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSUserPoolsUIHelper.h'
s.public_header_files = 'AWSAuthSDK/Sources/AWSAuthUI/AWSAuthUI.h', 'AWSAuthSDK/Sources/AWSAuthUI/AWSAuthUIViewController.h', 'AWSAuthSDK/Sources/AWSAuthUI/AWSAuthUIConfiguration.h'
s.private_header_files = 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableCell.h', 'AWSAuthSDK/Sources/AWSAuthUI/AWSSignInViewController.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSTableInputCell.h', 'AWSAuthSDK/Sources/AWSUserPoolsSignIn/UserPoolsUI/AWSFormTableDelegate.h'
Expand Down
4 changes: 2 additions & 2 deletions AWSAutoScaling.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'AWSAutoScaling'
s.version = '2.33.4'
s.version = '2.33.5'
s.summary = 'Amazon Web Services SDK for iOS.'

s.description = 'The AWS SDK for iOS provides a library, code samples, and documentation for developers to build connected mobile applications using AWS.'
Expand All @@ -12,6 +12,6 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/aws-amplify/aws-sdk-ios.git',
:tag => s.version}
s.requires_arc = true
s.dependency 'AWSCore', '2.33.4'
s.dependency 'AWSCore', '2.33.5'
s.source_files = 'AWSAutoScaling/*.{h,m}'
end
12 changes: 9 additions & 3 deletions AWSAutoScaling/AWSAutoScalingResources.m
Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,12 @@ - (NSString *)definitionString {
},\
\"exception\":true\
},\
\"AnyPrintableAsciiStringMaxLen4000\":{\
\"type\":\"string\",\
\"max\":4000,\
\"min\":1,\
\"pattern\":\"[\\\\u0009\\\\u000A\\\\u000D\\\\u0020-\\\\u007e]+\"\
},\
\"AsciiStringMaxLen255\":{\
\"type\":\"string\",\
\"max\":255,\
Expand Down Expand Up @@ -3735,7 +3741,7 @@ - (NSString *)definitionString {
\"documentation\":\"<p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).</p>\"\
},\
\"NotificationMetadata\":{\
\"shape\":\"XmlStringMaxLen1023\",\
\"shape\":\"AnyPrintableAsciiStringMaxLen4000\",\
\"documentation\":\"<p>Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.</p>\"\
},\
\"HeartbeatTimeout\":{\
Expand Down Expand Up @@ -3774,7 +3780,7 @@ - (NSString *)definitionString {
\"documentation\":\"<p>The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.</p> <ul> <li> <p>To create a lifecycle hook for scale-out events, specify <code>autoscaling:EC2_INSTANCE_LAUNCHING</code>.</p> </li> <li> <p>To create a lifecycle hook for scale-in events, specify <code>autoscaling:EC2_INSTANCE_TERMINATING</code>.</p> </li> </ul>\"\
},\
\"NotificationMetadata\":{\
\"shape\":\"XmlStringMaxLen1023\",\
\"shape\":\"AnyPrintableAsciiStringMaxLen4000\",\
\"documentation\":\"<p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.</p>\"\
},\
\"HeartbeatTimeout\":{\
Expand Down Expand Up @@ -4547,7 +4553,7 @@ - (NSString *)definitionString {
\"documentation\":\"<p>The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify you when an instance is in a wait state for the lifecycle hook. You can specify either an Amazon SNS topic or an Amazon SQS queue.</p> <p>If you specify an empty string, this overrides the current ARN.</p> <p>This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key-value pair format when sending notifications to an Amazon SNS topic.</p> <p>When you specify a notification target, Amazon EC2 Auto Scaling sends it a test message. Test messages contain the following additional key-value pair: <code>\\\"Event\\\": \\\"autoscaling:TEST_NOTIFICATION\\\"</code>.</p>\"\
},\
\"NotificationMetadata\":{\
\"shape\":\"XmlStringMaxLen1023\",\
\"shape\":\"AnyPrintableAsciiStringMaxLen4000\",\
\"documentation\":\"<p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.</p>\"\
},\
\"HeartbeatTimeout\":{\
Expand Down
2 changes: 1 addition & 1 deletion AWSAutoScaling/AWSAutoScalingService.m
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#import "AWSAutoScalingResources.h"

static NSString *const AWSInfoAutoScaling = @"AutoScaling";
NSString *const AWSAutoScalingSDKVersion = @"2.33.4";
NSString *const AWSAutoScalingSDKVersion = @"2.33.5";


@interface AWSAutoScalingResponseSerializer : AWSXMLResponseSerializer
Expand Down
Loading

0 comments on commit 7ccd2ca

Please sign in to comment.