From 0a6b3cf57f89238481f59f806844ef4e8a0d07d7 Mon Sep 17 00:00:00 2001 From: Jeriel Ng Date: Wed, 30 Oct 2024 13:27:19 -0400 Subject: [PATCH] Version 11.2.0 --- BrazeKit.podspec | 6 +++--- BrazeKitCompat.podspec | 10 +++++----- BrazeLocation.podspec | 8 ++++---- BrazeNotificationService.podspec | 6 +++--- BrazePushStory.podspec | 6 +++--- BrazeUI.podspec | 8 ++++---- BrazeUICompat.podspec | 8 ++++---- CHANGELOG.md | 13 +++++++++++++ Package.swift | 28 ++++++++++++++-------------- README.md | 2 +- 10 files changed, 54 insertions(+), 41 deletions(-) diff --git a/BrazeKit.podspec b/BrazeKit.podspec index 1593590..2bae2ba 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazeKit.zip', - :sha256 => '1810b44f6e329988d1469156e6596889eb9428d61ecb31d297417fcec52bc6f8' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeKit.zip', + :sha256 => '7f2dcc427399d6787fc2d5aa947f916892efd2aeabc6f1e5db00b293de85644a' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index a288423..69f7de0 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazeKitCompat.zip', - :sha256 => '62f30a10273458002fc05c7105f5af891138f76c35a7963d5584c1a816355aa8' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeKitCompat.zip', + :sha256 => '98eaccb29283fb59d03c68c77fc084ab35725599c61bc8bb65ec5b5cb656124a' } s.swift_version = '5.0' @@ -19,8 +19,8 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeKitCompat.xcframework' - s.dependency 'BrazeKit', '11.1.1' - s.dependency 'BrazeLocation', '11.1.1' + s.dependency 'BrazeKit', '11.2.0' + s.dependency 'BrazeLocation', '11.2.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index b2ccf5e..e2608d1 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazeLocation.zip', - :sha256 => '359534a230caddec49bd2b07be4722497c7172d7c49c7ac5fb2fe2b147cbb49d' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeLocation.zip', + :sha256 => 'd95c77782471a49272fa0ee1daa9037fae4a834db7ef2a9ad3817042fa31c32c' } s.swift_version = '5.0' @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeLocation.xcframework' - s.dependency 'BrazeKit', '11.1.1' + s.dependency 'BrazeKit', '11.2.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index 246fcf1..8aa134a 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazeNotificationService.zip', - :sha256 => '2bbfa6208b9d53daf778495d7569ddf29161111faa185cab1eaa5fbcc459e58a' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeNotificationService.zip', + :sha256 => '133c20edf0d8fe4f8651b722ebbb26743308afd6a07116817f09864e7818b83f' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 320907b..99fa635 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazePushStory.zip', - :sha256 => 'd03d5c6082e1256a07f7e0b878ea19ac1388f1863d28a0846c39bdf6c768c655' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazePushStory.zip', + :sha256 => 'dad23e43b58f29079dc9d398cbe6621e3dccd0cfbc9ea6bab6ca50f8bfd1af66' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index 4b2549c..c0a1f6c 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazeUI.zip', - :sha256 => '73128438114f2ce364d92766fe119070ac99eb6d3fe34b7c32a9f79c81ed68e7' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeUI.zip', + :sha256 => '3d4a5975aead8c922eac7ef5a4163fb9f66b3142f0d0fd78803ad34220ffc981' } s.swift_version = '5.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUI.xcframework' - s.dependency 'BrazeKit', '11.1.1' + s.dependency 'BrazeKit', '11.2.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index f1739bf..a2a8e3b 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '11.1.1' + s.version = '11.2.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-dynamic/releases/download/11.1.1/BrazeUICompat.zip', - :sha256 => 'af7717eaf638cacfe6c59d2ae9294b31b72932fee869745f70c9f9b397e7d074' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeUICompat.zip', + :sha256 => '667a70bf290094b07909cefc9db4c363b12f191f86f70a32d1c92e5f2a056fdd' } s.swift_version = '5.0' @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUICompat.xcframework' - s.dependency 'BrazeKitCompat', '11.1.1' + s.dependency 'BrazeKitCompat', '11.2.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 8cebc08..e314278 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## 11.2.0 + +##### Fixed +- Fixes the Objective-C `Braze.delegate` declaration to be `weak` like the Swift variant. + +##### Added +- `Braze.prepareForDelayedInitialization` now takes an optional parameter `analyticsBehavior: PushEnqueueBehavior`. + - Braze uses this value to determine whether any Braze push payloads received before initialization should be processed once initialization is complete. + - `PushEnqueueBehavior.queue` will enqueue received push payloads to be processed upon initialization. This option is selected by default. + - `PushEnqueueBehavior.drop` will drop received push payloads, ignoring them. +- Adds configuration properties to customize the `lineSpacing`, `maxLineHeight`, `minLineHeight`, and `lineHeightMultiple` for the header and message texts in full and modal in-app messages. +- Updates `BrazeContentCardUI.ViewController.Attributes.defaults` to be a `var` to allow directly editing the property for convenience. + ## 11.1.1 ##### Fixed diff --git a/Package.swift b/Package.swift index bbb012b..5040999 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-dynamic/releases/download/11.1.1/BrazeKit.zip", - checksum: "1810b44f6e329988d1469156e6596889eb9428d61ecb31d297417fcec52bc6f8" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeKit.zip", + checksum: "7f2dcc427399d6787fc2d5aa947f916892efd2aeabc6f1e5db00b293de85644a" ), .binaryTarget( name: "BrazeUI", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.1.1/BrazeUI.zip", - checksum: "73128438114f2ce364d92766fe119070ac99eb6d3fe34b7c32a9f79c81ed68e7" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeUI.zip", + checksum: "3d4a5975aead8c922eac7ef5a4163fb9f66b3142f0d0fd78803ad34220ffc981" ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.1.1/BrazeLocation.zip", - checksum: "359534a230caddec49bd2b07be4722497c7172d7c49c7ac5fb2fe2b147cbb49d" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeLocation.zip", + checksum: "d95c77782471a49272fa0ee1daa9037fae4a834db7ef2a9ad3817042fa31c32c" ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.1.1/BrazeNotificationService.zip", - checksum: "2bbfa6208b9d53daf778495d7569ddf29161111faa185cab1eaa5fbcc459e58a" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeNotificationService.zip", + checksum: "133c20edf0d8fe4f8651b722ebbb26743308afd6a07116817f09864e7818b83f" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.1.1/BrazePushStory.zip", - checksum: "d03d5c6082e1256a07f7e0b878ea19ac1388f1863d28a0846c39bdf6c768c655" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazePushStory.zip", + checksum: "dad23e43b58f29079dc9d398cbe6621e3dccd0cfbc9ea6bab6ca50f8bfd1af66" ), .binaryTarget( name: "BrazeKitCompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.1.1/BrazeKitCompat.zip", - checksum: "62f30a10273458002fc05c7105f5af891138f76c35a7963d5584c1a816355aa8" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeKitCompat.zip", + checksum: "98eaccb29283fb59d03c68c77fc084ab35725599c61bc8bb65ec5b5cb656124a" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.1.1/BrazeUICompat.zip", - checksum: "af7717eaf638cacfe6c59d2ae9294b31b72932fee869745f70c9f9b397e7d074" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.2.0/BrazeUICompat.zip", + checksum: "667a70bf290094b07909cefc9db4c363b12f191f86f70a32d1c92e5f2a056fdd" ), ] ) diff --git a/README.md b/README.md index d7c7c39..c1cf22b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 11.1.1 + Version: 11.2.0