Skip to content

Releases: getsentry/sentry-kotlin-multiplatform

0.27.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Jun 00:56

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.

Dependencies

0.26.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 06 May 09:20

Dependencies

0.25.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 18 Mar 22:20

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 proguardUuid option on JVM target in addition to Android (#533)

Dependencies

0.24.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 10 Feb 15:19

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

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 28 Jan 15:54

Fixes

  • Fix UserFeedback not being sent on iOS (#503)

0.23.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 10 Dec 15:48

⚠️ This release will affect issue grouping for iOS events as Sentry now captures correct stacktraces for manually captured and crashed iOS events.

Features

  • Improve iOS crash reports by adding scope data (#491)
  • Improve stacktrace of manually captured exceptions on iOS (#493)

0.22.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Dec 18:24

Dependencies

0.21.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Nov 16:20

Dependencies

0.20.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Nov 09:43

Dependencies

0.19.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 12 Sep 12:56

Dependencies