Skip to content

Commit

Permalink
Version 11.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Sep 23, 2024
1 parent 93f5256 commit 30a4807
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 43 deletions.
6 changes: 3 additions & 3 deletions BrazeKit.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeKit'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Braze Main SDK library providing support for analytics and push notifications.'

s.homepage = 'https://braze.com'
Expand All @@ -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/10.3.1/BrazeKit.zip',
:sha256 => '84b818f49b0eb280b862dd75e7b89c3d3ff6339c86b400b4ae65524afff9214d'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeKit.zip',
:sha256 => '06e6ee0c14413c901095dcef5b98dfbdd6eb66e8fa52b00c448f722a693695c8'
}

s.swift_version = '5.0'
Expand Down
10 changes: 5 additions & 5 deletions BrazeKitCompat.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeKitCompat'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Compatibility library for users migrating from AppboyKit.'

s.homepage = 'https://braze.com'
Expand All @@ -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/10.3.1/BrazeKitCompat.zip',
:sha256 => '4e726bd92e7f1e4bbf3db538a441dfe7d49c6ff62658c6499b07a1996ec35fb2'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeKitCompat.zip',
:sha256 => '3887f47ec2df6b425e402b2106175e8a1b0a6d1cd38acd7e4670341b29581d97'
}

s.swift_version = '5.0'
Expand All @@ -19,8 +19,8 @@ Pod::Spec.new do |s|

s.vendored_framework = 'BrazeKitCompat.xcframework'

s.dependency 'BrazeKit', '10.3.1'
s.dependency 'BrazeLocation', '10.3.1'
s.dependency 'BrazeKit', '11.0.0'
s.dependency 'BrazeLocation', '11.0.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
8 changes: 4 additions & 4 deletions BrazeLocation.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeLocation'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Braze location library providing support for location analytics and geofence monitoring.'

s.homepage = 'https://braze.com'
Expand All @@ -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/10.3.1/BrazeLocation.zip',
:sha256 => '7bbdabf0ec100ff1307687d9a0ef444a6fcce85124082d2d5a5dc203f88d161a'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeLocation.zip',
:sha256 => 'ba1cd83874a5cda2dfe913ea295db83b24c1eb9df832323682a79d34d9556885'
}

s.swift_version = '5.0'
Expand All @@ -20,7 +20,7 @@ Pod::Spec.new do |s|

s.vendored_framework = 'BrazeLocation.xcframework'

s.dependency 'BrazeKit', '10.3.1'
s.dependency 'BrazeKit', '11.0.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
6 changes: 3 additions & 3 deletions BrazeNotificationService.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeNotificationService'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Braze notification service extension library providing support for Rich Push notifications.'

s.homepage = 'https://braze.com'
Expand All @@ -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/10.3.1/BrazeNotificationService.zip',
:sha256 => '338617a1212d9a3e1867be7063ed51063ac408349771d838b595d03ed2414a17'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeNotificationService.zip',
:sha256 => '6291e810ce4a3195640b47c32e00aa9c88a10e894282ab51a87cb2b8a82ef806'
}

s.swift_version = '5.0'
Expand Down
6 changes: 3 additions & 3 deletions BrazePushStory.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazePushStory'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'

s.homepage = 'https://braze.com'
Expand All @@ -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/10.3.1/BrazePushStory.zip',
:sha256 => '1adb3ed261ec5050dc2f051f09687b7e09da4c801acb6eb5a695e0c1c5bf5b68'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazePushStory.zip',
:sha256 => '0f84fa36d1d2332c6dd57e0a77e772833367c33c4e17a883148633d1b9825d28'
}

s.swift_version = '5.0'
Expand Down
8 changes: 4 additions & 4 deletions BrazeUI.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeUI'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.'

s.homepage = 'https://braze.com'
Expand All @@ -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/10.3.1/BrazeUI.zip',
:sha256 => 'ade1c64584d5394985658f2b327b67d36550a7186b893b899068f677fb10a2a1'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeUI.zip',
:sha256 => '7f72ac10e615a43f85ffab787ba7447a566655798c459979af79245aa72bb795'
}

s.swift_version = '5.0'
Expand All @@ -19,7 +19,7 @@ Pod::Spec.new do |s|

s.vendored_framework = 'BrazeUI.xcframework'

s.dependency 'BrazeKit', '10.3.1'
s.dependency 'BrazeKit', '11.0.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
10 changes: 5 additions & 5 deletions BrazeUICompat.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'BrazeUICompat'
s.version = '10.3.1'
s.version = '11.0.0'
s.summary = 'Compatibility UI library for users migrating from AppboyUI.'

s.homepage = 'https://braze.com'
Expand All @@ -9,17 +9,17 @@ Pod::Spec.new do |s|
s.authors = 'Braze, Inc.'

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeUICompat.zip',
:sha256 => '8a5f81bef8f19fa1f5cfd0589f37fa4ea296b1a1b7ac2ef500b618d786533a08'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeUICompat.zip',
:sha256 => '30c3c7a36afaa4f22eb68d402a19dd1d4afd03fa4f8097ad7b33c47f08ed2888'
}

