Skip to content

Releases: getsentry/sentry-kotlin-multiplatform

0.25.0

18 Mar 22:20

Choose a tag to compare

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

10 Feb 15:19

Choose a tag to compare

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

28 Jan 15:54

Choose a tag to compare

Fixes

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

0.23.0

10 Dec 15:48

Choose a tag to compare

⚠️ 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

03 Dec 18:24

Choose a tag to compare

Dependencies

0.21.0

03 Nov 16:20

Choose a tag to compare

Dependencies

0.20.0

03 Nov 09:43

Choose a tag to compare

Dependencies

0.19.0

12 Sep 12:56

Choose a tag to compare

Dependencies

0.18.0

31 Jul 13:44
07ef8e4

Choose a tag to compare

Features

  • Add proguardUuid option to SentryOptions (#436)
    • This will propagate the proguardUuid value to Sentry Android

Fixes

  • Fix stack trace crash on Apple targets (#434)

0.17.1

22 Jul 12:11

Choose a tag to compare

Fixes

  • Gradle Plugin: allow new supported targets to be installed (#429)