From 5b74e69ad16c8c2ad470f5c7b143b2669f9532c6 Mon Sep 17 00:00:00 2001 From: Jeriel Ng Date: Thu, 30 May 2024 10:29:12 -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 12472bf..781584e 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-static/releases/download/9.2.0/BrazeKit.zip', - :sha256 => '314361f4bc35ffb7bd66a8d0e064b233740bbe13c37bc10496f7e3c1285e77a4' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeKit.zip', + :sha256 => '82ce3a84bb07150f291f0ae995893dec2a7bc9ed788c8efe0e4ab9c6c86c44a9' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index cffab64..cae5b46 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-static/releases/download/9.2.0/BrazeKitCompat.zip', - :sha256 => '08dd17daaafd2b3a7011d28e85884848e15f43ebe0975b54b24f98653fe48341' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeKitCompat.zip', + :sha256 => '5b57078f1db5f209a5a4c213511707c028de7fcca4f43043acf8b0e76296ad86' } 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 c1d079d..77416db 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-static/releases/download/9.2.0/BrazeLocation.zip', - :sha256 => 'ec707b078701c3cca59872639e49cc194ab8df7e8b2d36fd0e07c9b02a7efb09' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeLocation.zip', + :sha256 => '29090ac1125e6e308cbb2df8a1f994fa2ba75628158b8aca1cf183e4741d59d0' } 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', '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 bc9b24a..dac3762 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-static/releases/download/9.2.0/BrazeNotificationService.zip', - :sha256 => 'a816612048715dc2d6ba23a16dc274fed06a7ad12dcd49a97b5f1013978f5da7' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeNotificationService.zip', + :sha256 => '55e6796e1acbf42b0167e16631d5eab0056fd564b8d9c4360e97b58eb0efd08b' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 1c12585..8f53217 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-static/releases/download/9.2.0/BrazePushStory.zip', - :sha256 => '09f0e23a019efd8bef2dc8233fffbbd5b7367b7ff8345aff44a6e7c71b892e0d' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazePushStory.zip', + :sha256 => '65dd125fedba51cd291326296036bd01d9a357dd70358b85a5c58a4229ed891a' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index 5922f37..21e13cc 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-static/releases/download/9.2.0/BrazeUI.zip', - :sha256 => '3cea255c917be291ee731beb0a0194bbf49bba480a0da666fa84b4f5fd28546f' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeUI.zip', + :sha256 => 'f97e385a7a87a5986de5f17bd4facf9c7849aaf1dea3dad93549684140035421' } 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', '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 2e522a2..12f4fdb 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-static/releases/download/9.2.0/BrazeUICompat.zip', - :sha256 => 'b5802f1f18e735229ad2be08be6fb32e2aeea4367d73ec6eb884cd53a3c21450' + :http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeUICompat.zip', + :sha256 => 'fbe35eece06682894df29e7b584e1e8c84ccb361273cf13870b03bac6eb091c6' } 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', '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 7d3c275..0784c6c 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/9.2.0/BrazeKit.zip", - checksum: "314361f4bc35ffb7bd66a8d0e064b233740bbe13c37bc10496f7e3c1285e77a4" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeKit.zip", + checksum: "82ce3a84bb07150f291f0ae995893dec2a7bc9ed788c8efe0e4ab9c6c86c44a9" ), .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/9.2.0/BrazeUI.zip", - checksum: "3cea255c917be291ee731beb0a0194bbf49bba480a0da666fa84b4f5fd28546f" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeUI.zip", + checksum: "f97e385a7a87a5986de5f17bd4facf9c7849aaf1dea3dad93549684140035421" ), .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/9.2.0/BrazeLocation.zip", - checksum: "ec707b078701c3cca59872639e49cc194ab8df7e8b2d36fd0e07c9b02a7efb09" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeLocation.zip", + checksum: "29090ac1125e6e308cbb2df8a1f994fa2ba75628158b8aca1cf183e4741d59d0" ), .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/9.2.0/BrazeNotificationService.zip", - checksum: "a816612048715dc2d6ba23a16dc274fed06a7ad12dcd49a97b5f1013978f5da7" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeNotificationService.zip", + checksum: "55e6796e1acbf42b0167e16631d5eab0056fd564b8d9c4360e97b58eb0efd08b" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.2.0/BrazePushStory.zip", - checksum: "09f0e23a019efd8bef2dc8233fffbbd5b7367b7ff8345aff44a6e7c71b892e0d" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazePushStory.zip", + checksum: "65dd125fedba51cd291326296036bd01d9a357dd70358b85a5c58a4229ed891a" ), .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/9.2.0/BrazeKitCompat.zip", - checksum: "08dd17daaafd2b3a7011d28e85884848e15f43ebe0975b54b24f98653fe48341" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeKitCompat.zip", + checksum: "5b57078f1db5f209a5a4c213511707c028de7fcca4f43043acf8b0e76296ad86" ), .binaryTarget( name: "BrazeUICompat", - url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.2.0/BrazeUICompat.zip", - checksum: "b5802f1f18e735229ad2be08be6fb32e2aeea4367d73ec6eb884cd53a3c21450" + url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-static/releases/download/9.3.0/BrazeUICompat.zip", + checksum: "fbe35eece06682894df29e7b584e1e8c84ccb361273cf13870b03bac6eb091c6" ), .target( name: "BrazeUICompatResources", diff --git a/README.md b/README.md index 74c427f..858b63e 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 9.2.0 + Version: 9.3.0