From 1a83f68ed00203360cb362b25228bdc38ba92891 Mon Sep 17 00:00:00 2001 From: Louis Bur Date: Thu, 12 Dec 2024 11:26:21 +0100 Subject: [PATCH] Version 11.4.0 --- BrazeKit.podspec | 6 +++--- BrazeKitCompat.podspec | 10 +++++----- BrazeLocation.podspec | 8 ++++---- BrazeNotificationService.podspec | 6 +++--- BrazePushStory.podspec | 6 +++--- BrazeUI.podspec | 8 ++++---- BrazeUICompat.podspec | 8 ++++---- CHANGELOG.md | 17 +++++++++++++++++ Package.swift | 28 ++++++++++++++-------------- README.md | 2 +- 10 files changed, 58 insertions(+), 41 deletions(-) diff --git a/BrazeKit.podspec b/BrazeKit.podspec index 38adfb8..f1e19de 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Braze Main SDK library providing support for analytics and push notifications.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeKit.zip', - :sha256 => '7baf15bdd7f6f78476be75e0def3503b1b5b479eaf72f4c61e9c725bdc2f72fa' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeKit.zip', + :sha256 => '784d49022b57d1149a6633f02ccde80ca918d35f7bff70f23bf3d38edd2a874a' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index 020c470..ce9f606 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Compatibility library for users migrating from AppboyKit.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeKitCompat.zip', - :sha256 => 'd2ba6aafd93983c3b97c77b2fb880d66b9db4a1e6ae1ca23bf5b423ea4570d47' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeKitCompat.zip', + :sha256 => '71877e67ec03a9a3f9653d26e29782af1c4a3e31bad7aeb14754c02a090b7782' } s.swift_version = '5.0' @@ -19,8 +19,8 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeKitCompat.xcframework' - s.dependency 'BrazeKit', '11.3.0' - s.dependency 'BrazeLocation', '11.3.0' + s.dependency 'BrazeKit', '11.4.0' + s.dependency 'BrazeLocation', '11.4.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index 861c6e3..dc49b5c 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Braze location library providing support for location analytics and geofence monitoring.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeLocation.zip', - :sha256 => 'f4da6f4e144d817ec9b50996daa9ef7cbbbc7dbd45589b6900f70d7cea80b716' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeLocation.zip', + :sha256 => 'bf6f26d308806fe80e39e17170b087eb52bdcbc73699f45d27aa0c35a8931f27' } s.swift_version = '5.0' @@ -21,7 +21,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeLocation.xcframework' s.resource_bundles = { 'BrazeLocation' => ['Sources/BrazeLocationResources/Resources/**/*'] } - s.dependency 'BrazeKit', '11.3.0' + s.dependency 'BrazeKit', '11.4.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index 5a43227..27878bc 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Braze notification service extension library providing support for Rich Push notifications.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeNotificationService.zip', - :sha256 => '491f300cd9d69e00050b0480dd096a9fac742cebbf2f024fc0b5535a88e8d19c' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeNotificationService.zip', + :sha256 => '6804bfaf9c5efe55c109a6d63be264f9abc83acd8484718f9ddaef344f1371bf' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 5ff064a..fc77f33 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Braze notification content extension library providing support for Push Stories.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazePushStory.zip', - :sha256 => 'a93c7d929a759aa0f3287ddec27b2844d84b15580029aa4bb5c68b9633ab6df4' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazePushStory.zip', + :sha256 => 'c2dacb22b47df113779c6c65231ec27ed781469a1c8ce5ace02942103ffa94e1' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index 15a9cac..74a975e 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeUI.zip', - :sha256 => 'e6732bc5e1d6b1ef4087a5656f38ab09a67b1a769e118c0e6f293642fece91aa' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeUI.zip', + :sha256 => '87205475d27d055073400dc816e559590d24ab210580fc5af06aaef6f84bb6c4' } s.swift_version = '5.0' @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUI.xcframework' s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUIResources/Resources/**/*'] } - s.dependency 'BrazeKit', '11.3.0' + s.dependency 'BrazeKit', '11.4.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index e070de1..49ca3b5 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '11.3.0' + s.version = '11.4.0' s.summary = 'Compatibility UI library for users migrating from AppboyUI.' s.homepage = 'https://braze.com' @@ -9,8 +9,8 @@ Pod::Spec.new do |s| s.authors = 'Braze, Inc.' s.source = { - :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeUICompat.zip', - :sha256 => '713bac98a918af0b3f82b1015083f99ed518ce427cb0113e3fba160bcc523d98' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeUICompat.zip', + :sha256 => '88bf70531bf02529e938b918a1536efca1628ec9cb3567ffc1dee6be86f6e249' } s.swift_version = '5.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUICompat.xcframework' s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompatResources/*/Resources/**/*.*' } - s.dependency 'BrazeKitCompat', '11.3.0' + s.dependency 'BrazeKitCompat', '11.4.0' s.dependency 'SDWebImage', '>= 5.19.7', '< 6' s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } diff --git a/CHANGELOG.md b/CHANGELOG.md index c4ee5ac..3ff762b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 11.4.0 + +##### Fixed +- Fixes an issue where the SDK could hang during initialization if previous sessions generated a large number of geofence refreshes. This hang could sometimes lead to a crash by blocking the main thread for an extended period. +- Fixes an issue where the triggering of in-app messages could be delayed in cases where requests for updated in-app message triggers are also delayed due to rate limiting. +- Adds additional safeguards to ensure that ongoing network requests are dropped when changing users mid-flight. + +##### Added +- When Content Cards, Feature Flags, or Banner Cards go from enabled to disabled, the stored data is removed from cache. +- Adds [`banner.trackingId`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/banner/trackingid) to distinguish between banner objects. + - Deprecates `banner.id` in favor of `banner.trackingId`. + ## 11.3.0 ##### Fixed @@ -38,6 +50,11 @@ ##### Added - Adds a public initializer for `Braze.Notifications.Payload`. +## 11.0.1 + +##### Fixed +- Fixes an issue introduced in `11.0.0` where the push subscription status would be sent to the backend with an inaccurate value at startup, causing an unexpected subscription state. The SDK now sends up the accurate subscription status at each startup. + ## 11.0.0 ⚠️ **Important:** This version has a known issue related to push subscription status. Upgrade to version `11.1.1` instead. diff --git a/Package.swift b/Package.swift index d5b3b76..dd46930 100644 --- a/Package.swift +++ b/Package.swift @@ -49,8 +49,8 @@ let package = Package( targets: [ .binaryTarget( name: "BrazeKit", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeKit.zip", - checksum: "7baf15bdd7f6f78476be75e0def3503b1b5b479eaf72f4c61e9c725bdc2f72fa" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeKit.zip", + checksum: "784d49022b57d1149a6633f02ccde80ca918d35f7bff70f23bf3d38edd2a874a" ), .target( name: "BrazeKitResources", @@ -60,8 +60,8 @@ let package = Package( ), .binaryTarget( name: "BrazeUI", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeUI.zip", - checksum: "e6732bc5e1d6b1ef4087a5656f38ab09a67b1a769e118c0e6f293642fece91aa" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeUI.zip", + checksum: "87205475d27d055073400dc816e559590d24ab210580fc5af06aaef6f84bb6c4" ), .target( name: "BrazeUIResources", @@ -71,8 +71,8 @@ let package = Package( ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeLocation.zip", - checksum: "f4da6f4e144d817ec9b50996daa9ef7cbbbc7dbd45589b6900f70d7cea80b716" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeLocation.zip", + checksum: "bf6f26d308806fe80e39e17170b087eb52bdcbc73699f45d27aa0c35a8931f27" ), .target( name: "BrazeLocationResources", @@ -82,13 +82,13 @@ let package = Package( ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeNotificationService.zip", - checksum: "491f300cd9d69e00050b0480dd096a9fac742cebbf2f024fc0b5535a88e8d19c" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeNotificationService.zip", + checksum: "6804bfaf9c5efe55c109a6d63be264f9abc83acd8484718f9ddaef344f1371bf" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazePushStory.zip", - checksum: "a93c7d929a759aa0f3287ddec27b2844d84b15580029aa4bb5c68b9633ab6df4" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazePushStory.zip", + checksum: "c2dacb22b47df113779c6c65231ec27ed781469a1c8ce5ace02942103ffa94e1" ), .target( name: "BrazePushStoryResources", @@ -98,13 +98,13 @@ let package = Package( ), .binaryTarget( name: "BrazeKitCompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeKitCompat.zip", - checksum: "d2ba6aafd93983c3b97c77b2fb880d66b9db4a1e6ae1ca23bf5b423ea4570d47" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeKitCompat.zip", + checksum: "71877e67ec03a9a3f9653d26e29782af1c4a3e31bad7aeb14754c02a090b7782" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.3.0/BrazeUICompat.zip", - checksum: "713bac98a918af0b3f82b1015083f99ed518ce427cb0113e3fba160bcc523d98" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/11.4.0/BrazeUICompat.zip", + checksum: "88bf70531bf02529e938b918a1536efca1628ec9cb3567ffc1dee6be86f6e249" ), .target( name: "BrazeUICompatResources", diff --git a/README.md b/README.md index b2584d0..e6cb634 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 11.3.0 + Version: 11.4.0