Skip to content

Commit

Permalink
Version 11.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lowip committed Dec 12, 2024
1 parent 237fae4 commit 680930e
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 41 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 = '11.3.0'
s.version = '11.4.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-mergeable/releases/download/11.3.0/BrazeKit.zip',
:sha256 => '1fed34aa4cd11d5589f15cef5c832e7f1f90b35e4c127a6d91cfd4c88fceb2db'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKit.zip',
:sha256 => '98a0020d8487f02b8d9bf63562d4494312fd378a2d80cc4ff962b751db8b71ad'
}

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 = '11.3.0'
s.version = '11.4.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-mergeable/releases/download/11.3.0/BrazeKitCompat.zip',
:sha256 => 'ee910ddb2fad342ab9d0927a358c2c4b6eda26db0183ed5aeb9fc328271b5dd3'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKitCompat.zip',
:sha256 => '5ceb1af91ad1d2cafc612f798100f79baf3ff9dc49988f71a1723308081a4bb3'
}

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

s.vendored_framework = 'BrazeKitCompat.xcframework'

s.dependency 'BrazeKit', '11.3.0'
s.dependency 'BrazeLocation', '11.3.0'
s.dependency 'BrazeKit', '11.4.0'
s.dependency 'BrazeLocation', '11.4.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 = '11.3.0'
s.version = '11.4.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-mergeable/releases/download/11.3.0/BrazeLocation.zip',
:sha256 => '1752a1aca6c6cd5596e2cdf6fbf0f6ad214db51a5ac97cdd9860cb78e58f6e95'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeLocation.zip',
:sha256 => '4830b00cf3b6d480154b1da13941418476436bd58119b50c202b0362241c2c41'
}

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

s.vendored_framework = 'BrazeLocation.xcframework'

s.dependency 'BrazeKit', '11.3.0'
s.dependency 'BrazeKit', '11.4.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 = '11.3.0'
s.version = '11.4.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-mergeable/releases/download/11.3.0/BrazeNotificationService.zip',
:sha256 => 'df3db8e10a66a60a3fab8d18d9ca75c6a47de089c36e4920902a6b3d6f424c10'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeNotificationService.zip',
:sha256 => '4dbe26be9c10a100f37ccb1c237d5a81e41eb4f0536f8eb7bd20813082ad55dc'
}

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 = '11.3.0'
s.version = '11.4.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-mergeable/releases/download/11.3.0/BrazePushStory.zip',
:sha256 => '95af82cff737c83bfb589c21e79455cd37c6c56223980271d8f7d2213ac10bed'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazePushStory.zip',
:sha256 => '7bed54640be005154a9751a9e051f49b69e0a80c01b089c492b1e718c85fbd67'
}

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 = '11.3.0'
s.version = '11.4.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-mergeable/releases/download/11.3.0/BrazeUI.zip',
:sha256 => 'c3277c7574b5f7d85876750aecbb9a42d0a72a8528cb4f13f480dbc416d299b7'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUI.zip',
:sha256 => '6fa41f13aa486332c108b48f7a4138e88e5ee77c0f83ed90f1ea49fbf4fb3cfd'
}

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

s.vendored_framework = 'BrazeUI.xcframework'

s.dependency 'BrazeKit', '11.3.0'
s.dependency 'BrazeKit', '11.4.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
8 changes: 4 additions & 4 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 = '11.3.0'
s.version = '11.4.0'
s.summary = 'Compatibility UI library for users migrating from AppboyUI.'

s.homepage = 'https://braze.com'
Expand All @@ -9,16 +9,16 @@ 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.3.0/BrazeUICompat.zip',
:sha256 => '2adc6afe4190c5af62161b0d22a1c3b7cbdd4584c6f4dc8e54c06e4b4fc03eb7'
:http => 'https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUICompat.zip',
:sha256 => '426ea5b9cd6940470bcd8b3d057ac67f0d868722d6374befb34ca8994ff31957'
}

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

s.vendored_framework = 'BrazeUICompat.xcframework'

s.dependency 'BrazeKitCompat', '11.3.0'
s.dependency 'BrazeKitCompat', '11.4.0'
s.dependency 'SDWebImage', '>= 5.19.7', '< 6'

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

##### Fixed
- Fixes an issue where the SDK could hang during initialization if previous sessions generated a large number of geofence refreshes. This hang could sometimes lead to a crash by blocking the main thread for an extended period.
- Fixes an issue where the triggering of in-app messages could be delayed in cases where requests for updated in-app message triggers are also delayed due to rate limiting.
- Adds additional safeguards to ensure that ongoing network requests are dropped when changing users mid-flight.

##### Added
- When Content Cards, Feature Flags, or Banner Cards go from enabled to disabled, the stored data is removed from cache.
- Adds [`banner.trackingId`](https://braze-inc.github.io/braze-swift-sdk/documentation/brazekit/braze/banner/trackingid) to distinguish between banner objects.
- Deprecates `banner.id` in favor of `banner.trackingId`.

## 11.3.0

##### Fixed
Expand Down Expand Up @@ -38,6 +50,11 @@
##### Added
- Adds a public initializer for `Braze.Notifications.Payload`.

## 11.0.1

##### Fixed
- Fixes an issue introduced in `11.0.0` where the push subscription status would be sent to the backend with an inaccurate value at startup, causing an unexpected subscription state. The SDK now sends up the accurate subscription status at each startup.

## 11.0.0

⚠️ **Important:** This version has a known issue related to push subscription status. Upgrade to version `11.1.1` instead.
Expand Down
28 changes: 14 additions & 14 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.3.0/BrazeKit.zip",
checksum: "1fed34aa4cd11d5589f15cef5c832e7f1f90b35e4c127a6d91cfd4c88fceb2db"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKit.zip",
checksum: "98a0020d8487f02b8d9bf63562d4494312fd378a2d80cc4ff962b751db8b71ad"
),
.binaryTarget(
name: "BrazeUI",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeUI.zip",
checksum: "c3277c7574b5f7d85876750aecbb9a42d0a72a8528cb4f13f480dbc416d299b7"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUI.zip",
checksum: "6fa41f13aa486332c108b48f7a4138e88e5ee77c0f83ed90f1ea49fbf4fb3cfd"
),
.binaryTarget(
name: "BrazeLocation",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeLocation.zip",
checksum: "1752a1aca6c6cd5596e2cdf6fbf0f6ad214db51a5ac97cdd9860cb78e58f6e95"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeLocation.zip",
checksum: "4830b00cf3b6d480154b1da13941418476436bd58119b50c202b0362241c2c41"
),
.binaryTarget(
name: "BrazeNotificationService",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeNotificationService.zip",
checksum: "df3db8e10a66a60a3fab8d18d9ca75c6a47de089c36e4920902a6b3d6f424c10"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeNotificationService.zip",
checksum: "4dbe26be9c10a100f37ccb1c237d5a81e41eb4f0536f8eb7bd20813082ad55dc"
),
.binaryTarget(
name: "BrazePushStory",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazePushStory.zip",
checksum: "95af82cff737c83bfb589c21e79455cd37c6c56223980271d8f7d2213ac10bed"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazePushStory.zip",
checksum: "7bed54640be005154a9751a9e051f49b69e0a80c01b089c492b1e718c85fbd67"
),
.binaryTarget(
name: "BrazeKitCompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeKitCompat.zip",
checksum: "ee910ddb2fad342ab9d0927a358c2c4b6eda26db0183ed5aeb9fc328271b5dd3"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeKitCompat.zip",
checksum: "5ceb1af91ad1d2cafc612f798100f79baf3ff9dc49988f71a1723308081a4bb3"
),
.binaryTarget(
name: "BrazeUICompat",
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.3.0/BrazeUICompat.zip",
checksum: "2adc6afe4190c5af62161b0d22a1c3b7cbdd4584c6f4dc8e54c06e4b4fc03eb7"
url: "https://github.com/braze-inc/braze-swift-sdk-prebuilt-mergeable/releases/download/11.4.0/BrazeUICompat.zip",
checksum: "426ea5b9cd6940470bcd8b3d057ac67f0d868722d6374befb34ca8994ff31957"
),
]
)
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/11.3.0/blue" alt="Version: 11.3.0">
<img src="https://badgen.net/badge/version/11.4.0/blue" alt="Version: 11.4.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 680930e

Please sign in to comment.