From a6a7eae6641d755403809e75ae901f3669cf4508 Mon Sep 17 00:00:00 2001 From: Jeriel Ng Date: Thu, 30 May 2024 10:32:01 -0400 Subject: [PATCH] Version 9.3.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 6d25080..3f70e1b 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazeKit.zip', - :sha256 => '0aa14ac543c9e122b661503e5793d8a9b4f806ac6c1c35024a6a2ff96f867597' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeKit.zip', + :sha256 => '3be922ab788b67443a0d643c353929a5d8138d92b79ca558cfc60447b71d8081' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index e89470f..f2715a4 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazeKitCompat.zip', - :sha256 => 'c897dd065a7ad3b6dd6a2ed86184812e4a0877a9bf8e0b26117745914c661d31' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeKitCompat.zip', + :sha256 => '4ab4930915b8b73b783f0b4f91e4612ccb66603d1f0ac4a3ab85e35e016474fe' } s.swift_version = '5.0' @@ -19,8 +19,8 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeKitCompat.xcframework' - s.dependency 'BrazeKit', '9.2.0' - s.dependency 'BrazeLocation', '9.2.0' + s.dependency 'BrazeKit', '9.3.0' + s.dependency 'BrazeLocation', '9.3.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index 3e8a98a..919770a 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazeLocation.zip', - :sha256 => '0c294e3e5142818035d242ef84666386295c3f02ed733067cd81822e2888ac72' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeLocation.zip', + :sha256 => '2b6558ec8ad7475097511128c04576bbb9c444d7285a62568f5b9dafd4aee912' } s.swift_version = '5.0' @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeLocation.xcframework' - s.dependency 'BrazeKit', '9.2.0' + s.dependency 'BrazeKit', '9.3.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index d4f2559..670be3e 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazeNotificationService.zip', - :sha256 => 'd7ef30aa42a04fa3a5229cdbefda24846132632a23cd964f5093eafbe55e041f' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeNotificationService.zip', + :sha256 => '97c6402af1e323b6f708af3023a96d1411a78ef29fec85b745932f072a9e2e78' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 45f0833..78c7f91 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazePushStory.zip', - :sha256 => 'de457149fdd74b99a741103d8add921acc73a86ae852f45f0769ffc30068008f' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazePushStory.zip', + :sha256 => '85a51f5f15c89ffd5c0ed476aed88a82cab68a5b677a1ecf61f64bec0eef0ca4' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index e3fa423..cd9019b 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazeUI.zip', - :sha256 => '541e52d3147f46f1882b02d77d5989b4073420d587fb14e3c111e50cea4119c6' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeUI.zip', + :sha256 => 'a5480ccc9dcb7166a5b6a60935a6665625f13f9211b84d2007f45b851ebf133b' } s.swift_version = '5.0' @@ -19,7 +19,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUI.xcframework' - s.dependency 'BrazeKit', '9.2.0' + s.dependency 'BrazeKit', '9.3.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index 3ae3d0c..1080580 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '9.2.0' + s.version = '9.3.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/9.2.0/BrazeUICompat.zip', - :sha256 => 'e72de71e171bef88df2ca8ee3fdfe8dcb3e77f6e8ee1c3310fd2afcdbcb35730' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeUICompat.zip', + :sha256 => '7f8c4eb4fadb0e2f544d3102a151d8cee0ef3488a3f5b725bbd25ce4b2eddd07' } s.swift_version = '5.0' @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.vendored_framework = 'BrazeUICompat.xcframework' - s.dependency 'BrazeKitCompat', '9.2.0' + s.dependency 'BrazeKitCompat', '9.3.0' s.dependency 'SDWebImage', '>= 5.19.0', '< 6' s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } diff --git a/CHANGELOG.md b/CHANGELOG.md index 385f373..a0cccda 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## 9.3.0 + +##### Added +- Adds Objective-C support for the [`BrazeInAppMessageUIDelegate.inAppMessage(_:prepareWith:)`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/brazeinappmessageuidelegate/inappmessage(_:preparewith:)-11fog) method. + - Customization of `ViewAttributes` via the `attributes` property is not available in the Objective-C version of `PresentationContextRaw`. +- Adds `Braze.FeatureFlag.jsonProperty(key:type:decoder:)` to decode `jsonobject` type Feature Flag properties into custom `Decodable` types. +- Deprecates the existing Feature Flag APIs, to be removed in a future version: + - `Braze.FeatureFlag.jsonStringProperty(key:)` has been deprecated. + - `Braze.FeatureFlag.jsonObjectProperty(key:)` has been deprecated in favor of `Braze.FeatureFlag.jsonProperty(key:)`. + +##### Fixed +- Fixes an issue where the [`preferredOrientation`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/brazeinappmessageui/presentationcontext/preferredorientation) on the presentation context of an in-app message would not be respected. + ## 9.2.0 ##### Added diff --git a/Package.swift b/Package.swift index a24db9f..7c797c7 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/9.2.0/BrazeKit.zip", - checksum: "0aa14ac543c9e122b661503e5793d8a9b4f806ac6c1c35024a6a2ff96f867597" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeKit.zip", + checksum: "3be922ab788b67443a0d643c353929a5d8138d92b79ca558cfc60447b71d8081" ), .binaryTarget( name: "BrazeUI", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.2.0/BrazeUI.zip", - checksum: "541e52d3147f46f1882b02d77d5989b4073420d587fb14e3c111e50cea4119c6" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeUI.zip", + checksum: "a5480ccc9dcb7166a5b6a60935a6665625f13f9211b84d2007f45b851ebf133b" ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.2.0/BrazeLocation.zip", - checksum: "0c294e3e5142818035d242ef84666386295c3f02ed733067cd81822e2888ac72" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeLocation.zip", + checksum: "2b6558ec8ad7475097511128c04576bbb9c444d7285a62568f5b9dafd4aee912" ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.2.0/BrazeNotificationService.zip", - checksum: "d7ef30aa42a04fa3a5229cdbefda24846132632a23cd964f5093eafbe55e041f" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeNotificationService.zip", + checksum: "97c6402af1e323b6f708af3023a96d1411a78ef29fec85b745932f072a9e2e78" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.2.0/BrazePushStory.zip", - checksum: "de457149fdd74b99a741103d8add921acc73a86ae852f45f0769ffc30068008f" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazePushStory.zip", + checksum: "85a51f5f15c89ffd5c0ed476aed88a82cab68a5b677a1ecf61f64bec0eef0ca4" ), .binaryTarget( name: "BrazeKitCompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.2.0/BrazeKitCompat.zip", - checksum: "c897dd065a7ad3b6dd6a2ed86184812e4a0877a9bf8e0b26117745914c661d31" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeKitCompat.zip", + checksum: "4ab4930915b8b73b783f0b4f91e4612ccb66603d1f0ac4a3ab85e35e016474fe" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.2.0/BrazeUICompat.zip", - checksum: "e72de71e171bef88df2ca8ee3fdfe8dcb3e77f6e8ee1c3310fd2afcdbcb35730" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/9.3.0/BrazeUICompat.zip", + checksum: "7f8c4eb4fadb0e2f544d3102a151d8cee0ef3488a3f5b725bbd25ce4b2eddd07" ), ] ) diff --git a/README.md b/README.md index 2902fcc..611beb3 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 9.2.0 + Version: 9.3.0