From 490c31e17021231ac43866b5e7d3abbebc6d29d7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 19 Dec 2023 09:24:44 +0000 Subject: [PATCH 1/2] build(deps): bump io.sentry:sentry-bom from 6.34.0 to 7.1.0 Bumps [io.sentry:sentry-bom](https://github.com/getsentry/sentry-java) from 6.34.0 to 7.1.0. - [Release notes](https://github.com/getsentry/sentry-java/releases) - [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md) - [Commits](https://github.com/getsentry/sentry-java/compare/6.34.0...7.1.0) --- updated-dependencies: - dependency-name: io.sentry:sentry-bom dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index c6dc7ec1c61..6f813ae4c20 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -56,7 +56,7 @@ val languageToolVersion = "6.1" dependencyManagement { imports { - mavenBom("io.sentry:sentry-bom:6.34.0") + mavenBom("io.sentry:sentry-bom:7.1.0") } } From 2cba3fa7df8b66f521ee2999b5b7f8f2c943b68d Mon Sep 17 00:00:00 2001 From: Nikita Fedkin Date: Tue, 26 Dec 2023 21:28:03 +0100 Subject: [PATCH 2/2] Fix compilation error --- .../bsl/languageserver/aop/sentry/SentryScopeConfigurer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/SentryScopeConfigurer.java b/src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/SentryScopeConfigurer.java index 5312e2a1339..a40f66a8823 100644 --- a/src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/SentryScopeConfigurer.java +++ b/src/main/java/com/github/_1c_syntax/bsl/languageserver/aop/sentry/SentryScopeConfigurer.java @@ -21,7 +21,7 @@ */ package com.github._1c_syntax.bsl.languageserver.aop.sentry; -import io.sentry.Scope; +import io.sentry.IScope; import io.sentry.Sentry; import io.sentry.protocol.User; import jakarta.annotation.PostConstruct; @@ -48,7 +48,7 @@ public class SentryScopeConfigurer { @PostConstruct public void init() { - Sentry.configureScope((Scope scope) -> { + Sentry.configureScope((IScope scope) -> { var user = new User(); user.setId(UUID.randomUUID().toString()); scope.setUser(user);