s.swift_version = '5.0'
s.ios.deployment_target = '12.0'

s.vendored_framework = 'BrazeUICompat.xcframework'

s.dependency 'BrazeKitCompat', '10.3.1'
s.dependency 'SDWebImage', '>= 5.19.0', '< 6'
s.dependency 'BrazeKitCompat', '11.0.0'
s.dependency 'SDWebImage', '>= 5.19.7', '< 6'

s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
s.pod_target_xcconfig = {
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
## 11.0.0

##### Breaking
- Adds support for [Swift 6 strict concurrency checking](https://developer.apple.com/documentation/swift/adoptingswift6).
- Relevant public Braze classes and data types now conform to the `Sendable` protocol and can be safely used across concurrency contexts.
- Main thread-only APIs are now marked with the `@MainActor` attribute.
- We recommend using Xcode 16.0 or later to take advantage of these features while minimizing the number of warnings generated by the compiler. Previous versions of Xcode may still be used, but some features may generate warnings.
- When integrating push notification support manually, you may need to update the `UNUserNotificationCenterDelegate` conformance to use the `@preconcurrency` attribute to prevent warnings.
- Applying the `@preconcurrency` attribute on protocol conformance is only available in Xcode 16.0 or later. Reference our sample integration code [here](https://github.com/braze-inc/braze-swift-sdk/tree/main/Examples/Swift/Sources/PushNotifications-Manual).
- As of Xcode 16.0, Apple has not yet audited the `UNUserNotificationCenterDelegate` protocol for Swift concurrency.
```swift
extension AppDelegate: @preconcurrency UNUserNotificationCenterDelegate {
// Your existing implementation
}
```
- Updates the `SDWebImage` dependency in `BrazeUICompat` and sample apps to `5.19.7+` to support Swift 6 strict concurrency checking.

#### Fixed
- Fixes the push authorization status reporting to display the proper push token status on the Dashboard when a user has not explicitly accepted or declined push permissions.

## 10.3.1

##### Fixed
Expand Down
30 changes: 15 additions & 15 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,45 +42,45 @@ let package = Package(
),
],
dependencies: [
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.19.0"),
.package(url: "https://github.com/SDWebImage/SDWebImage.git", from: "5.19.7"),
/* ${dependencies-start} */
/* ${dependencies-end} */
],
targets: [
.binaryTarget(
name: "BrazeKit",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeKit.zip",
checksum: "84b818f49b0eb280b862dd75e7b89c3d3ff6339c86b400b4ae65524afff9214d"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeKit.zip",
checksum: "06e6ee0c14413c901095dcef5b98dfbdd6eb66e8fa52b00c448f722a693695c8"
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeUI.zip",
checksum: "ade1c64584d5394985658f2b327b67d36550a7186b893b899068f677fb10a2a1"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeUI.zip",
checksum: "7f72ac10e615a43f85ffab787ba7447a566655798c459979af79245aa72bb795"
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeLocation.zip",
checksum: "7bbdabf0ec100ff1307687d9a0ef444a6fcce85124082d2d5a5dc203f88d161a"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeLocation.zip",
checksum: "ba1cd83874a5cda2dfe913ea295db83b24c1eb9df832323682a79d34d9556885"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeNotificationService.zip",
checksum: "338617a1212d9a3e1867be7063ed51063ac408349771d838b595d03ed2414a17"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeNotificationService.zip",
checksum: "6291e810ce4a3195640b47c32e00aa9c88a10e894282ab51a87cb2b8a82ef806"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazePushStory.zip",
checksum: "1adb3ed261ec5050dc2f051f09687b7e09da4c801acb6eb5a695e0c1c5bf5b68"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazePushStory.zip",
checksum: "0f84fa36d1d2332c6dd57e0a77e772833367c33c4e17a883148633d1b9825d28"
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeKitCompat.zip",
checksum: "4e726bd92e7f1e4bbf3db538a441dfe7d49c6ff62658c6499b07a1996ec35fb2"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeKitCompat.zip",
checksum: "3887f47ec2df6b425e402b2106175e8a1b0a6d1cd38acd7e4670341b29581d97"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/10.3.1/BrazeUICompat.zip",
checksum: "8a5f81bef8f19fa1f5cfd0589f37fa4ea296b1a1b7ac2ef500b618d786533a08"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-dynamic/releases/download/11.0.0/BrazeUICompat.zip",
checksum: "30c3c7a36afaa4f22eb68d402a19dd1d4afd03fa4f8097ad7b33c47f08ed2888"
),
]
)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<p align="center">
<a href="https://github.com/braze-inc/braze-swift-sdk/releases">
<img src="https://badgen.net/badge/version/10.3.1/blue" alt="Version: 10.3.1">
<img src="https://badgen.net/badge/version/11.0.0/blue" alt="Version: 11.0.0">
</a>
<a href="#">
<img src="https://badgen.net/badge/platforms/iOS%20%7C%20visionOS%20%7C%20tvOS%20%7C%20Mac%20Catalyst/orange"
Expand Down

0 comments on commit 30a4807

Please sign in to comment.