Skip to content

Commit

Permalink
Merge pull request #534 from checkout/release/4.3.5
Browse files Browse the repository at this point in the history
Release/4.3.5
  • Loading branch information
okhan-okbay-cko committed May 1, 2024
2 parents 1b5505b + bf80edd commit 4c385a8
Show file tree
Hide file tree
Showing 14 changed files with 31 additions and 22 deletions.
12 changes: 10 additions & 2 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ All notable changes to this project will be documented in this file.

#### 4.x Releases

## [4.3.4](https://github.com/checkout/frames-ios/releases/tag/4.3.4)
## [4.3.5](https://github.com/checkout/frames-ios/releases/tag/4.3.5)

Released on 2024-05-01

Updates:

- Fixing a crash within the Risk SDK implementation.

## [Deprecated - 4.3.4](https://github.com/checkout/frames-ios/releases/tag/4.3.4)

Released on 2024-04-17

Expand All @@ -14,7 +22,7 @@ Updates:
- Small internal logging data structure alteration. No public or breaking changes.


## [4.3.3](https://github.com/checkout/frames-ios/releases/tag/4.3.3)
## [Deprecated - 4.3.3](https://github.com/checkout/frames-ios/releases/tag/4.3.3)

Released on 2024-04-04

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ concurrency:
jobs:
lint:
name: SwiftLint
runs-on: macos-latest
runs-on: macos-13-large

steps:
- name: Checkout
Expand All @@ -33,7 +33,7 @@ jobs:

checkout:
name: Checkout Verification
runs-on: macos-13-xl
runs-on: macos-13-xlarge
needs: lint

steps:
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

frames:
name: Frames Verification
runs-on: macos-13-xl
runs-on: macos-13-xlarge
needs: lint

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-for-app-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
if: (github.event_name == 'workflow_dispatch') || contains(github.event.pull_request.labels.*.name, 'Validate For App Store')
name: Validate For App Store
environment: AppStoreValidation
runs-on: macos-12-xl
runs-on: macos-latest

steps:
- name: Checkout repository
Expand Down
4 changes: 2 additions & 2 deletions Checkout.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Checkout'
s.version = '4.3.4'
s.version = '4.3.5'
s.summary = 'Checkout SDK for iOS'

s.description = <<-DESC
Expand All @@ -20,6 +20,6 @@ Pod::Spec.new do |s|
s.exclude_files = "Checkout/Samples/**"

s.dependency 'CheckoutEventLoggerKit', '~> 1.2.4'
s.dependency 'Risk', '2.0.3'
s.dependency 'Risk', '3.0.0'

end
2 changes: 1 addition & 1 deletion Checkout/Samples/CocoapodsSample/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ target 'CheckoutCocoapodsSample' do
use_frameworks!

# Pods for CheckoutSDKCocoapodsSample
pod 'Checkout', '4.3.4'
pod 'Checkout', '4.3.5'

end
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
repositoryURL = "https://github.com/checkout/frames-ios";
requirement = {
kind = exactVersion;
version = 4.3.4;
version = 4.3.5;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
7 changes: 4 additions & 3 deletions Checkout/Source/Tokenisation/CheckoutAPIService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,17 @@ final public class CheckoutAPIService: CheckoutAPIProtocol {
riskEnvironment = .sandbox
}

let riskConfig = RiskConfig(publicKey: publicKey, environment: riskEnvironment, framesMode: true, correlationId: logManager.correlationID)
let riskSDK = Risk.init(config: riskConfig)

logManager.setup(
environment: environment,
logger: CheckoutEventLogger(productName: Constants.Product.name),
uiDevice: UIDevice.current,
dateProvider: DateProvider(),
anyCodable: AnyCodable()
)

let framesOptions = FramesOptions(productIdentifier: Constants.Product.name, version: Constants.Product.version, correlationId: logManager.correlationID)
let riskConfig = RiskConfig(publicKey: publicKey, environment: riskEnvironment, framesOptions: framesOptions)
let riskSDK = Risk.init(config: riskConfig)

self.init(
publicKey: publicKey,
Expand Down
2 changes: 1 addition & 1 deletion Checkout/Source/Validation/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum Constants {
}

enum Product {
static let version = "4.3.3"
static let version = "4.3.5"
static let name = "checkout-ios-sdk"
static let userAgent = "checkout-sdk-ios/\(version)"
}
Expand Down
4 changes: 2 additions & 2 deletions Frames.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "Frames"
s.version = "4.3.4"
s.version = "4.3.5"
s.summary = "Checkout API Client, Payment Form UI and Utilities in Swift"
s.description = <<-DESC
Checkout API Client and Payment Form Utilities in Swift.
Expand All @@ -21,6 +21,6 @@ Pod::Spec.new do |s|

s.dependency 'PhoneNumberKit'
s.dependency 'CheckoutEventLoggerKit', '~> 1.2.4'
s.dependency 'Checkout', '4.3.4'
s.dependency 'Checkout', '4.3.5'

end
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/checkout/checkout-risk-sdk-ios.git",
"state" : {
"revision" : "a5df46ecd4324661459faa9e9ac18d627b4d26aa",
"version" : "2.0.3"
"revision" : "d9d8bcbc18ad63e3ce5bf4bb1f34ce5b3508a84b",
"version" : "3.0.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
exact: "3.5.9"),
.package(
url: "https://github.com/checkout/checkout-risk-sdk-ios.git",
exact: "2.0.3"),
exact: "3.0.0"),
.package(
url: "https://github.com/checkout/checkout-event-logger-ios-framework.git",
from: "1.2.4"
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Constants/Constants.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
enum Constants {

static let productName = "frames-ios-sdk"
static let version = "4.3.3"
static let version = "4.3.5"
static let userAgent = "checkout-sdk-frames-ios/\(version)"

enum Logging {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,7 @@
repositoryURL = "https://github.com/checkout/frames-ios";
requirement = {
kind = exactVersion;
version = 4.3.4;
version = 4.3.5;
};
};
16C3F83E2A7927ED00690639 /* XCRemoteSwiftPackageReference "swift-snapshot-testing" */ = {
Expand Down
2 changes: 1 addition & 1 deletion iOS Example Frame/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ target 'iOS Example Frame' do
use_frameworks!

# Pods for iOS Example Custom
pod 'Frames', '4.3.4'
pod 'Frames', '4.3.5'

end

Expand Down

0 comments on commit 4c385a8

Please sign in to comment.