Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
- Remove deprecated OpenTelemetry integration classes and the legacy `SentrySpanStorage` ([#6243](https://github.com/getsentry/sentry-java/pull/6243))
- Decide whether foregrounding the app starts a new session on a monotonic clock instead of the wall clock, so that a device time change no longer starts a session that should have been resumed, or resumes one that should have ended. This affects session counts ([#6096](https://github.com/getsentry/sentry-java/pull/6096))

### Improvements

- Promote check-in APIs from experimental to stable ([#6422](https://github.com/getsentry/sentry-java/pull/6422))

## 8.62.0

### Improvements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,13 @@
import io.sentry.util.LifecycleHelper;
import io.sentry.util.Objects;
import io.sentry.util.TracingUtils;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.quartz.JobDataMap;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.JobListener;

@ApiStatus.Experimental
public final class SentryJobListener implements JobListener {

static {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.sentry.spring7.checkin;

import com.jakewharton.nopen.annotation.Open;
import org.jetbrains.annotations.ApiStatus;
import org.springframework.boot.quartz.autoconfigure.SchedulerFactoryBeanCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -10,7 +9,6 @@

@Configuration(proxyBeanMethods = false)
@Open
@ApiStatus.Experimental
public class SentryQuartzConfiguration {

@Bean
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package io.sentry.spring7.checkin;

import io.sentry.quartz.SentryJobListener;
import org.jetbrains.annotations.ApiStatus;
import org.springframework.boot.quartz.autoconfigure.SchedulerFactoryBeanCustomizer;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;

@ApiStatus.Experimental
public final class SentrySchedulerFactoryBeanCustomizer implements SchedulerFactoryBeanCustomizer {
@Override
public void customize(SchedulerFactoryBean schedulerFactoryBean) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.sentry.spring.jakarta.checkin;

import com.jakewharton.nopen.annotation.Open;
import org.jetbrains.annotations.ApiStatus;
import org.springframework.boot.autoconfigure.quartz.SchedulerFactoryBeanCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -10,7 +9,6 @@

@Configuration(proxyBeanMethods = false)
@Open
@ApiStatus.Experimental
public class SentryQuartzConfiguration {

@Bean
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package io.sentry.spring.jakarta.checkin;

import io.sentry.quartz.SentryJobListener;
import org.jetbrains.annotations.ApiStatus;
import org.springframework.boot.autoconfigure.quartz.SchedulerFactoryBeanCustomizer;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;

@ApiStatus.Experimental
public final class SentrySchedulerFactoryBeanCustomizer implements SchedulerFactoryBeanCustomizer {
@Override
public void customize(SchedulerFactoryBean schedulerFactoryBean) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.sentry.spring.checkin;

import com.jakewharton.nopen.annotation.Open;
import org.jetbrains.annotations.ApiStatus;
import org.springframework.boot.autoconfigure.quartz.SchedulerFactoryBeanCustomizer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand All @@ -10,7 +9,6 @@

@Configuration(proxyBeanMethods = false)
@Open
@ApiStatus.Experimental
public class SentryQuartzConfiguration {

@Bean
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package io.sentry.spring.checkin;

import io.sentry.quartz.SentryJobListener;
import org.jetbrains.annotations.ApiStatus;
import org.springframework.boot.autoconfigure.quartz.SchedulerFactoryBeanCustomizer;
import org.springframework.scheduling.quartz.SchedulerFactoryBean;

@ApiStatus.Experimental
public final class SentrySchedulerFactoryBeanCustomizer implements SchedulerFactoryBeanCustomizer {
@Override
public void customize(SchedulerFactoryBean schedulerFactoryBean) {
Expand Down
1 change: 0 additions & 1 deletion sentry/src/main/java/io/sentry/NoOpScopes.java
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,6 @@ public void reportFullyDisplayed() {}
}

@Override
@ApiStatus.Experimental
public @NotNull SentryId captureCheckIn(final @NotNull CheckIn checkIn) {
return SentryId.EMPTY_ID;
}
Expand Down
1 change: 0 additions & 1 deletion sentry/src/main/java/io/sentry/ScopesAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ public void reportFullyDisplayed() {
}

@Override
@ApiStatus.Experimental
public @NotNull SentryId captureCheckIn(final @NotNull CheckIn checkIn) {
return Sentry.captureCheckIn(checkIn);
}
Expand Down
8 changes: 2 additions & 6 deletions sentry/src/main/java/io/sentry/SentryOptions.java
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ public class SentryOptions implements RateLimiterConfig {
private boolean enableScopePersistence = true;

/** The monitor slugs for which captured check-ins should not be sent to Sentry. */
@ApiStatus.Experimental private @Nullable List<FilterString> ignoredCheckIns = null;
private @Nullable List<FilterString> ignoredCheckIns = null;

/**
* Strings or regex patterns that the origin of a new span/transaction will be tested against. If
Expand Down Expand Up @@ -618,7 +618,7 @@ public class SentryOptions implements RateLimiterConfig {
*/
private int profilingTracesHz = 101;

@ApiStatus.Experimental private @Nullable Cron cron = null;
private @Nullable Cron cron = null;

private final @NotNull ExperimentalOptions experimental;

Expand Down Expand Up @@ -2995,7 +2995,6 @@ public void setIgnoredSpanOrigins(final @Nullable List<String> ignoredSpanOrigin
*
* @return the list of monitor slugs
*/
@ApiStatus.Experimental
public @Nullable List<FilterString> getIgnoredCheckIns() {
return ignoredCheckIns;
}
Expand All @@ -3006,7 +3005,6 @@ public void setIgnoredSpanOrigins(final @Nullable List<String> ignoredSpanOrigin
*
* @param ignoredCheckIn the monitor slug
*/
@ApiStatus.Experimental
public void addIgnoredCheckIn(String ignoredCheckIn) {
if (ignoredCheckIns == null) {
ignoredCheckIns = new ArrayList<>();
Expand All @@ -3019,7 +3017,6 @@ public void addIgnoredCheckIn(String ignoredCheckIn) {
*
* @param ignoredCheckIns the list of monitor slugs for which check-ins should not be sent
*/
@ApiStatus.Experimental
public void setIgnoredCheckIns(final @Nullable List<String> ignoredCheckIns) {
if (ignoredCheckIns == null) {
this.ignoredCheckIns = null;
Expand Down Expand Up @@ -3262,7 +3259,6 @@ public void setEnableScopePersistence(final boolean enableScopePersistence) {
return cron;
}

@ApiStatus.Experimental
public void setCron(@Nullable Cron cron) {
this.cron = cron;
}
Expand Down
1 change: 0 additions & 1 deletion sentry/src/main/java/io/sentry/util/CheckInUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

@ApiStatus.Experimental
public final class CheckInUtils {

/**
Expand Down
Loading