diff --git a/CHANGELOG.md b/CHANGELOG.md index 2c28de77b..44a6a4053 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,22 @@ All notable changes to this project will be documented in this file. #### 3.x Releases +## [3.4.0](https://github.com/checkout/frames-ios/releases/tag/3.4.0) + +Released on 2021-03-31. + +#### Added + +* User-agent for requests. + +#### Fixed + +* Response objects are now decoded properly using snake case. +* Distribution via Swift Package Manager is now fixed. + +### Removed +* PhoneNumberKit source files have been removed, which were embedded in the framework. This includes `CKOPhoneNumberKit`. PhoneNumberKit is now referenced from the Podspec and Swift Package Manager configuration. + ## [3.3.0](https://github.com/checkout/frames-ios/releases/tag/3.3.0) Released on 2021-02-24. diff --git a/Frames.podspec b/Frames.podspec index 27ebbf648..f1c859ced 100644 --- a/Frames.podspec +++ b/Frames.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "Frames" - s.version = "3.3.0" + s.version = "3.4.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. diff --git a/README.md b/README.md index 0366c763d..e4877f198 100644 --- a/README.md +++ b/README.md @@ -68,13 +68,25 @@ $ brew update $ brew install carthage ``` -To integrate FramesIos into your Xcode project using Carthage, specify it in your `Cartfile`: +To integrate Frames into your Xcode project using Carthage, specify it in your `Cartfile`: ```ogdl github "checkout/frames-ios" ~> 3.0 ``` -Run `carthage update` to build the framework and drag the built `FramesIos` into your Xcode project. +Run `carthage update` to build the framework and drag the built `Frames` into your Xcode project. + +### Swift Package Manager + +[Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the swift compiler. + +Once you have your Swift package set up, adding Frames as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`. + +``` +dependencies: [ + .package(url: "https://github.com/checkout/frames-ios.git", .upToNextMajor(from: "3.0.0")) +] +``` ## Usage diff --git a/Source/CheckoutAPIClient+Constants.swift b/Source/CheckoutAPIClient+Constants.swift index 506cf2687..34b0a5693 100644 --- a/Source/CheckoutAPIClient+Constants.swift +++ b/Source/CheckoutAPIClient+Constants.swift @@ -9,6 +9,6 @@ import Foundation extension CheckoutAPIClient { enum Constants { - static let version = "3.3.0" + static let version = "3.4.0" } }