Commit c75ac51
chore(core): Deprecate FeedbackButton FAB APIs (#5933)
* refactor(core): Rename FeedbackWidget to FeedbackForm
Deprecate "widget" term in favor of "form" to align with the broader
Sentry SDK ecosystem naming convention.
All public APIs are preserved as deprecated aliases:
- FeedbackWidget → FeedbackForm
- showFeedbackWidget → showFeedbackForm
- FeedbackWidgetProps → FeedbackFormProps
- FeedbackWidgetStyles → FeedbackFormStyles
- FeedbackWidgetState → FeedbackFormState
- FeedbackWidgetTheme → FeedbackFormTheme
- FeedbackWidgetManager → FeedbackFormManager
Closes #5892
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* test(core): Add backward compatibility tests for deprecated FeedbackWidget API
Verify that the deprecated FeedbackWidget and showFeedbackWidget exports
are identical to their FeedbackForm replacements.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs(changelog): Add FeedbackWidget to FeedbackForm rename entry
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* chore(core): Deprecate FeedbackButton, showFeedbackButton, and hideFeedbackButton
Mark the floating action button (FAB) APIs as deprecated. They will be
removed in a future major version.
Closes #5893
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* docs(changelog): Add FeedbackButton deprecation entry
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Fix lint issue
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent dfdd377 commit c75ac51
File tree
4 files changed
+10
-7
lines changed- packages/core/src/js
- feedback
4 files changed
+10
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| 131 | + | |
130 | 132 | | |
131 | 133 | | |
132 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
104 | 105 | | |
105 | 106 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
113 | 112 | | |
114 | 113 | | |
115 | 114 | | |
| |||
0 commit comments