From 680930e1fb70721d16da435e67187ec2afcd1216 Mon Sep 17 00:00:00 2001 From: Louis Bur Date: Thu, 12 Dec 2024 11:29:29 +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 1d634cc..acb5983 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-mergeable/releases/download/11.3.0/BrazeKit.zip', - :sha256 => '1fed34aa4cd11d5589f15cef5c832e7f1f90b35e4c127a6d91cfd4c88fceb2db' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKit.zip', + :sha256 => '98a0020d8487f02b8d9bf63562d4494312fd378a2d80cc4ff962b751db8b71ad' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index 204e489..09a27d6 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-mergeable/releases/download/11.3.0/BrazeKitCompat.zip', - :sha256 => 'ee910ddb2fad342ab9d0927a358c2c4b6eda26db0183ed5aeb9fc328271b5dd3' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKitCompat.zip', + :sha256 => '5ceb1af91ad1d2cafc612f798100f79baf3ff9dc49988f71a1723308081a4bb3' } 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 fc14774..5c10d7d 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-mergeable/releases/download/11.3.0/BrazeLocation.zip', - :sha256 => '1752a1aca6c6cd5596e2cdf6fbf0f6ad214db51a5ac97cdd9860cb78e58f6e95' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeLocation.zip', + :sha256 => '4830b00cf3b6d480154b1da13941418476436bd58119b50c202b0362241c2c41' } s.swift_version = '5.0' @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeLocation.xcframework' - 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 8280e1c..b7a613d 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-mergeable/releases/download/11.3.0/BrazeNotificationService.zip', - :sha256 => 'df3db8e10a66a60a3fab8d18d9ca75c6a47de089c36e4920902a6b3d6f424c10' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeNotificationService.zip', + :sha256 => '4dbe26be9c10a100f37ccb1c237d5a81e41eb4f0536f8eb7bd20813082ad55dc' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 37bc258..76f60f6 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-mergeable/releases/download/11.3.0/BrazePushStory.zip', - :sha256 => '95af82cff737c83bfb589c21e79455cd37c6c56223980271d8f7d2213ac10bed' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazePushStory.zip', + :sha256 => '7bed54640be005154a9751a9e051f49b69e0a80c01b089c492b1e718c85fbd67' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index 85168bd..d6e1258 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-mergeable/releases/download/11.3.0/BrazeUI.zip', - :sha256 => 'c3277c7574b5f7d85876750aecbb9a42d0a72a8528cb4f13f480dbc416d299b7' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUI.zip', + :sha256 => '6fa41f13aa486332c108b48f7a4138e88e5ee77c0f83ed90f1ea49fbf4fb3cfd' } s.swift_version = '5.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUI.xcframework' - 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 85fd764..8777193 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-mergeable/releases/download/11.3.0/BrazeUICompat.zip', - :sha256 => '2adc6afe4190c5af62161b0d22a1c3b7cbdd4584c6f4dc8e54c06e4b4fc03eb7' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUICompat.zip', + :sha256 => '426ea5b9cd6940470bcd8b3d057ac67f0d868722d6374befb34ca8994ff31957' } s.swift_version = '5.0' @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUICompat.xcframework' - 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 d009d28..ecc3d26 100644 --- a/Package.swift +++ b/Package.swift @@ -49,38 +49,38 @@ let package = Package( targets: [ .binaryTarget( name: "BrazeKit", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeKit.zip", - checksum: "1fed34aa4cd11d5589f15cef5c832e7f1f90b35e4c127a6d91cfd4c88fceb2db" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKit.zip", + checksum: "98a0020d8487f02b8d9bf63562d4494312fd378a2d80cc4ff962b751db8b71ad" ), .binaryTarget( name: "BrazeUI", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeUI.zip", - checksum: "c3277c7574b5f7d85876750aecbb9a42d0a72a8528cb4f13f480dbc416d299b7" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUI.zip", + checksum: "6fa41f13aa486332c108b48f7a4138e88e5ee77c0f83ed90f1ea49fbf4fb3cfd" ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeLocation.zip", - checksum: "1752a1aca6c6cd5596e2cdf6fbf0f6ad214db51a5ac97cdd9860cb78e58f6e95" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeLocation.zip", + checksum: "4830b00cf3b6d480154b1da13941418476436bd58119b50c202b0362241c2c41" ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeNotificationService.zip", - checksum: "df3db8e10a66a60a3fab8d18d9ca75c6a47de089c36e4920902a6b3d6f424c10" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeNotificationService.zip", + checksum: "4dbe26be9c10a100f37ccb1c237d5a81e41eb4f0536f8eb7bd20813082ad55dc" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazePushStory.zip", - checksum: "95af82cff737c83bfb589c21e79455cd37c6c56223980271d8f7d2213ac10bed" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazePushStory.zip", + checksum: "7bed54640be005154a9751a9e051f49b69e0a80c01b089c492b1e718c85fbd67" ), .binaryTarget( name: "BrazeKitCompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeKitCompat.zip", - checksum: "ee910ddb2fad342ab9d0927a358c2c4b6eda26db0183ed5aeb9fc328271b5dd3" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKitCompat.zip", + checksum: "5ceb1af91ad1d2cafc612f798100f79baf3ff9dc49988f71a1723308081a4bb3" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeUICompat.zip", - checksum: "2adc6afe4190c5af62161b0d22a1c3b7cbdd4584c6f4dc8e54c06e4b4fc03eb7" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUICompat.zip", + checksum: "426ea5b9cd6940470bcd8b3d057ac67f0d868722d6374befb34ca8994ff31957" ), ] ) diff --git a/README.md b/README.md index 2174e99..17eee63 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 11.3.0 + Version: 11.4.0