From 8087c4f51dcdd1b8117e21f6a4bc53cb92abe01f Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 11:39:32 -0700 Subject: [PATCH 1/6] prepares for release --- CHANGELOG.md | 7 +++++++ Iterable-iOS-AppExtensions.podspec | 2 +- Iterable-iOS-SDK.podspec | 2 +- swift-sdk/IterableAPI.swift | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7df1a021..e0602d0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 6.4.16 +### Added +- `sendRequewstWithRetries` function added as part of the `NetworkHelperclass` which allows for multiple retries to be triggered when a 500 and above status code is returned in the response + +### Changed +- updates `sendRequest` in `RequestProcessorUtil` to request a new token regardless of if the prior authentication attempt failed + ## 6.4.15 ### Added - This release allows you to use projects hosted on Iterable's EU data center. If your project is hosted on Iterable's [European data center (EUDC)](https://support.iterable.com/hc/articles/17572750887444), configure the SDK to use Iterable's EU-based API endpoints: diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index c1f0c8d9..2fe946d6 100644 --- a/Iterable-iOS-AppExtensions.podspec +++ b/Iterable-iOS-AppExtensions.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-AppExtensions" s.module_name = "IterableAppExtensions" - s.version = "6.4.15" + s.version = "6.4.16" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index 57d3fbab..adffcf24 100644 --- a/Iterable-iOS-SDK.podspec +++ b/Iterable-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-SDK" s.module_name = "IterableSDK" - s.version = "6.4.15" + s.version = "6.4.16" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index 9c57fd4b..1eb2b952 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -7,7 +7,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.4.15" + public static let sdkVersion = "6.4.16" /// The email of the logged in user that this IterableAPI is using public static var email: String? { From 36c7b09865b377f91a212f65471b68dc55abf842 Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 13:26:32 -0700 Subject: [PATCH 2/6] updates changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e0602d0c..3d458c1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - `sendRequewstWithRetries` function added as part of the `NetworkHelperclass` which allows for multiple retries to be triggered when a 500 and above status code is returned in the response ### Changed -- updates `sendRequest` in `RequestProcessorUtil` to request a new token regardless of if the prior authentication attempt failed +- updates `sendRequest` in `RequestProcessorUtil` to retries API request that resulted in a 401 response upon receipt of a new JWT ## 6.4.15 ### Added From 9c153b58eb71a0cccbc9207dcaf45173739d00f6 Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 13:34:20 -0700 Subject: [PATCH 3/6] updates changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d458c1b..8d5f7cf1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). - `sendRequewstWithRetries` function added as part of the `NetworkHelperclass` which allows for multiple retries to be triggered when a 500 and above status code is returned in the response ### Changed -- updates `sendRequest` in `RequestProcessorUtil` to retries API request that resulted in a 401 response upon receipt of a new JWT +- updates `sendRequest` in `RequestProcessorUtil` to retry the API request that resulted in a 401 response upon receipt of a new JWT ## 6.4.15 ### Added From 62931bed4e93cd4bd08a3eeb9264a738d5594be8 Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 13:35:40 -0700 Subject: [PATCH 4/6] updates version numbers --- Iterable-iOS-AppExtensions.podspec | 2 +- Iterable-iOS-SDK.podspec | 2 +- swift-sdk/IterableAPI.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index 2fe946d6..74ff5abb 100644 --- a/Iterable-iOS-AppExtensions.podspec +++ b/Iterable-iOS-AppExtensions.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-AppExtensions" s.module_name = "IterableAppExtensions" - s.version = "6.4.16" + s.version = "6.5.0" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index adffcf24..334e07e3 100644 --- a/Iterable-iOS-SDK.podspec +++ b/Iterable-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-SDK" s.module_name = "IterableSDK" - s.version = "6.4.16" + s.version = "6.5.0" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index 1eb2b952..6d2e1dd7 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -7,7 +7,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.4.16" + public static let sdkVersion = "6.5.0" /// The email of the logged in user that this IterableAPI is using public static var email: String? { From e3393ba4019c2536bc27bc2277dbb46ce6485eb2 Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 13:49:35 -0700 Subject: [PATCH 5/6] updates version number in changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d5f7cf1..e492bcf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## 6.4.16 +## 6.5.0 ### Added - `sendRequewstWithRetries` function added as part of the `NetworkHelperclass` which allows for multiple retries to be triggered when a 500 and above status code is returned in the response From bb487c32a0420ae86f013ac6f3108f7133c16b12 Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Mon, 13 Nov 2023 14:03:24 -0700 Subject: [PATCH 6/6] updates changelog and version numbers --- CHANGELOG.md | 4 ++-- Iterable-iOS-AppExtensions.podspec | 2 +- Iterable-iOS-SDK.podspec | 2 +- swift-sdk/IterableAPI.swift | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e492bcf4..7ff4fc63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,9 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## 6.5.0 +## 6.4.16 ### Added -- `sendRequewstWithRetries` function added as part of the `NetworkHelperclass` which allows for multiple retries to be triggered when a 500 and above status code is returned in the response +- `sendRequestWithRetries` function added as part of the `NetworkHelperclass` which allows for multiple retries to be triggered when a 500 and above status code is returned in the response ### Changed - updates `sendRequest` in `RequestProcessorUtil` to retry the API request that resulted in a 401 response upon receipt of a new JWT diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index 74ff5abb..2fe946d6 100644 --- a/Iterable-iOS-AppExtensions.podspec +++ b/Iterable-iOS-AppExtensions.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-AppExtensions" s.module_name = "IterableAppExtensions" - s.version = "6.5.0" + s.version = "6.4.16" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index 334e07e3..adffcf24 100644 --- a/Iterable-iOS-SDK.podspec +++ b/Iterable-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-SDK" s.module_name = "IterableSDK" - s.version = "6.5.0" + s.version = "6.4.16" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index 6d2e1dd7..1eb2b952 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -7,7 +7,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.5.0" + public static let sdkVersion = "6.4.16" /// The email of the logged in user that this IterableAPI is using public static var email: String? {