11# Changelog
22
3- ## 0.22.0
3+ ## Unreleased
4+
5+ ⚠️ This release will affect issue grouping for iOS events as Sentry now captures correct stacktraces for manually captured and crashed iOS events.
46
57### Features
68
79- Improve iOS crash reports by adding scope data ([ #491 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/491 ) )
8- - ⚠️ This change will most likely affect issue grouping as Sentry now properly symbolicates Kotlin iOS crashes
10+ - Improve stacktrace of manually captured exceptions on iOS ([ #493 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/493 ) )
11+
12+ ## 0.22.0
13+
14+ ### Features
915
1016### Dependencies
1117
@@ -169,13 +175,15 @@ Potentially breaking: this release bumps the used Kotlin version to `2.1.21`.
169175### Features
170176
171177- Add experimental session replay options to common code ([ #275 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/275 ) )
178+
172179``` kotlin
173180Sentry .init { options ->
174181 // Adjust these values for production
175182 options.sessionReplay.onErrorSampleRate = 1.0
176183 options.sessionReplay.sessionSampleRate = 1.0
177184}
178185```
186+
179187- Add ` Sentry.isEnabled() ` API to common code ([ #273 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/273 ) )
180188- Add ` enableWatchdogTerminationTracking ` in common options ([ #281 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/281 ) )
181189- Add ` diagnosticLevel ` in common options ([ #287 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/287 ) )
@@ -213,12 +221,13 @@ Sentry.init { options ->
213221 - Enables auto installing of the required Sentry Cocoa SDK with Cocoapods (if Cocoapods plugin is enabled)
214222 - Configures linking for SPM (needed if you want to compile a dynamic framework with ` isStatic = false ` )
215223 - Configure via the ` sentryKmp ` configuration block in your build file
224+
216225``` kotlin
217226// Example configuration in build.gradle.kts
218227sentryKmp {
219228 // Disable auto installing the KMP SDK to commonMain
220229 autoInstall.commonMain.enabled = false
221- }
230+ }
222231```
223232
224233### Dependencies
@@ -236,7 +245,7 @@ sentryKmp {
236245### Features
237246
238247- New Sentry KMP Gradle plugin ([ #230 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/230 ) )
239- - Install via ` plugins { id("io.sentry.kotlin.multiplatform.gradle") version "{version}" } `
248+ - Install via ` plugins { id("io.sentry.kotlin.multiplatform.gradle") version "{version}" } `
240249 - Enables auto installing of the KMP SDK to commonMain (if all targets are supported)
241250 - Enables auto installing of the required Sentry Cocoa SDK with Cocoapods (if Cocoapods plugin is enabled)
242251 - Configures linking for SPM (needed if you want to compile a dynamic framework)
@@ -266,6 +275,7 @@ sentryKmp {
266275 - This allows you to initialize the SDK with platform-specific options that may not be available in the common code of the KMP SDK yet.
267276
268277Usage:
278+
269279``` kotlin
270280// build.gradle.kts
271281kotlin {
@@ -284,7 +294,7 @@ fun init() {
284294expect fun platformOptionsConfiguration (): PlatformOptionsConfiguration
285295
286296// iOS
287- actual fun createPlatformOptions (): PlatformOptionsConfiguration = {
297+ actual fun createPlatformOptions (): PlatformOptionsConfiguration = {
288298 dsn = " your_dsn"
289299 release = " 1.0.0"
290300 // ...
@@ -366,8 +376,8 @@ pod("Sentry") {
366376 - [ changelog] ( https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md#710 )
367377 - [ diff] ( https://github.com/getsentry/sentry-java/compare/6.33.1...7.1.0 )
368378- Bump Cocoa SDK from v8.4.0 to v8.17.1 ([ #158 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/163 ) )
369- - [ changelog] ( https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8172 )
370- - [ diff] ( https://github.com/getsentry/sentry-cocoa/compare/8.4.0...8.17.2 )
379+ - [ changelog] ( https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8172 )
380+ - [ diff] ( https://github.com/getsentry/sentry-cocoa/compare/8.4.0...8.17.2 )
371381- Bump Kotlin version from v1.8.0 to v1.9.21 ([ #146 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/146 )
372382
373383## 0.3.0
@@ -405,7 +415,7 @@ pod("Sentry") {
405415
406416## 0.1.1
407417
408- ### Fixes
418+ ### Fixes
409419
410420- fix: beforeSend dropping events if not set in options ([ #79 ] ( https://github.com/getsentry/sentry-kotlin-multiplatform/pull/79 ) )
411421
@@ -442,15 +452,14 @@ pod("Sentry") {
442452
443453### Features
444454
445- - JVM, Android, iOS, macOS, watchOS, tvOS integration
446- - Sentry init and close
447- - Capture Message
448- - Capture Exception with proper stack traces
449- - Custom unhandled exception handler on Cocoa to properly catch crashes and the stacktrace
450- - Scope configuration globally and locally
451- - User Feedback
452- - Attachments to Scope
453- - Screenshots option for Android and iOS
454- - Add beforeBreadcrumb hook
455- - Kotlin Multiplatform Sample project
456-
455+ - JVM, Android, iOS, macOS, watchOS, tvOS integration
456+ - Sentry init and close
457+ - Capture Message
458+ - Capture Exception with proper stack traces
459+ - Custom unhandled exception handler on Cocoa to properly catch crashes and the stacktrace
460+ - Scope configuration globally and locally
461+ - User Feedback
462+ - Attachments to Scope
463+ - Screenshots option for Android and iOS
464+ - Add beforeBreadcrumb hook
465+ - Kotlin Multiplatform Sample project
0 commit comments