diff --git a/CHANGELOG.md b/CHANGELOG.md index 28bf4727..ba2b3526 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/buildSrc/src/main/java/Config.kt b/buildSrc/src/main/java/Config.kt index 54c9c401..e6289fc8 100644 --- a/buildSrc/src/main/java/Config.kt +++ b/buildSrc/src/main/java/Config.kt @@ -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 { diff --git a/sentry-kotlin-multiplatform-gradle-plugin/gradle.properties b/sentry-kotlin-multiplatform-gradle-plugin/gradle.properties index bef779ab..7686ee01 100644 --- a/sentry-kotlin-multiplatform-gradle-plugin/gradle.properties +++ b/sentry-kotlin-multiplatform-gradle-plugin/gradle.properties @@ -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 diff --git a/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec b/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec index 9cfc4359..96249f5d 100644 --- a/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec +++ b/sentry-kotlin-multiplatform/sentry_kotlin_multiplatform.podspec @@ -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 " diff --git a/sentry-kotlin-multiplatform/src/iosMain/kotlin/io/sentry/kotlin/multiplatform/extensions/SentryOptionsExtensions.ios.kt b/sentry-kotlin-multiplatform/src/iosMain/kotlin/io/sentry/kotlin/multiplatform/extensions/SentryOptionsExtensions.ios.kt index ff4a849d..7efdd657 100644 --- a/sentry-kotlin-multiplatform/src/iosMain/kotlin/io/sentry/kotlin/multiplatform/extensions/SentryOptionsExtensions.ios.kt +++ b/sentry-kotlin-multiplatform/src/iosMain/kotlin/io/sentry/kotlin/multiplatform/extensions/SentryOptionsExtensions.ios.kt @@ -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 diff --git a/sentry-kotlin-multiplatform/src/iosTest/kotlin/io/sentry/kotlin/multiplatform/PlatformOptions.ios.kt b/sentry-kotlin-multiplatform/src/iosTest/kotlin/io/sentry/kotlin/multiplatform/PlatformOptions.ios.kt index c5fc88c3..e3305e60 100644 --- a/sentry-kotlin-multiplatform/src/iosTest/kotlin/io/sentry/kotlin/multiplatform/PlatformOptions.ios.kt +++ b/sentry-kotlin-multiplatform/src/iosTest/kotlin/io/sentry/kotlin/multiplatform/PlatformOptions.ios.kt @@ -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) diff --git a/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock b/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock index 8d3f404c..4ab69ff4 100644 --- a/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock +++ b/sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock @@ -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`) @@ -17,8 +17,8 @@ EXTERNAL SOURCES: :path: "../shared" SPEC CHECKSUMS: - Sentry: 205813e7e758b53df157cedb8c55b31a14300645 - shared: 29ad91c0e6392887a08175041ce5c1ff1cb63ee7 + Sentry: 0f9bc9adfc0b960e7f3bb5ec67e9a3d8193f3bdb + shared: 74c25c5ceba3c4351dc1bcb324c17f211def6ebf PODFILE CHECKSUM: f282da88f39e69507b0a255187c8a6b644477756 diff --git a/sentry-samples/kmp-app-cocoapods/shared/shared.podspec b/sentry-samples/kmp-app-cocoapods/shared/shared.podspec index 87cbe4c3..a6637b32 100644 --- a/sentry-samples/kmp-app-cocoapods/shared/shared.podspec +++ b/sentry-samples/kmp-app-cocoapods/shared/shared.podspec @@ -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 " diff --git a/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.pbxproj b/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.pbxproj index cfe22a19..9b663553 100644 --- a/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.pbxproj +++ b/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.pbxproj @@ -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 */ diff --git a/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index e6d3b6ae..9a638ee1 100644 --- a/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/sentry-samples/kmp-app-spm/iosApp.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -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 }