From ccb2b281129c1dfbd6f51ae2db0ac320ed59ecfc Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Mon, 27 Mar 2023 17:12:11 -0700 Subject: [PATCH 1/2] version 6.4.12 --- CHANGELOG.md | 8 ++++++++ Iterable-iOS-AppExtensions.podspec | 5 ++--- Iterable-iOS-SDK.podspec | 5 ++--- swift-sdk/IterableAPI.swift | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f172e2ff2..95011211a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 6.4.11 +### Added +- Added a new function to `IterableAPI` to get the currently set authentication token + +### Changed +- Changed `setEmail` and `setUserId` to run through the login process if also sent in an authentication token (and a non-`nil` ID) +- Changed authentication manager behavior to schedule automatic refreshes on JWT retrieval or decoding failures + ## 6.4.11 ### Fixed - Fixed so that `AuthManager` clears the previous refresh timer before setting a new one (thanks, @cranberyxl!) diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index ff9075ee1..9756bdff8 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.11" + s.version = "6.4.12" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC @@ -10,8 +10,7 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/Iterable/swift-sdk.git" s.license = "MIT" - s.author = { "Tapash Majumder" => "tapash@iterable.com", - "Jay Kim" => "jay.kim@iterable.com" } + s.author = { "Jay Kim" => "jay.kim@iterable.com" } s.platform = :ios, "10.0" s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version } diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index 6d5c11ef5..793779921 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.11" + s.version = "6.4.12" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC @@ -10,8 +10,7 @@ Pod::Spec.new do |s| s.homepage = "https://github.com/Iterable/swift-sdk.git" s.license = "MIT" - s.author = { "Tapash Majumder" => "tapash@iterable.com", - "Jay Kim" => "jay.kim@iterable.com" } + s.author = { "Jay Kim" => "jay.kim@iterable.com" } s.platform = :ios, "10.0" s.source = { :git => "https://github.com/Iterable/swift-sdk.git", :tag => s.version } diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index eb36303d7..7dc73a0eb 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -8,7 +8,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.4.11" + public static let sdkVersion = "6.4.12" /// The email of the logged in user that this IterableAPI is using public static var email: String? { From 208e60ed58d1586107d7ad0f4a3802613ce2921f Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Mon, 27 Mar 2023 17:23:20 -0700 Subject: [PATCH 2/2] edit changelog --- CHANGELOG.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 95011211a..920e0d63f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,16 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## 6.4.11 +## 6.4.12 ### Added - Added a new function to `IterableAPI` to get the currently set authentication token +- Added a new function (`onTokenRegistrationFailed`) to the `IterableAuthDelegate` upon authentication token retrieval failure ### Changed - Changed `setEmail` and `setUserId` to run through the login process if also sent in an authentication token (and a non-`nil` ID) -- Changed authentication manager behavior to schedule automatic refreshes on JWT retrieval or decoding failures + +### Fixed +- Fixed instances where setting a new authentication token for a user failed ## 6.4.11 ### Fixed