Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1ef0109
ref(feedback): Rename Dialog to Form across feedback APIs
romtsn Apr 29, 2026
9b99668
fix(feedback): Preserve binary compatibility for deprecated Builder c…
romtsn Apr 29, 2026
2631fba
Make internal ctor package-private
romtsn Apr 29, 2026
725827b
Add missing deprecated annotaiton
romtsn Apr 29, 2026
3c9dfc2
Fix api
romtsn Apr 29, 2026
84fdc82
docs(changelog): Add deprecation entry for feedback Dialog to Form re…
romtsn Apr 29, 2026
3eeb978
docs(changelog): Note removal in next major version
romtsn Apr 29, 2026
630238a
feat(feedback): Add Sentry.feedback() API
romtsn Apr 30, 2026
174d746
docs(changelog): Update section to Features and remove unpublished API
romtsn Apr 30, 2026
28d5521
ref(feedback): Move FeedbackApi to IScopes
romtsn Apr 30, 2026
29febd7
ref: Rename showForm() to show() on IFeedbackApi
romtsn Apr 30, 2026
6a0b779
chore: Deprecate UserFeedback and captureUserFeedback, delete showUse…
romtsn Apr 30, 2026
bce1a45
chore: Deprecate SentryEnvelopeItem.fromUserFeedback()
romtsn Apr 30, 2026
6f3a18f
chore: Deprecate SentryClient.buildEnvelope(UserFeedback)
romtsn Apr 30, 2026
05ab6db
ref: Remove unnecessary SuppressWarnings("deprecation")
romtsn Apr 30, 2026
f713580
fix test
romtsn Apr 30, 2026
1d28b4d
remove redudndant deprecated annotations
romtsn Apr 30, 2026
7911d0c
fix test
romtsn Apr 30, 2026
0645287
ref(feedback): Deprecate SentryUserFeedbackButton
romtsn Apr 29, 2026
edd256f
Changelog
romtsn Apr 29, 2026
27c92dd
chore: Deprecate SentryUserFeedbackButton in sentry-compose
romtsn Apr 30, 2026
951bd42
changelog
romtsn Apr 30, 2026
5efbaa6
message
romtsn Apr 30, 2026
aec926c
Merge branch 'main' into rz/chore/feedback-button-deprecate
romtsn Apr 30, 2026
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
- `Sentry.captureUserFeedback()` and `UserFeedback` are deprecated in favor of `Sentry.feedback().capture()` with the new `Feedback` type
- `SentryUserFeedbackDialog` is deprecated in favor of `SentryUserFeedbackForm`
- All deprecated APIs will be removed in the next major version
- Deprecate `SentryUserFeedbackButton` (View-based and Compose-based) ([#5350](https://github.com/getsentry/sentry-java/pull/5350))
- It will be removed in the next major version

### Dependencies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,33 @@
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

/**
* @deprecated `SentryUserFeedbackButton` will be removed in the next major version
*/
@Deprecated
public class SentryUserFeedbackButton extends Button {

private @Nullable OnClickListener delegate;

@Deprecated
public SentryUserFeedbackButton(Context context) {
super(context);
init(context, null, 0, 0);
}

@Deprecated
public SentryUserFeedbackButton(Context context, AttributeSet attrs) {
super(context, attrs);
init(context, attrs, 0, 0);
}

@Deprecated
public SentryUserFeedbackButton(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
init(context, attrs, defStyleAttr, 0);
}

@Deprecated
public SentryUserFeedbackButton(
Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
super(context, attrs, defStyleAttr, defStyleRes);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import androidx.compose.ui.unit.dp
import io.sentry.Sentry
import io.sentry.SentryFeedbackOptions

@Deprecated("`SentryUserFeedbackButton` will be removed in the next major version")
@Composable
public fun SentryUserFeedbackButton(
modifier: Modifier = Modifier,
Expand Down
Loading