Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 6.5.0 #100

Merged
merged 12 commits into from
Oct 21, 2024
29 changes: 7 additions & 22 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ on:
description: "Is the release candidate production ready"
type: boolean
default: false
override_version:
description: "Should delete previous podspec (if exist) and create a new one"
type: boolean
default: false

permissions:
id-token: write
Expand All @@ -46,6 +42,13 @@ jobs:
fetch-depth: 0
fetch-tags: true

- name: Define Production Readiness
run: |
if [ -z "$IS_PRODUCTION_READY" ]; then
echo "IS_PRODUCTION_READY=false" >> $GITHUB_ENV
fi
echo "Production readiness determined: $IS_PRODUCTION_READY"

- name: Validate and Extract RC Version Number
id: rc_version_extractor
run: |
Expand Down Expand Up @@ -125,7 +128,6 @@ jobs:

git commit -m "CI/CD: Bumps version to '$RC_VERSION'"
git push
fi

- name: Select Xcode 15
run: sudo xcode-select -switch /Applications/Xcode_15.4.app
Expand Down Expand Up @@ -289,24 +291,7 @@ jobs:
cd embrace-apple-sdk
bin/version_bump $RC_VERSION --cocoapods

- name: Check if cocoapods version exists
run: |
info=$(pod trunk info EmbraceIO)
if echo "$info" | grep -q "$version"; then
echo "COCOAPODS_VERSION_EXISTS=true" >> $GITHUB_ENV
else
echo "COCOAPODS_VERSION_EXISTS=false" >> $GITHUB_ENV
fi

# Only can delete pre-productive releases in cocoapods
- name: Delete and recreate podspec
if: ${{ inputs.override_version }} && env.COCOAPODS_VERSION_EXISTS == 'true' && env.IS_PRODUCTION_READY == 'false'
run: |
echo "y" | pod trunk delete EmbraceIO $RC_VERSION || echo "Ignoring HTML Output"
echo "COCOAPODS_VERSION_EXISTS=false" >> $GITHUB_ENV

- name: Push EmbraceIO Podspec
if: env.COCOAPODS_VERSION_EXISTS == 'false'
run: |
pod trunk push embrace-apple-sdk/EmbraceIO.podspec --allow-warnings

Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@

## 6.5.0
*Oct 18th, 2024*
* Features
* Removed `SwiftLint` from `Package.swift` as a dependency, which reduces the download size of our SDK and prevents dependency resolution conflicts.
* For those consuming the SDK without an `appId`, `Embrace.Options` now includes the possibility to provide custom configuration (implementing `EmbraceConfigurable`).
* Fixes
* Fixed a linking conflict issue affecting some users both with SPM and CocoaPods.
* Implemented a fix to expose user customization methods (`userName`, `userEmail`, `userIdentifier`, and `clearUserProperties`) to Objective-C.
* Fixed a bug that caused the `Span.Status` to be incorrect when exporting a session ended due to a crash.

## 6.4.2
*Oct 2nd, 2024*
Expand Down
8 changes: 7 additions & 1 deletion EmbraceIO.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = "EmbraceIO"
spec.version = "6.4.2"
spec.version = "6.5.0"
spec.summary = "Visibility into your users that you didn't have before."
spec.description = <<-DESC
Embrace is the only performance monitoring platform focused solely on mobile. We are built
Expand Down Expand Up @@ -35,6 +35,7 @@ Pod::Spec.new do |spec|
core.dependency "EmbraceIO/EmbraceUploadInternal"
core.dependency "EmbraceIO/EmbraceObjCUtilsInternal"
core.dependency "EmbraceIO/EmbraceSemantics"
core.dependency "EmbraceIO/EmbraceConfiguration"
end

spec.subspec 'EmbraceCommonInternal' do |common|
Expand All @@ -56,6 +57,11 @@ Pod::Spec.new do |spec|
spec.subspec 'EmbraceConfigInternal' do |config|
config.vendored_frameworks = "xcframeworks/EmbraceConfigInternal.xcframework"
config.dependency "EmbraceIO/EmbraceCommonInternal"
config.dependency "EmbraceIO/EmbraceConfiguration"
end

spec.subspec 'EmbraceConfiguration' do |config|
config.vendored_frameworks = "xcframeworks/EmbraceConfiguration.xcframework"
end

spec.subspec 'EmbraceOTelInternal' do |otel|
Expand Down
2 changes: 1 addition & 1 deletion Sources/EmbraceCommonInternal/EmbraceMeta.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
// Do not edit this file manually

public class EmbraceMeta {
public static let sdkVersion = "6.4.2"
public static let sdkVersion = "6.5.0"
}
4 changes: 4 additions & 0 deletions bin/templates/EmbraceIO.podspec.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ Pod::Spec.new do |spec|
config.dependency "EmbraceIO/EmbraceCommonInternal"
config.dependency "EmbraceIO/EmbraceConfiguration"
end

spec.subspec 'EmbraceConfiguration' do |config|
config.vendored_frameworks = "xcframeworks/EmbraceConfiguration.xcframework"
end

spec.subspec 'EmbraceOTelInternal' do |otel|
otel.vendored_frameworks = "xcframeworks/EmbraceOTelInternal.xcframework"
Expand Down
Loading