Skip to content

ref(feedback): Remove deprecated SentryFeedbackWidget#3844

Open
buenaflor wants to merge 1 commit into
v10-branchfrom
ref/remove-sentry-feedback-widget
Open

ref(feedback): Remove deprecated SentryFeedbackWidget#3844
buenaflor wants to merge 1 commit into
v10-branchfrom
ref/remove-sentry-feedback-widget

Conversation

@buenaflor

Copy link
Copy Markdown
Contributor

SentryFeedbackWidget is removed. It was a deprecated typedef alias (typedef SentryFeedbackWidget = SentryFeedbackForm) left over from the rename to SentryFeedbackForm, which is complete.

Removes the alias file, its export from sentry_flutter.dart, and the alias-specific test group. No other code referenced it.

Part of the v10 cleanup (#3487).

Breaking change: low impact — already deprecated with a documented migration to SentryFeedbackForm.

Fixes #3825

SentryFeedbackWidget was a deprecated typedef alias for
SentryFeedbackForm; the rename is complete, so remove the alias, its
export, and the alias-specific test group.

BREAKING CHANGE: SentryFeedbackWidget is removed; use SentryFeedbackForm.

Fixes GH-3825
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


Features

  • (grpc) Add integration support for GRPC by lucas-zimerman in #3721

Fixes

  • Correct feature flag scope buffer updates by denrase in #3797

Dependencies

Deps

  • chore(deps): update Android SDK to v8.46.0 by github-actions in #3793
  • chore(deps): update Native SDK to v0.15.2 by github-actions in #3785

Internal Changes

  • (feedback) Remove deprecated SentryFeedbackWidget by buenaflor in #3844
  • (skills) Expand test-guidelines and drop stale deps by buenaflor in #3807
  • Add PR template checkbox for cross sdk review on public API changes by antonis in #3822
  • Block manual CHANGELOG.md edits by buenaflor in #3810
  • Fix Dependabot pub paths and pin GitHub Action by buenaflor in #3804
  • Add AI Use section to CONTRIBUTING.md by christophaigner in #3803

🤖 This preview updates automatically when you update the PR.

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v10-branch@59d7c7b). Learn more about missing BASE report.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@              Coverage Diff              @@
##             v10-branch    #3844   +/-   ##
=============================================
  Coverage              ?   91.71%           
=============================================
  Files                 ?      105           
  Lines                 ?     3816           
  Branches              ?        0           
=============================================
  Hits                  ?     3500           
  Misses                ?      316           
  Partials              ?        0           
Flag Coverage Δ
sentry_firebase_remote_config 100.00% <ø> (?)
sentry_flutter 91.33% <ø> (?)
sentry_supabase 97.27% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@buenaflor buenaflor changed the title ref(feedback)!: Remove deprecated SentryFeedbackWidget ref(feedback): Remove deprecated SentryFeedbackWidget Jul 1, 2026
@buenaflor buenaflor marked this pull request as ready for review July 1, 2026 15:09
@buenaflor buenaflor requested a review from denrase as a code owner July 1, 2026 15:09
Copilot AI review requested due to automatic review settings July 1, 2026 15:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the deprecated SentryFeedbackWidget typedef alias (renamed to SentryFeedbackForm previously) from the Flutter package, including its now-obsolete export and alias-only tests, as part of the v10 cleanup.

Changes:

  • Deleted SentryFeedbackWidget alias file (sentry_feedback_widget.dart).
  • Removed the deprecated export from packages/flutter/lib/sentry_flutter.dart.
  • Removed the alias-specific test group from sentry_feedback_form_test.dart.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/flutter/test/feedback/sentry_feedback_form_test.dart Removes tests that only validated the deprecated alias behavior.
packages/flutter/lib/src/feedback/sentry_feedback_widget.dart Deletes the deprecated typedef alias (public API removal).
packages/flutter/lib/sentry_flutter.dart Stops exporting the removed alias symbol from the Flutter barrel.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 7 to 10
export 'src/binding_wrapper.dart'
show BindingWrapper, SentryWidgetsFlutterBinding;
export 'src/feedback/sentry_feedback_form.dart';
// ignore: deprecated_member_use_from_same_package
export 'src/feedback/sentry_feedback_widget.dart' show SentryFeedbackWidget;
export 'src/flutter_sentry_attachment.dart';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants