Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 4.2.0 #446

Merged
merged 1 commit into from
Aug 15, 2023
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,26 @@ All notable changes to this project will be documented in this file.

#### 4.x Releases

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

Released on 2023-08-15

Updates:

- Structural non-breaking changes to the project
- Carthage support and sample projects are removed
- Sample projects for SPM and Cocoapods are removed from the SPM distribution
- Automated regression tests and snapshot tests are added


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

Released on 2023-08-10

Updates:

- Fixes an error that validates expiry date when the date input is in the same year but on a previous month

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

Released on 2023-06-27
Expand Down
2 changes: 1 addition & 1 deletion Checkout/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.1.0'
s.version = '4.2.0'
s.summary = 'Checkout SDK for iOS'

s.description = <<-DESC
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.1.1"
static let version = "4.2.0"
static let name = "checkout-ios-sdk"
static let userAgent = "checkout-sdk-ios/\(version)"
}
Expand Down
4 changes: 2 additions & 2 deletions CheckoutTests/Network/RequestFactoryTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ final class RequestFactoryTests: XCTestCase {
XCTAssertEqual(requestParameters.url, URL(string: "https://www.checkout.com/tokens"))
XCTAssertEqual(requestParameters.additionalHeaders, [
"Authorization": "Bearer publicKey",
"User-Agent": "checkout-sdk-ios/4.1.1"
"User-Agent": "checkout-sdk-ios/\(Constants.Product.version)"
])
XCTAssertEqual(requestParameters.contentType, "application/json;charset=UTF-8")
XCTAssertEqual(requestParameters.timeout, 30)
Expand Down Expand Up @@ -91,7 +91,7 @@ final class RequestFactoryTests: XCTestCase {
XCTAssertEqual(requestParameters.url, URL(string: "https://www.checkout.com/tokens"))
XCTAssertEqual(requestParameters.additionalHeaders, [
"Authorization": "Bearer publicKey",
"User-Agent": "checkout-sdk-ios/4.1.1"
"User-Agent": "checkout-sdk-ios/\(Constants.Product.version)"
])
XCTAssertEqual(requestParameters.contentType, "application/json;charset=UTF-8")
XCTAssertEqual(requestParameters.timeout, 30)
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.1.1"
s.version = "4.2.0"
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 @@ -19,6 +19,6 @@ Pod::Spec.new do |s|

s.dependency 'PhoneNumberKit'
s.dependency 'CheckoutEventLoggerKit', '~> 1.2.4'
s.dependency 'Checkout', '4.1.1'
s.dependency 'Checkout', '4.2.0'

end
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.1.0"
static let version = "4.2.0"
static let userAgent = "checkout-sdk-frames-ios/\(version)"

enum Logging {
Expand Down