Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

## Unreleased

**Note**: This release includes a bump to Sentry Cocoa v8.25.0.
Please use at least version 8.25.0 of the Sentry Cocoa SDK starting from this release.
If you are using the Cocoapods gradle plugin you need to adjust your configuration:

```kotlin
pod("Sentry") {
version = "8.25.0"
// These extra options are required
extraOpts += listOf("-compiler-option", "-fmodules")
}
```

### Enhancements

- Make `setSentryUnhandledExceptionHook` public ([#208](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/208))
Expand All @@ -11,6 +23,9 @@
- Bump Java SDK from v7.4.0 to v7.8.0 ([#205](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/205), [#206](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/206))
- [changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#780)
- [diff](https://github.com/getsentry/sentry-java/compare/7.4.0...7.8.0)
- Bump Cocoa SDK from v8.20.0 to v8.25.0 ([#209](https://github.com/getsentry/sentry-kotlin-multiplatform/pull/209))
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8250)
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.20.0...8.25.0)

## 0.5.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.20.0"
val sentryCocoaVersion = "8.25.0"
val sentryCocoa = "Sentry"

object Samples {
Expand Down
5 changes: 4 additions & 1 deletion sentry-kotlin-multiplatform/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ kotlin {
homepage = "https://github.com/getsentry/sentry-kotlin-multiplatform"
version = "0.0.1"

pod(Config.Libs.sentryCocoa, Config.Libs.sentryCocoaVersion)
pod(Config.Libs.sentryCocoa) {
version = Config.Libs.sentryCocoaVersion
extraOpts += listOf("-compiler-option", "-fmodules")
}

ios.deploymentTarget = Config.Cocoa.iosDeploymentTarget
osx.deploymentTarget = Config.Cocoa.osxDeploymentTarget
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.20.0'
spec.dependency 'Sentry', '8.25.0'

if !Dir.exist?('build/cocoapods/framework/sentry_kotlin_multiplatform.framework') || Dir.empty?('build/cocoapods/framework/sentry_kotlin_multiplatform.framework')
raise "
Expand Down Expand Up @@ -50,4 +50,4 @@ Pod::Spec.new do |spec|
}
]

end
end
17 changes: 6 additions & 11 deletions sentry-samples/kmp-app-cocoapods/iosApp/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,29 +1,24 @@
PODS:
- Sentry (8.20.0):
- Sentry/Core (= 8.20.0)
- SentryPrivate (= 8.20.0)
- Sentry/Core (8.20.0):
- SentryPrivate (= 8.20.0)
- SentryPrivate (8.20.0)
- Sentry (8.25.0):
- Sentry/Core (= 8.25.0)
- Sentry/Core (8.25.0)
- shared (1.0):
- Sentry (= 8.20.0)
- Sentry (= 8.25.0)

DEPENDENCIES:
- shared (from `../shared`)

SPEC REPOS:
trunk:
- Sentry
- SentryPrivate

EXTERNAL SOURCES:
shared:
:path: "../shared"

SPEC CHECKSUMS:
Sentry: a8d7b373b9f9868442b02a0c425192f693103cbf
SentryPrivate: 006b24af16828441f70e2ab6adf241bd0a8ad130
shared: 1f6c0649407365a649be810e8ee7f09e1fc32868
Sentry: cd86fc55628f5b7c572cabe66cc8f95a9d2f165a
shared: 9b60306d775c7bb09035fb0d355ab1a6f253e819

PODFILE CHECKSUM: f282da88f39e69507b0a255187c8a6b644477756

Expand Down
5 changes: 4 additions & 1 deletion sentry-samples/kmp-app-cocoapods/shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ kotlin {
ios.deploymentTarget = "14.1"
podfile = project.file("../iosApp/Podfile")

pod("Sentry", Config.Libs.sentryCocoaVersion)
pod("Sentry") {
version = Config.Libs.sentryCocoaVersion
extraOpts += listOf("-compiler-option", "-fmodules")
}

framework {
baseName = "shared"
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.20.0'
spec.dependency 'Sentry', '8.25.0'

if !Dir.exist?('build/cocoapods/framework/shared.framework') || Dir.empty?('build/cocoapods/framework/shared.framework')
raise "
Expand Down