Skip to content

feat: Add microversion negotiation strategy to RestClient - #1918

Merged
gtema merged 1 commit into
mainfrom
mv-negotiation
Aug 7, 2026
Merged

feat: Add microversion negotiation strategy to RestClient#1918
gtema merged 1 commit into
mainfrom
mv-negotiation

Conversation

@gtema

@gtema gtema commented Aug 6, 2026

Copy link
Copy Markdown
Owner

MicroVersionStrategy enum (Floor/Ceiling) on RestClient allows clients
to opt into requesting the highest compatible microversion instead of
the lowest. TUI builds sessions with Ceiling so serde_json::Value
parsing sees richer response fields from newer API versions.

Signed-off-by: Artem Goncharov artem.goncharov@gmail.com

@gtema
gtema force-pushed the mv-negotiation branch 2 times, most recently from 62a911c to 330a371 Compare August 7, 2026 06:44
MicroVersionStrategy enum (Floor/Ceiling) on RestClient allows clients
to opt into requesting the highest compatible microversion instead of
the lowest.  TUI builds sessions with Ceiling so serde_json::Value
parsing sees richer response fields from newer API versions.

Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com>
@gtema
gtema merged commit 4a4c12c into main Aug 7, 2026
18 checks passed
@gtema-release-plz gtema-release-plz Bot mentioned this pull request Aug 7, 2026
@gtema
gtema deleted the mv-negotiation branch August 7, 2026 13:43
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.

1 participant