diff --git a/BrazeKit.podspec b/BrazeKit.podspec index ce56f71a10..c57736ee7e 100644 --- a/BrazeKit.podspec +++ b/BrazeKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKit' - s.version = '6.0.0' + s.version = '6.1.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/releases/download/6.0.0/BrazeKit.zip', - :sha256 => 'f2dc8f2fda069497aa35a3465bf7f16d9b62b2610e964fe9aac1ff75fce1975c' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazeKit.zip', + :sha256 => '0cea9bc9bfb23abb51e05a6e927d27d4c4a6586bde629a2b1b76334b60e506d5' } s.swift_version = '5.0' diff --git a/BrazeKitCompat.podspec b/BrazeKitCompat.podspec index 533a71493f..64beb27812 100644 --- a/BrazeKitCompat.podspec +++ b/BrazeKitCompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeKitCompat' - s.version = '6.0.0' + s.version = '6.1.0' s.summary = 'Compatibility library for users migrating from AppboyKit.' s.homepage = 'https://braze.com' @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.license = { :type => 'Commercial' } s.authors = 'Braze, Inc.' - s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.0.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.1.0' } s.swift_version = '5.0' s.ios.deployment_target = '11.0' @@ -18,8 +18,8 @@ Pod::Spec.new do |s| s.source_files = 'Sources/BrazeKitCompat/**/*.{h,m}' s.public_header_files = 'Sources/BrazeKitCompat/include/*.h' - s.dependency 'BrazeKit', '6.0.0' - s.dependency 'BrazeLocation', '6.0.0' + s.dependency 'BrazeKit', '6.1.0' + s.dependency 'BrazeLocation', '6.1.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeLocation.podspec b/BrazeLocation.podspec index 3d403210c7..af47f39f1d 100644 --- a/BrazeLocation.podspec +++ b/BrazeLocation.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeLocation' - s.version = '6.0.0' + s.version = '6.1.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/releases/download/6.0.0/BrazeLocation.zip', - :sha256 => 'be4319fc7c60e3581919d172cb51f42a85cf0d29b51f6c687679d642e1c9e25d' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazeLocation.zip', + :sha256 => '1a4cfdb4b0c043d172ad91de2ffcb24d2cbfbc79155ff4689286f5e31d6c3c81' } s.swift_version = '5.0' @@ -21,7 +21,7 @@ Pod::Spec.new do |s| # Depends on BrazeKit because BrazeKit includes the internal _BrazeLocationClient symbols required # for linking against BrazeLocation. - s.dependency 'BrazeKit', '6.0.0' + s.dependency 'BrazeKit', '6.1.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeNotificationService.podspec b/BrazeNotificationService.podspec index 91ddaaba9e..f75962de7d 100644 --- a/BrazeNotificationService.podspec +++ b/BrazeNotificationService.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeNotificationService' - s.version = '6.0.0' + s.version = '6.1.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/releases/download/6.0.0/BrazeNotificationService.zip', - :sha256 => '32aff9e6815c0725fbe8aeff84f2e8b5c82ff39d1bd08aa5ba4bb8a7bf6f18eb' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazeNotificationService.zip', + :sha256 => '01a855943b9366702c7bd5c8d029e2c2689ef60b2db70dc8b234b6166fd21fed' } s.swift_version = '5.0' diff --git a/BrazePushStory.podspec b/BrazePushStory.podspec index 76a2730160..56c676c5dd 100644 --- a/BrazePushStory.podspec +++ b/BrazePushStory.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazePushStory' - s.version = '6.0.0' + s.version = '6.1.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/releases/download/6.0.0/BrazePushStory.zip', - :sha256 => '06528fdb6c1ad9349195d73e4a90b72d2bc618ffe91039c640b560312cd1234f' + :http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazePushStory.zip', + :sha256 => '1b5be9b4ce7d956b0d4a8ed9bd9feaa755379d05320abbda6b94a744bb5f0f35' } s.swift_version = '5.0' diff --git a/BrazeUI.podspec b/BrazeUI.podspec index d60abea34a..804d8f3a5e 100644 --- a/BrazeUI.podspec +++ b/BrazeUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUI' - s.version = '6.0.0' + s.version = '6.1.0' s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.' s.homepage = 'https://braze.com' @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.license = { :type => 'Commercial' } s.authors = 'Braze, Inc.' - s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.0.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.1.0' } s.swift_version = '5.0' s.ios.deployment_target = '11.0' @@ -17,7 +17,7 @@ Pod::Spec.new do |s| s.source_files = 'Sources/BrazeUI/**/*.swift' s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUI/Resources/**/*'] } - s.dependency 'BrazeKit', '6.0.0' + s.dependency 'BrazeKit', '6.1.0' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } end diff --git a/BrazeUICompat.podspec b/BrazeUICompat.podspec index 2395c79129..20bdc9db0b 100644 --- a/BrazeUICompat.podspec +++ b/BrazeUICompat.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'BrazeUICompat' - s.version = '6.0.0' + s.version = '6.1.0' s.summary = 'Compatibility UI library for users migrating from AppboyUI.' s.homepage = 'https://braze.com' @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.license = { :type => 'Commercial' } s.authors = 'Braze, Inc.' - s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.0.0' } + s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '6.1.0' } s.swift_version = '5.0' s.ios.deployment_target = '11.0' @@ -18,7 +18,7 @@ Pod::Spec.new do |s| s.public_header_files = 'Sources/BrazeUICompat/ABK*/**/*.h' s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompat/*/Resources/**/*.*' } - s.dependency 'BrazeKitCompat', '6.0.0' + s.dependency 'BrazeKitCompat', '6.1.0' s.dependency 'SDWebImage', '>= 5.8.2', '< 6' s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' } diff --git a/CHANGELOG.md b/CHANGELOG.md index d5604bde93..c708fde59a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## 6.1.0 + +##### Fixed +- Fixes an issue that led to disproportionately large close buttons on in-app messages when the user has set a large font size in the device settings. +- Fixes an issue that would lock the screen in a specific orientation after the dismissal of an in-app message customized to be presented in that orientation. + - This issue only impacted iOS 16.0+ devices. + +##### Added +- Adds new versions of `setCustomAttribute` to the User object to support [nested custom attributes][nca-docs]. + - Renames `User.setCustomAttributeArray(key: String, array: [String]?)` to `setCustomAttribute(…)` to align it with other custom attribute setters, and adds "string" to the `addTo` and `removeFrom` attribute array methods to clarify which custom attributes they're used for. + +[nca-docs]: https://www.braze.com/docs/user_guide/data_and_analytics/custom_data/custom_attributes/nested_custom_attribute_support + ## 6.0.0 ##### Breaking diff --git a/Examples/ObjC/manual-integration-setup.sh b/Examples/ObjC/manual-integration-setup.sh index 2e0439a7fc..4be0e90db0 100755 --- a/Examples/ObjC/manual-integration-setup.sh +++ b/Examples/ObjC/manual-integration-setup.sh @@ -20,7 +20,7 @@ if [ ! -f "manual-integration-setup.sh" ]; then fi # Constants -url="https://github.com/braze-inc/braze-swift-sdk/releases/download/6.0.0/braze-swift-sdk-prebuilt.zip" +url="https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/braze-swift-sdk-prebuilt.zip" echo "→" "Cleaning up" rm -rf braze-swift-sdk-prebuilt diff --git a/Examples/Swift/manual-integration-setup.sh b/Examples/Swift/manual-integration-setup.sh index 2e0439a7fc..4be0e90db0 100755 --- a/Examples/Swift/manual-integration-setup.sh +++ b/Examples/Swift/manual-integration-setup.sh @@ -20,7 +20,7 @@ if [ ! -f "manual-integration-setup.sh" ]; then fi # Constants -url="https://github.com/braze-inc/braze-swift-sdk/releases/download/6.0.0/braze-swift-sdk-prebuilt.zip" +url="https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/braze-swift-sdk-prebuilt.zip" echo "→" "Cleaning up" rm -rf braze-swift-sdk-prebuilt diff --git a/Package.swift b/Package.swift index 7322cba1dc..819fc2b622 100644 --- a/Package.swift +++ b/Package.swift @@ -47,8 +47,8 @@ let package = Package( targets: [ .binaryTarget( name: "BrazeKit", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.0.0/BrazeKit.zip", - checksum: "f2dc8f2fda069497aa35a3465bf7f16d9b62b2610e964fe9aac1ff75fce1975c" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazeKit.zip", + checksum: "0cea9bc9bfb23abb51e05a6e927d27d4c4a6586bde629a2b1b76334b60e506d5" ), .target( name: "BrazeKitResources", @@ -65,18 +65,18 @@ let package = Package( ), .binaryTarget( name: "BrazeLocation", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.0.0/BrazeLocation.zip", - checksum: "be4319fc7c60e3581919d172cb51f42a85cf0d29b51f6c687679d642e1c9e25d" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazeLocation.zip", + checksum: "1a4cfdb4b0c043d172ad91de2ffcb24d2cbfbc79155ff4689286f5e31d6c3c81" ), .binaryTarget( name: "BrazeNotificationService", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.0.0/BrazeNotificationService.zip", - checksum: "32aff9e6815c0725fbe8aeff84f2e8b5c82ff39d1bd08aa5ba4bb8a7bf6f18eb" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazeNotificationService.zip", + checksum: "01a855943b9366702c7bd5c8d029e2c2689ef60b2db70dc8b234b6166fd21fed" ), .binaryTarget( name: "BrazePushStory", - url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.0.0/BrazePushStory.zip", - checksum: "06528fdb6c1ad9349195d73e4a90b72d2bc618ffe91039c640b560312cd1234f" + url: "https://github.com/braze-inc/braze-swift-sdk/releases/download/6.1.0/BrazePushStory.zip", + checksum: "1b5be9b4ce7d956b0d4a8ed9bd9feaa755379d05320abbda6b94a744bb5f0f35" ), .target( name: "BrazeKitCompat", diff --git a/README.md b/README.md index 4d07030d3d..674d22aa57 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@

- Version: 6.0.0 + Version: 6.1.0