Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ struct ReleaseNotesBuilder {
let features: Features
let featuresIDToServiceName: [String: String]

static let macOSVersionBumpAnnouncement: String = """
**Heads up!**
On June 19th, the minimum supported macOS version for this SDK will increase from 10.15 to 12.
[Read more](https://github.com/awslabs/aws-sdk-swift/discussions/1940)
"""

// MARK: - Build

func build() throws -> String {
Expand All @@ -32,10 +26,7 @@ struct ReleaseNotesBuilder {
let fullCommitLogLink = [
"\n**Full Changelog**: https://github.com/\(repoOrg.rawValue)/\(repoType.rawValue)/compare/\(previousVersion)...\(newVersion)"
]
let contents = [
ReleaseNotesBuilder.macOSVersionBumpAnnouncement,
"## What's Changed"
] + serviceClientChanges + sdkChanges + fullCommitLogLink
let contents = ["## What's Changed"] + serviceClientChanges + sdkChanges + fullCommitLogLink
return contents.joined(separator: .newline)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ extension Target.Dependency {
let package = Package(
name: "aws-sdk-swift",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ extension Target.Dependency {
let package = Package(
name: "SmokeTests",
platforms: [
.macOS(.v10_15)
.macOS(.v12)
],
products: serviceNames.map(productForRunner(_:)),
dependencies: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class ReleaseNotesBuilderTests: CLITestCase {

**Full Changelog**: https://github.com/awslabs/aws-sdk-swift/compare/1.0.0...1.0.1
"""
XCTAssertEqual(releaseNotes, ReleaseNotesBuilder.macOSVersionBumpAnnouncement + "\n" + expected)
XCTAssertEqual(releaseNotes, expected)
}

func testNoServiceFeatureSectionPresent() throws {
Expand All @@ -117,7 +117,7 @@ class ReleaseNotesBuilderTests: CLITestCase {

**Full Changelog**: https://github.com/awslabs/aws-sdk-swift/compare/1.0.0...1.0.1
"""
XCTAssertEqual(releaseNotes, ReleaseNotesBuilder.macOSVersionBumpAnnouncement + "\n" + expected)
XCTAssertEqual(releaseNotes, expected)
}

func testNoServiceDocSectionPresent() throws {
Expand All @@ -138,7 +138,7 @@ class ReleaseNotesBuilderTests: CLITestCase {

**Full Changelog**: https://github.com/awslabs/aws-sdk-swift/compare/1.0.0...1.0.1
"""
XCTAssertEqual(releaseNotes, ReleaseNotesBuilder.macOSVersionBumpAnnouncement + "\n" + expected)
XCTAssertEqual(releaseNotes, expected)
}

func testNoSDKChangeSectionPresent() throws {
Expand All @@ -158,7 +158,7 @@ class ReleaseNotesBuilderTests: CLITestCase {

**Full Changelog**: https://github.com/awslabs/aws-sdk-swift/compare/1.0.0...1.0.1
"""
XCTAssertEqual(releaseNotes, ReleaseNotesBuilder.macOSVersionBumpAnnouncement + "\n" + expected)
XCTAssertEqual(releaseNotes, expected)
}

func testNoSectionsPresentAndIrrelevantCommitsAreFiltered() throws {
Expand All @@ -173,7 +173,7 @@ class ReleaseNotesBuilderTests: CLITestCase {

**Full Changelog**: https://github.com/awslabs/aws-sdk-swift/compare/1.0.0...1.0.1
"""
XCTAssertEqual(releaseNotes, ReleaseNotesBuilder.macOSVersionBumpAnnouncement + "\n" + expected)
XCTAssertEqual(releaseNotes, expected)
}

func testNullReleaseNotesFieldGetsHandledWithoutError() throws {
Expand All @@ -190,7 +190,7 @@ class ReleaseNotesBuilderTests: CLITestCase {

**Full Changelog**: https://github.com/awslabs/aws-sdk-swift/compare/1.0.0...1.0.1
"""
XCTAssertEqual(releaseNotes, ReleaseNotesBuilder.macOSVersionBumpAnnouncement + "\n" + expected)
XCTAssertEqual(releaseNotes, expected)
}

private func setUpBuildRequestAndMappingJSONs(_ buildRequest: String, _ mapping: String) {
Expand Down
2 changes: 1 addition & 1 deletion IntegrationTests/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ extension Target.Dependency {
let package = Package(
name: "aws-sdk-swift-integration-tests",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "IMDSIntegTestApp",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13)
],
dependencies: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "ECSIntegTestApp",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13)
],
dependencies: [
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ extension Target.Dependency {
let package = Package(
name: "aws-sdk-swift",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSClientRuntime/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSClientRuntime",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSSDKChecksums/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSSDKChecksums",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSSDKCommon/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSSDKCommon",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSSDKEventStreamsAuth/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSSDKEventStreamsAuth",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSSDKHTTPAuth/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSSDKHTTPAuth",
platforms: [
.macOS(.v10_15),
.macOS(.v12),
.iOS(.v13),
.tvOS(.v13),
.watchOS(.v6)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Core/AWSSDKIdentity/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "InternalAWSSTS",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "InternalAWSSTS", targets: ["InternalAWSSTS"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSACM/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSACM",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSACM", targets: ["AWSACM"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSACMPCA/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSACMPCA",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSACMPCA", targets: ["AWSACMPCA"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAIOps/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAIOps",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAIOps", targets: ["AWSAIOps"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAPIGateway/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAPIGateway",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAPIGateway", targets: ["AWSAPIGateway"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSARCZonalShift/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSARCZonalShift",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSARCZonalShift", targets: ["AWSARCZonalShift"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAccessAnalyzer/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAccessAnalyzer",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAccessAnalyzer", targets: ["AWSAccessAnalyzer"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAccount/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAccount",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAccount", targets: ["AWSAccount"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAmp/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAmp",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAmp", targets: ["AWSAmp"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAmplify/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAmplify",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAmplify", targets: ["AWSAmplify"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAmplifyBackend/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAmplifyBackend",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAmplifyBackend", targets: ["AWSAmplifyBackend"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAmplifyUIBuilder/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAmplifyUIBuilder",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAmplifyUIBuilder", targets: ["AWSAmplifyUIBuilder"])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSApiGatewayManagementApi",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSApiGatewayManagementApi", targets: ["AWSApiGatewayManagementApi"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSApiGatewayV2/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSApiGatewayV2",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSApiGatewayV2", targets: ["AWSApiGatewayV2"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppConfig/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppConfig",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppConfig", targets: ["AWSAppConfig"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppConfigData/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppConfigData",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppConfigData", targets: ["AWSAppConfigData"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppFabric/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppFabric",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppFabric", targets: ["AWSAppFabric"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppIntegrations/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppIntegrations",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppIntegrations", targets: ["AWSAppIntegrations"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppMesh/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppMesh",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppMesh", targets: ["AWSAppMesh"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppRunner/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppRunner",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppRunner", targets: ["AWSAppRunner"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppStream/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppStream",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppStream", targets: ["AWSAppStream"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppSync/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppSync",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppSync", targets: ["AWSAppSync"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppTest/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppTest",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppTest", targets: ["AWSAppTest"])
Expand Down
2 changes: 1 addition & 1 deletion Sources/Services/AWSAppflow/Package.swift.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import PackageDescription
let package = Package(
name: "AWSAppflow",
platforms: [
.macOS(.v10_15), .iOS(.v13)
.macOS(.v12), .iOS(.v13)
],
products: [
.library(name: "AWSAppflow", targets: ["AWSAppflow"])
Expand Down
Loading
Loading