Skip to content

deprecate reply options#1207

Open
milyin wants to merge 2 commits intoeclipse-zenoh:mainfrom
milyin-zenoh-zbobr:zbobr_fix-22-deprecate-reply-options
Open

deprecate reply options#1207
milyin wants to merge 2 commits intoeclipse-zenoh:mainfrom
milyin-zenoh-zbobr:zbobr_fix-22-deprecate-reply-options

Conversation

@milyin
Copy link
Contributor

@milyin milyin commented Mar 4, 2026

fixes #1204

milyin and others added 2 commits March 4, 2026 11:34
This commit implements the deprecation changes from upstream zenoh:
- Mark priority and congestion_control fields as deprecated in
  z_query_reply_options_t and z_query_reply_del_options_t structs
- Remove calls to ReplyBuilder's priority() and congestion_control() methods
  in z_query_reply() and z_query_reply_del() functions
- Remove the z_internal_congestion_control_default_response() function entirely
- Update auto-generated zenoh_commons.h header with deprecation annotations

The struct fields remain in place for backward compatibility (ABI preservation),
but are marked as deprecated via #[deprecated] Rust attributes and documentation.

Closes eclipse-zenoh#1204

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@milyin milyin added the enhancement New feature or request label Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

make priority and congestion_control for reply deprecated

1 participant