diff --git a/BrazeKit.podspec b/BrazeKit.podspec index dccbb05..f059973 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-mergeable/releases/download/11.1.1/BrazeKit.zip', - :sha256 => '6b95da2628d7d5de7a45eb42c79aa9bf0734f64ff8893bff540bbbe63a3d763f' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeKit.zip', + :sha256 => 'e3667123f16402c62960ce23e048d1b4cade3a80eeae9b54847a413aa766674f' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index 079e60e..38f3b0f 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-mergeable/releases/download/11.1.1/BrazeKitCompat.zip', - :sha256 => '5243e6bd6d496eab0af72659b26622edf493d669ee273572a860d936bee4f5a0' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeKitCompat.zip', + :sha256 => 'cb76b4781a05d376cfe4ae95f84a7a8e5e823b3dc5e8e46a679de9ab36f3f2d8' } 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 0bb5a86..c6b0698 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-mergeable/releases/download/11.1.1/BrazeLocation.zip', - :sha256 => '2876561a02d54221ec6e173dd989a2da89e10d3a092be3ca96680077542edbc3' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeLocation.zip', + :sha256 => '8d325cb715e0158c60d35f5e5203a091056c5319cc84665aad7c17d958bb2193' } 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 3a2778d..43acfa7 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-mergeable/releases/download/11.1.1/BrazeNotificationService.zip', - :sha256 => '1f187ceab2ba0f58f4b98baf6682570905e43bc4ebda8cfd5d03ebff947aa8bb' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeNotificationService.zip', + :sha256 => '66e7763eeb3fe5abaef9924ec5fcf040bf11fd902b021d89d0ee8712ad2bcfc2' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 3583aa1..86b8a8b 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-mergeable/releases/download/11.1.1/BrazePushStory.zip', - :sha256 => '870f25830cfafd8ca9d495de230664868a47851261fe671b75c6a105a512aea1' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazePushStory.zip', + :sha256 => '792687028566ffbf15724c225798b0b618819e5d95e014a431a03993d7b72966' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index ce50741..2d4bde2 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-mergeable/releases/download/11.1.1/BrazeUI.zip', - :sha256 => '0a73f797a0aa4887544ec19227e86ff73f1ad9703473f49b0621cd15cd5caac5' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeUI.zip', + :sha256 => 'a3ddec51657303bb958acd9c3c6fde20bacdb09da1305f760a42e6024e42d888' } 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 64d7977..8e2555e 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-mergeable/releases/download/11.1.1/BrazeUICompat.zip', - :sha256 => '69c50ca30fd51d0bde10210ec7c32ee509efe18364b820235158f809984bd1ad' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeUICompat.zip', + :sha256 => '73866ce6c44427239e1785994b4b406cc1d02dbbb86bb9278bc99322f6ffa770' } 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 916b7c2..47d360b 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.1.1/BrazeKit.zip", - checksum: "6b95da2628d7d5de7a45eb42c79aa9bf0734f64ff8893bff540bbbe63a3d763f" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeKit.zip", + checksum: "e3667123f16402c62960ce23e048d1b4cade3a80eeae9b54847a413aa766674f" ), .binaryTarget( name: "BrazeUI", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.1.1/BrazeUI.zip", - checksum: "0a73f797a0aa4887544ec19227e86ff73f1ad9703473f49b0621cd15cd5caac5" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeUI.zip", + checksum: "a3ddec51657303bb958acd9c3c6fde20bacdb09da1305f760a42e6024e42d888" ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.1.1/BrazeLocation.zip", - checksum: "2876561a02d54221ec6e173dd989a2da89e10d3a092be3ca96680077542edbc3" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeLocation.zip", + checksum: "8d325cb715e0158c60d35f5e5203a091056c5319cc84665aad7c17d958bb2193" ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.1.1/BrazeNotificationService.zip", - checksum: "1f187ceab2ba0f58f4b98baf6682570905e43bc4ebda8cfd5d03ebff947aa8bb" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeNotificationService.zip", + checksum: "66e7763eeb3fe5abaef9924ec5fcf040bf11fd902b021d89d0ee8712ad2bcfc2" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.1.1/BrazePushStory.zip", - checksum: "870f25830cfafd8ca9d495de230664868a47851261fe671b75c6a105a512aea1" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazePushStory.zip", + checksum: "792687028566ffbf15724c225798b0b618819e5d95e014a431a03993d7b72966" ), .binaryTarget( name: "BrazeKitCompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.1.1/BrazeKitCompat.zip", - checksum: "5243e6bd6d496eab0af72659b26622edf493d669ee273572a860d936bee4f5a0" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeKitCompat.zip", + checksum: "cb76b4781a05d376cfe4ae95f84a7a8e5e823b3dc5e8e46a679de9ab36f3f2d8" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.1.1/BrazeUICompat.zip", - checksum: "69c50ca30fd51d0bde10210ec7c32ee509efe18364b820235158f809984bd1ad" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.2.0/BrazeUICompat.zip", + checksum: "73866ce6c44427239e1785994b4b406cc1d02dbbb86bb9278bc99322f6ffa770" ), ] ) diff --git a/README.md b/README.md index 5de04fd..7874ab4 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@