Releases: getsentry/sentry-kotlin-multiplatform
Releases Β· getsentry/sentry-kotlin-multiplatform
Release list
0.27.0
Features
- Add C++ exception monitor option (#554)
- Compose Multiplatform: It is highly recommended to disable C++ monitoring (
options.enableUnhandledCppExceptionMonitoring = false) on Apple targets. Unhandled Kotlin exceptions from CMP can be reported as generic C++ crashes (ExceptionObjHolderImpl) instead of useful Kotlin stack traces when C++ monitoring is enabled.
- Compose Multiplatform: It is highly recommended to disable C++ monitoring (
Dependencies
0.26.0
0.25.0
Features
- Add generic log APIs with explicit level parameter (#520)
// New APIs:
// Simple message
Sentry.logger.log(SentryLogLevel.INFO, "User logged in")
// Message with parameters
Sentry.logger.log(SentryLogLevel.WARN, "Rate limit reached for %s", endpoint)
// Message with parameters and attributes
Sentry.logger.log(SentryLogLevel.ERROR, "Failed to process %s", request) {
this["error.code"] = 500
this["retry"] = true
}
// Full DSL
Sentry.logger.log(SentryLogLevel.FATAL) {
message("Database connection pool exhausted for %s", dbHost)
attributes {
this["database"] = "users"
this["activeConnections"] = 100
}
}Enhancements
- Support
proguardUuidoption on JVM target in addition to Android (#533)
Dependencies
0.24.0
Features
- Add structured logs support (#509)
Read the full documentation for more details.
Sentry.init {
it.dsn = "YOUR_DSN"
// Enable logs to be sent to Sentry
it.logs.enabled = true
}
// Simple API
Sentry.logger.warn("Rate limit reached for %s", endpoint) {
this["currentRequests"] = 120
this["limit"] = 100
this["retryAfterSeconds"] = 60
}
// Full DSL
Sentry.logger.fatal {
message("Database connection pool exhausted for %s", dbHost)
attributes {
this["database"] = "users"
this["activeConnections"] = 100
}
}0.23.1
Fixes
- Fix UserFeedback not being sent on iOS (#503)