Skip to content

Remove the deprecated pairing_window_supported config field - #216

Merged
kahrendt merged 1 commit into
mainfrom
remove-pairing-window-supported
Oct 28, 2026
Merged

kahrendt merged 1 commit into
mainfrom
remove-pairing-window-supported

Conversation

@kahrendt

Copy link
Copy Markdown
Contributor

Summary

Removes SendspinClientConfig::pairing_window_supported. The field was deprecated and ignored in v0.9.2 (#187), with removal planned for v0.10.0.

Changes

  • Delete the field together with its [[deprecated]] attribute and doc comment.
  • Drop the -Wdeprecated-declarations suppression around SendspinClientConfig, which only existed so the struct's implicit copy and move members would not warn about this field. The struct has no other deprecated members.
  • Remove the field's row from the config table in the integration guide.

Breaking change

Code that still assigns pairing_window_supported no longer compiles. Since v0.9.2 the assignment has had no effect and has produced a deprecation warning, so the fix is to delete it. Runtime behavior is unchanged.

Testing

  • Host suite under ASan with examples and message trace on: 707/707.
  • pre-commit clean.
  • ESP-IDF not compiled; the change touches no platform code.

Deprecated and ignored since v0.9.2, with removal planned for v0.10.0.
Drop the field, the deprecation-warning suppression around
SendspinClientConfig that existed only for it, and its row in the
integration guide.
@kahrendt
kahrendt requested a balanced review from Copilot October 28, 2026 11:49
@kahrendt
kahrendt marked this pull request as ready for review October 28, 2026 11:50

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.

🟢 Approval recommended

No active review issues are recorded for the deprecated configuration-field cleanup.

No open issues 🎉

What changed in this PR

Removes the deprecated, ignored SendspinClientConfig::pairing_window_supported field, completing the cleanup planned in #187. Consumers still assigning it must delete those assignments; runtime behavior is unchanged.

Changes:

  • Remove the field and its now-unnecessary deprecation-warning suppression.
  • Remove the obsolete configuration entry from the integration guide.
File Description
include/​sendspin/​config.h Removes the deprecated field, its comments, and warning-suppression pragmas.
docs/​integration-guide.md Removes the field’s configuration-table row.

Review effort: Balanced

@kahrendt
kahrendt enabled auto-merge (squash) October 28, 2026 11:53
@kahrendt
kahrendt merged commit 9a15c83 into main Oct 28, 2026
17 checks passed
@kahrendt
kahrendt deleted the remove-pairing-window-supported branch October 28, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants