From 36daac552a9a9d196d382059cedb1752154b8d63 Mon Sep 17 00:00:00 2001 From: Sergio Marino Congosto <129174304+sergiomarinocongosto@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:58:00 +0100 Subject: [PATCH] chore(release): 5.0.35 (#158) --- .github/workflows/tests.yml | 6 +++--- .github/workflows/ui-tests.yml | 6 +++--- AffirmSDK.podspec | 2 +- AffirmSDK/AffirmSDK.bundle/Info.plist | 4 ++-- AffirmSDK/Info.plist | 4 ++-- CHANGELOG.md | 3 +++ README.md | 4 ++-- UPGRADE.md | 6 +++--- 8 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fb82a35..eae90f2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,13 +10,13 @@ on: jobs: build: - runs-on: macos-12 + runs-on: macos-14 steps: - name: Checkout project uses: actions/checkout@v2 - name: Build - run: xcodebuild build-for-testing -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 12" + run: xcodebuild build-for-testing -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 15" - name: Test - run: xcodebuild clean test -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 12" + run: xcodebuild clean test -project AffirmSDK.xcodeproj -scheme AffirmSDK -destination "platform=iOS Simulator,name=iPhone 15" diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 5d4cbc3..1d3d347 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -10,7 +10,7 @@ on: jobs: build: - runs-on: macos-12 + runs-on: macos-14 steps: - name: Checkout project uses: actions/checkout@v2 @@ -19,7 +19,7 @@ jobs: run: cd Examples && pod install --verbose --repo-update && cd .. - name: Build - run: xcodebuild build-for-testing -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 12" + run: xcodebuild build-for-testing -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 15" - name: Test - run: xcodebuild -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 12" test + run: xcodebuild -workspace Examples/Examples.xcworkspace -scheme ExamplesUITests -destination "platform=iOS Simulator,name=iPhone 15" test diff --git a/AffirmSDK.podspec b/AffirmSDK.podspec index 2a4beb9..117fad6 100644 --- a/AffirmSDK.podspec +++ b/AffirmSDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'AffirmSDK' s.authors = "Affirm, Inc." - s.version = '5.0.34' + s.version = '5.0.35' s.summary = 'Integrate Affirm into your iOS app' s.homepage = 'https://github.com/Affirm/affirm-merchant-sdk-ios' s.license = { :type => "BSD-3-Clause", :file => "LICENSE" } diff --git a/AffirmSDK/AffirmSDK.bundle/Info.plist b/AffirmSDK/AffirmSDK.bundle/Info.plist index 1c796df..9d99fa7 100644 --- a/AffirmSDK/AffirmSDK.bundle/Info.plist +++ b/AffirmSDK/AffirmSDK.bundle/Info.plist @@ -13,8 +13,8 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 5.0.34 + 5.0.35 CFBundleVersion - 5.0.34 + 5.0.35 diff --git a/AffirmSDK/Info.plist b/AffirmSDK/Info.plist index 50a884c..f579d3f 100644 --- a/AffirmSDK/Info.plist +++ b/AffirmSDK/Info.plist @@ -15,8 +15,8 @@ CFBundlePackageType BNDL CFBundleShortVersionString - 5.0.34 + 5.0.35 CFBundleVersion - 5.0.34 + 5.0.35 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4587293..647974e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,9 @@ # Affirm iOS SDK Changelog All notable changes to the SDK will be documented in this file. +## Version 5.0.35 (Nov 26, 2024) +- Remove the promo messaging restriction for requests above $17,500 + ## Version 5.0.34 (Oct 9, 2024) - Bug fixes diff --git a/README.md b/README.md index eaeb694..55e9fea 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ github "Affirm/affirm-merchant-sdk-ios" From Xcode 11+ : 1. Select File > Swift Packages > Add Package Dependency. Enter `https://github.com/Affirm/affirm-merchant-sdk-ios` in the "Choose Package Repository" dialog. -2. In the next page, specify the version resolving rule as "Up to Next Major" with "5.0.34". +2. In the next page, specify the version resolving rule as "Up to Next Major" with "5.0.35". 3. After Xcode checked out the source and resolving the version, you can choose the "AffirmSDK" library and add it to your app target. For more info, read [Adding Package Dependencies to Your App](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app) from Apple. @@ -38,7 +38,7 @@ Alternatively, you can also add AffirmSDK to your `Package.swift` file: ```swift dependencies: [ - .package(url: "https://github.com/Affirm/affirm-merchant-sdk-ios", .upToNextMajor(from: "5.0.34")) + .package(url: "https://github.com/Affirm/affirm-merchant-sdk-ios", .upToNextMajor(from: "5.0.35")) ] ``` diff --git a/UPGRADE.md b/UPGRADE.md index b078e64..27d1454 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -3,11 +3,11 @@ How to upgrade? If you want to upgrade you sdk to the lastest, please check the following points: ## Version -The latest version is `v5.0.34`, you can upgrade sdk by [CocoaPods](https://cocoapods.org/) and [Carthage](https://github.com/Carthage/Carthage). +The latest version is `v5.0.35`, you can upgrade sdk by [CocoaPods](https://cocoapods.org/) and [Carthage](https://github.com/Carthage/Carthage). For example: -if you use [CocoaPods](https://cocoapods.org/), please make sure you pod repo contains `v5.0.34`, you can use `pod search AffirmSDK` to check it. Otherwise, you should update pod repo before upgrade. +if you use [CocoaPods](https://cocoapods.org/), please make sure you pod repo contains `v5.0.35`, you can use `pod search AffirmSDK` to check it. Otherwise, you should update pod repo before upgrade. ## Fetch updated library @@ -15,7 +15,7 @@ if you use [CocoaPods](https://cocoapods.org/), please make sure you pod repo co If you already use specific sdk version in Podfile, please modify the line related to affirmSDK as follows: ``` -pod 'AffirmSDK', '~> 5.0.34' +pod 'AffirmSDK', '~> 5.0.35' ``` Otherwise, just use `pod update AffirmSDK` in terminal to update AffirmSDK.