From 8b9dcbbc1e3a824df0b6c4396357a73e5dabbe00 Mon Sep 17 00:00:00 2001 From: Ajay Subramanya Date: Thu, 18 Apr 2024 11:43:34 -0500 Subject: [PATCH] Release 3.1.0 --- KlaviyoSwift.podspec | 2 +- KlaviyoSwiftExtension.podspec | 2 +- Sources/KlaviyoSwift/Version.swift | 2 +- .../EncodableTests/testEventPayloadWithMetadata.1.json | 2 +- .../__Snapshots__/EncodableTests/testKlaviyoRequest.1.json | 2 +- .../__Snapshots__/EncodableTests/testKlaviyoState.1.json | 4 ++-- .../__Snapshots__/EncodableTests/testTokenPayload.1.json | 2 +- .../testCreateEmphemeralSesionHeaders.1.txt | 2 +- .../NetworkSessionTests/testDefaultUserAgent.1.txt | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/KlaviyoSwift.podspec b/KlaviyoSwift.podspec index 8b71506c..2ffb2ac1 100644 --- a/KlaviyoSwift.podspec +++ b/KlaviyoSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "KlaviyoSwift" - s.version = "3.0.4" + s.version = "3.1.0" s.summary = "Incorporate Klaviyo's event and person tracking and push notifications functionality into iOS applications" s.description = <<-DESC diff --git a/KlaviyoSwiftExtension.podspec b/KlaviyoSwiftExtension.podspec index 2c0b2786..799869a3 100644 --- a/KlaviyoSwiftExtension.podspec +++ b/KlaviyoSwiftExtension.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "KlaviyoSwiftExtension" - s.version = "3.0.4" + s.version = "3.1.0" s.summary = "Incorporate Klaviyo's rich push notifications functionality into your iOS applications" s.description = <<-DESC diff --git a/Sources/KlaviyoSwift/Version.swift b/Sources/KlaviyoSwift/Version.swift index d9f5e821..d18dfd3f 100644 --- a/Sources/KlaviyoSwift/Version.swift +++ b/Sources/KlaviyoSwift/Version.swift @@ -8,4 +8,4 @@ import Foundation public let __klaviyoSwiftName = "swift" -public let __klaviyoSwiftVersion = "3.0.4" +public let __klaviyoSwiftVersion = "3.1.0" diff --git a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testEventPayloadWithMetadata.1.json b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testEventPayloadWithMetadata.1.json index a6edd122..7ac29c05 100644 --- a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testEventPayloadWithMetadata.1.json +++ b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testEventPayloadWithMetadata.1.json @@ -37,7 +37,7 @@ "OS Version" : "1.1.1", "Push Token" : null, "SDK Name" : "swift", - "SDK Version" : "3.0.4", + "SDK Version" : "3.1.0", "stuff" : 2 }, "time" : "2009-02-13T23:31:30Z", diff --git a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoRequest.1.json b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoRequest.1.json index 63667599..e8b820b1 100644 --- a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoRequest.1.json +++ b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoRequest.1.json @@ -18,7 +18,7 @@ "manufacturer" : "Orange", "os_name" : "iOS", "os_version" : "1.1.1", - "sdk_version" : "3.0.4" + "sdk_version" : "3.1.0" }, "enablement_status" : "AUTHORIZED", "platform" : "ios", diff --git a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoState.1.json b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoState.1.json index 40411351..00710097 100644 --- a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoState.1.json +++ b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testKlaviyoState.1.json @@ -15,7 +15,7 @@ "manufacturer" : "Orange", "os_name" : "iOS", "os_version" : "1.1.1", - "sdk_version" : "3.0.4" + "sdk_version" : "3.1.0" }, "pushBackground" : "AVAILABLE", "pushEnablement" : "AUTHORIZED", @@ -42,7 +42,7 @@ "manufacturer" : "Orange", "os_name" : "iOS", "os_version" : "1.1.1", - "sdk_version" : "3.0.4" + "sdk_version" : "3.1.0" }, "enablement_status" : "AUTHORIZED", "platform" : "ios", diff --git a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testTokenPayload.1.json b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testTokenPayload.1.json index e801efec..b06f32ae 100644 --- a/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testTokenPayload.1.json +++ b/Tests/KlaviyoSwiftTests/__Snapshots__/EncodableTests/testTokenPayload.1.json @@ -14,7 +14,7 @@ "manufacturer" : "Orange", "os_name" : "iOS", "os_version" : "1.1.1", - "sdk_version" : "3.0.4" + "sdk_version" : "3.1.0" }, "enablement_status" : "AUTHORIZED", "platform" : "ios", diff --git a/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt b/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt index 82436a64..471b7a05 100644 --- a/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt +++ b/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testCreateEmphemeralSesionHeaders.1.txt @@ -8,7 +8,7 @@ - "deflate" ▿ (2 elements) - key: "User-Agent" - - value: "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/3.0.4" + - value: "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/3.1.0" ▿ (2 elements) - key: "X-Klaviyo-Mobile" - value: "1" diff --git a/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testDefaultUserAgent.1.txt b/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testDefaultUserAgent.1.txt index f234d861..4b3f76cf 100644 --- a/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testDefaultUserAgent.1.txt +++ b/Tests/KlaviyoSwiftTests/__Snapshots__/NetworkSessionTests/testDefaultUserAgent.1.txt @@ -1 +1 @@ -- "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/3.0.4" +- "FooApp/1.2.3 (com.klaviyo.fooapp; build:1; iOS 1.1.1) klaviyo-ios/3.1.0"