Skip to content

Remove the deprecated positional send_command() overload - #125

Merged
kahrendt merged 1 commit into
mainfrom
remove-v0.8.0-deprecations
Sep 15, 2026
Merged

kahrendt merged 1 commit into
mainfrom
remove-v0.8.0-deprecations

Conversation

@kahrendt

Copy link
Copy Markdown
Contributor

ControllerRole::send_command(SendspinControllerCommand, std::optional<uint8_t>, std::optional<bool>) was deprecated in favor of the ClientCommandControllerObject form, which can also carry seek parameters. The deprecation notice scheduled removal for v0.8.0, which is the next release, so this removes it.

  • Drops the declaration from include/sendspin/controller_role.h and the definition from src/controller_role.cpp
  • Drops the migration note from docs/integration-guide.md

No in-tree callers remain (examples and tests already use the struct form). 149/149 host tests pass.

SendspinClient::start_server() is the only other deprecated symbol; its notice targets v0.9.0, so it is left in place.

The positional ControllerRole::send_command(cmd, volume, mute) overload was
deprecated in favor of the ClientCommandControllerObject form, which can also
carry seek parameters. Its deprecation notice scheduled removal for v0.8.0,
the next release.

Drops the declaration, the definition, and the migration note in the
integration guide. No in-tree callers remain.

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 unresolved issues were identified.

Pull request overview

Removes the deprecated positional ControllerRole::send_command() overload and its obsolete migration documentation.

Changes:

  • Removes the public declaration and implementation.
  • Removes the integration-guide migration note.
  • Confirms in-tree callers use the struct-based API.
File summaries
File Description
include/sendspin/controller_role.h Removes the deprecated overload declaration.
src/controller_role.cpp Removes the overload implementation.
docs/integration-guide.md Removes the obsolete migration note.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@kahrendt
kahrendt enabled auto-merge (squash) September 15, 2026 19:18
@kahrendt
kahrendt merged commit 9331ace into main Sep 15, 2026
7 checks passed
@kahrendt
kahrendt deleted the remove-v0.8.0-deprecations branch September 15, 2026 19:20
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