Skip to content

BREAKING: human readable de/ser for shortvec#382

Closed
jstarry wants to merge 3 commits into
anza-xyz:masterfrom
jstarry:fix/short-vec-hr
Closed

BREAKING: human readable de/ser for shortvec#382
jstarry wants to merge 3 commits into
anza-xyz:masterfrom
jstarry:fix/short-vec-hr

Conversation

@jstarry

@jstarry jstarry commented Oct 16, 2025

Copy link
Copy Markdown
Contributor

Short vec fields are not properly supported for human readable de/ser. This is a breaking change to how short vec fields are serialized and deserialized for human readable formats.

Old serialization of ShortVec(vec![0, 1, 2]):

[
  [3],
  0,
  1,
  2
]

New serialization:

[
  0,
  1,
  2
]

@jstarry

jstarry commented Oct 16, 2025

Copy link
Copy Markdown
Contributor Author

Depends on #381 (to avoid abi digest conflicts) so wait on reviewing this until that one is in

@jstarry jstarry force-pushed the fix/short-vec-hr branch 3 times, most recently from d77f509 to af9a416 Compare October 16, 2025 05:46
@joncinque joncinque added the breaking PR contains breaking changes label Oct 16, 2025
@jstarry jstarry closed this Feb 20, 2026
@jstarry jstarry deleted the fix/short-vec-hr branch February 20, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking PR contains breaking changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants