Skip to content

Commit

Permalink
Version 5.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hokstuff committed Jan 24, 2023
1 parent 3f322b0 commit a1ca5c8
Show file tree
Hide file tree
Showing 43 changed files with 5,599 additions and 116 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body:
id: xcode_version
attributes:
label: Xcode Version
placeholder: ex. Xcode 13.3
placeholder: ex. Xcode 14.2
validations:
required: true
- type: dropdown
Expand Down
12 changes: 6 additions & 6 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 = '5.8.1'
s.version = '5.9.0'
s.summary = 'Braze Main SDK library providing support for analytics and push notifications.'

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/releases/download/5.8.1/BrazeKit-CocoaPods.zip',
:sha256 => '70425ff4fa72f3d1055e16143744d853bb8e1138a12f0e6c817e1fa8c34c2b56'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.9.0/BrazeKit.zip',
:sha256 => '246bca86980a39d886ef2e7a7011a9629ce9bb293c16bd34a10861d92e8473f3'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'

s.vendored_framework = 'BrazeKit.xcframework'
s.resource_bundles = { 'BrazeKit' => 'Sources/BrazeKitResources/Resources/**/*' }
s.resource_bundles = { 'BrazeKit' => ['Sources/BrazeKitResources/Resources/**/*'] }

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
14 changes: 7 additions & 7 deletions BrazeKitCompat.podspec
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Pod::Spec.new do |s|
s.name = 'BrazeKitCompat'
s.version = '5.8.1'
s.version = '5.9.0'
s.summary = 'Compatibility library for users migrating from AppboyKit.'

s.homepage = 'https://braze.com'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazekitcompat/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.8.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.9.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'
s.static_framework = true

s.source_files = 'Sources/BrazeKitCompat/**/*.{h,m}'
s.public_header_files = 'Sources/BrazeKitCompat/include/*.h'
s.public_header_files = 'Sources/BrazeKitCompat/include/*.h'

s.dependency 'BrazeKit', '5.8.1'
s.dependency 'BrazeLocation', '5.8.1'
s.dependency 'BrazeKit', '5.9.0'
s.dependency 'BrazeLocation', '5.9.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
12 changes: 6 additions & 6 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 = '5.8.1'
s.version = '5.9.0'
s.summary = 'Braze location library providing support for location analytics and geofence monitoring.'

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

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeLocation-CocoaPods.zip',
:sha256 => '1188b595cface07378d447d74f28669c8e9fb413a67c41f48f5e6af0ae1d5603'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.9.0/BrazeLocation.zip',
:sha256 => '405b9055a8ccd2a543ae4b3c56baa128dab2493f6b44bba5c1da20556a325b43'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.tvos.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.tvos.deployment_target = '11.0'

s.vendored_framework = 'BrazeLocation.xcframework'

# Depends on BrazeKit because BrazeKit includes the internal _BrazeLocationClient symbols required
# for linking against BrazeLocation.
s.dependency 'BrazeKit', '5.8.1'
s.dependency 'BrazeKit', '5.9.0'

s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
end
8 changes: 4 additions & 4 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 = '5.8.1'
s.version = '5.9.0'
s.summary = 'Braze notification service extension library providing support for Rich Push notifications.'

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

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazeNotificationService-CocoaPods.zip',
:sha256 => '95d3bb08febb7032bb842596e5d3439497a923cb6cdcff1f70744e20be7a34b0'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.9.0/BrazeNotificationService.zip',
:sha256 => '9fb5350bbee5afa556ea31b2256c591c40dfd10b00616976fd4be129fb56c2ed'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'

s.vendored_framework = 'BrazeNotificationService.xcframework'

Expand Down
8 changes: 4 additions & 4 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 = '5.8.1'
s.version = '5.9.0'
s.summary = 'Braze notification content extension library providing support for Push Stories.'

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

s.source = {
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.8.1/BrazePushStory-CocoaPods.zip',
:sha256 => 'd69afaa3f18af01a1f7d55f7109742eae7a226847028a0c8d8cc016d47a251fb'
:http => 'https://github.com/braze-inc/braze-swift-sdk/releases/download/5.9.0/BrazePushStory.zip',
:sha256 => 'e4cbe7ce47bd43a7ebdad8d3dd94288d7deb73e9fd4a55c35c49f3cd13ca32c6'
}

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'

s.vendored_framework = 'BrazePushStory.xcframework'

Expand Down
10 changes: 5 additions & 5 deletions BrazeUI.podspec
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
Pod::Spec.new do |s|
s.name = 'BrazeUI'
s.version = '5.8.1'
s.version = '5.9.0'
s.summary = 'Braze-provided user interface library for In-App Messages and Content Cards.'

s.homepage = 'https://braze.com'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.8.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.9.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.static_framework = true

s.source_files = 'Sources/BrazeUI/**/*.swift'
s.resource_bundles = { 'BrazeUI' => 'Sources/BrazeUI/Resources/**/*' }
s.resource_bundles = { 'BrazeUI' => ['Sources/BrazeUI/Resources/**/*'] }

s.dependency 'BrazeKit', '5.8.1'
s.dependency 'BrazeKit', '5.9.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,24 +1,24 @@
Pod::Spec.new do |s|
s.name = 'BrazeUICompat'
s.version = '5.8.1'
s.version = '5.9.0'
s.summary = 'Compatibility UI library for users migrating from AppboyUI.'

s.homepage = 'https://braze.com'
s.documentation_url = 'https://braze-inc.github.io/braze-swift-sdk/documentation/brazeui/'
s.license = { :type => 'Commercial' }
s.authors = 'Braze, Inc.'

s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.8.1' }
s.source = { :git => 'https://github.com/braze-inc/braze-swift-sdk.git', :tag => '5.9.0' }

s.swift_version = '5.0'
s.ios.deployment_target = '10.0'
s.ios.deployment_target = '11.0'
s.static_framework = true

s.source_files = 'Sources/BrazeUICompat/ABK*/**/*.{h,m}'
s.public_header_files = 'Sources/BrazeUICompat/ABK*/**/*.h'
s.public_header_files = 'Sources/BrazeUICompat/ABK*/**/*.h'
s.resource_bundles = { 'BrazeUICompat' => 'Sources/BrazeUICompat/*/Resources/**/*.*' }

s.dependency 'BrazeKitCompat', '5.8.1'
s.dependency 'BrazeKitCompat', '5.9.0'
s.dependency 'SDWebImage', '>= 5.8.2', '< 6'

s.user_target_xcconfig = { 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES' }
Expand Down
28 changes: 26 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,31 @@
## 5.9.0

##### Breaking
- Raises the minimum deployment target to iOS 11.0 and tvOS 11.0.
- Raises the Xcode version to 14.1 (14B47b).

##### Fixed
- Fixes an issue where the post-click webview would close automatically in some cases.
- Fixes a behavior where the current user messaging data would not be directly available after initializing the SDK or calling `changeUser(userId:)`.
- Fixes an issue preventing News Feed data models from being available offline.
- Fixes an issue where the release binaries could emit warnings when generating dSYMs.

##### Changed
- SwiftPM and CocoaPods now use the same release assets.

##### Added
- Adds support for the upcoming Braze Feature Flags product.
- Adds the `braze-swift-sdk-prebuilt.zip` archive to the release assets.
- This archive contains the prebuilt xcframeworks and their associated resource bundles.
- The content of this archive can be used to manually integrate the SDK.
- Adds the `Examples-Manual.xcodeproj` showcasing how to integrate the SDK using the prebuilt release assets.
- Adds support for Mac Catalyst for example applications, available at [Support/Examples/](./Support/Examples/README.md)
- Adds support to convert from `Data` into an in-app message, content card, or news feed card via `decoding(json:)`.

## 5.8.1

##### Fixed
- Fixes a conflict with the shared instance of [`ProcessInfo`], allowing low power mode notifications to trigger correctly, along with usages of other [`ProcessInfo`] members.
- Fixes a conflict with the shared instance of [`ProcessInfo`], allowing low power mode notifications to trigger correctly.

##### Changed
- Renames the `BrazeLocation` class to `BrazeLocationProvider` to avoid shadowing the module of the same name ([SR-14195](https://bugs.swift.org/browse/SR-14195)).
Expand Down Expand Up @@ -41,7 +65,7 @@ To help migrate your app from the Appboy-iOS-SDK to our Swift SDK, this release

##### End of early access phase / Migration Guide / Compatibility Libraries

This release marks the end of the early access phase for the Braze Swift SDK. `Appboy-iOS-SDK` is now deprecated and support will cease on <INSERT DATE HERE>.
This release marks the end of the early access phase for the Braze Swift SDK. `Appboy-iOS-SDK` is now deprecated and support will cease on <INSERT DATE HERE>.

To help with your migration process, this release includes:
- [Appboy-iOS-SDK: Migration guide]:
Expand Down
Loading

0 comments on commit a1ca5c8

Please sign in to comment.