Skip to content

Commit

Permalink
chore(deps): update Cocoa SDK to v8.44.0 (#321)
Browse files Browse the repository at this point in the history
* chore: update scripts/update-cocoa.sh to 8.44.0

* update

* fix replay api

* update'

---------

Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: GIancarlo Buenaflor <giancarlo_buenaflor@yahoo.com>
  • Loading branch information
3 people authored Feb 10, 2025
1 parent 1279a73 commit 4132cdd
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 17 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
- Bump Java SDK from v7.16.0 to v7.18.1 ([#295](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/295), [#299](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/299))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#7181)
- [diff](https://github.com/getsentry/sentry-java/compare/7.16.0...7.18.1)
- Bump Cocoa SDK from v8.38.0 to v8.44.0 ([#321](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/321))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8440)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.38.0...8.44.0)

## 0.10.0

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Config.kt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object Config {
val sentryAndroid = "io.sentry:sentry-android:$sentryJavaVersion"
val sentryJava = "io.sentry:sentry:$sentryJavaVersion"

val sentryCocoaVersion = "8.38.0"
val sentryCocoaVersion = "8.44.0"
val sentryCocoa = "Sentry"

object Samples {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ id=io.sentry.kotlin.multiplatform.gradle
implementationClass=io.sentry.kotlin.multiplatform.gradle.SentryPlugin
versionName=0.10.0
group=io.sentry
sentryCocoaVersion=8.38.0
sentryCocoaVersion=8.44.0

# publication pom properties
POM_NAME=Sentry Kotlin Multiplatform Gradle Plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Pod::Spec.new do |spec|
spec.osx.deployment_target = '10.13'
spec.tvos.deployment_target = '11.0'
spec.watchos.deployment_target = '4.0'
spec.dependency 'Sentry', '8.38.0'
spec.dependency 'Sentry', '8.44.0'

if !Dir.exist?('build/cocoapods/framework/sentry_kotlin_multiplatform.framework') || Dir.empty?('build/cocoapods/framework/sentry_kotlin_multiplatform.framework')
raise "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal fun SentryOptions.toIosOptionsConfiguration(): (CocoaSentryOptions?) ->
kmpOptions.experimental.sessionReplay.sessionSampleRate?.let { setSessionSampleRate(it.toFloat()) }
setQuality(kmpOptions.experimental.sessionReplay.quality.ordinal.toLong())
}
cocoaOptions.experimental().setSessionReplay(replayOptions)
cocoaOptions.setSessionReplay(replayOptions)
} ?: run {
// Log a warning if options is null
// TODO: Replace with actual logging when a logger is available
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SentryIosOptionsWrapper(private val cocoaOptions: CocoaSentryOptions) : Se
get() = cocoaOptions.appHangTimeoutInterval.toLong()

override val sessionReplay: SentryReplayOptions
get() = cocoaOptions.experimental.sessionReplay()
get() = cocoaOptions.sessionReplay()

override fun applyFromOptions(options: SentryOptions) {
options.toIosOptionsConfiguration().invoke(cocoaOptions)
Expand Down
12 changes: 6 additions & 6 deletions sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- Sentry (8.38.0):
- Sentry/Core (= 8.38.0)
- Sentry/Core (8.38.0)
- Sentry (8.44.0):
- Sentry/Core (= 8.44.0)
- Sentry/Core (8.44.0)
- shared (1.0):
- Sentry (= 8.38.0)
- Sentry (= 8.44.0)

DEPENDENCIES:
- shared (from `../shared`)
Expand All @@ -17,8 +17,8 @@ EXTERNAL SOURCES:
:path: "../shared"

SPEC CHECKSUMS:
Sentry: 205813e7e758b53df157cedb8c55b31a14300645
shared: 29ad91c0e6392887a08175041ce5c1ff1cb63ee7
Sentry: 0f9bc9adfc0b960e7f3bb5ec67e9a3d8193f3bdb
shared: 74c25c5ceba3c4351dc1bcb324c17f211def6ebf

PODFILE CHECKSUM: f282da88f39e69507b0a255187c8a6b644477756

Expand Down
2 changes: 1 addition & 1 deletion sentry-samples/kmp-app-cocoapods/shared/shared.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Pod::Spec.new do |spec|
spec.vendored_frameworks = 'build/cocoapods/framework/shared.framework'
spec.libraries = 'c++'
spec.ios.deployment_target = '14.1'
spec.dependency 'Sentry', '8.38.0'
spec.dependency 'Sentry', '8.44.0'

if !Dir.exist?('build/cocoapods/framework/shared.framework') || Dir.empty?('build/cocoapods/framework/shared.framework')
raise "
Expand Down
4 changes: 2 additions & 2 deletions sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/getsentry/sentry-cocoa.git";
requirement = {
kind = upToNextMajorVersion;
minimumVersion = 8.28.0;
kind = exactVersion;
version = 8.44.0;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/getsentry/sentry-cocoa.git",
"state" : {
"revision" : "a62862c99f5bcb28fd78617fab1a5fe29607c06c",
"version" : "8.28.0"
"revision" : "0c34e4da899a1dd9183db04082d1ceb6e9c2b301",
"version" : "8.44.0"
}
}
],
"version" : 2
"version" : 3
}

0 comments on commit 4132cdd

Please sign in to comment.