Skip to content

chore(release): 0.12.0 - #155

Merged
Andste82 merged 1 commit into
mainfrom
release/v0.12.0
Oct 20, 2026
Merged

Andste82 merged 1 commit into
mainfrom
release/v0.12.0

Conversation

@Andste82

Copy link
Copy Markdown
Member

Version bump only: every package manifest brought in line with the v0.12.0 tag that follows this merge. The git tag stays the source of truth.

Behaviour changes (why this is a minor, not a patch)

Under the family's pre-1.0 rule a patch must not change API or wire output. Two edge cases now encode differently (1f6ffe3, refs sofa-buffers/generator#656):

  • FixedString::assign cuts at a UTF-8 character boundary. An overlong value is still clamped to N bytes, but the cut moves back to the start of the character that would not fit whole. Before, "xxxé" into FixedString<4> kept "xxx\xC3", which the strict-UTF-8 encoder then refused. Now it keeps "xxx" and encodes.
  • InlineVector::push_back past N drops the new value and keeps the held ones. Before, it overwrote the last element.

New

  • IStreamInto: IStreamObject without the owned instance. It decodes into a message the caller owns, so a generated try_decode becomes three lines. reset() resets the decoder only; putting the destination back between messages is the caller's job. (ed6b70e; corelib-c-cpp#197, generator#744)
  • OStreamImpl::rejectArgument(): latches InvalidArgument so generated serialize() can refuse a value past a schema-only bound (maxlen, count). It is the encode-side counterpart of IStreamImpl::invalidate(). (1f6ffe3)
  • sofab::bitsEqual (new header bits_equal.hpp): bit-pattern equality for float/double arrays, so default-omission no longer drops a -0.0 element. (65755b0, generator#636)
  • RowSeq<C, Reader>: a collector for wrapper-array rows (array<array<string>>, array<array<struct>>, enum/bool rows). It applies §7.3 before the §5.1 index bound, then placement with gap fill, then §7.4 replace-whole. It replaces the per-field helper the generator emitted. (07ed40d, 44c58ef; generator#627, #629)

API_VERSION stays 1 and the test-vector file format is unchanged.

🤖 Generated with Claude Code

The git tag is the source of truth for the version; this brings every package
manifest in line with the v0.12.0 tag that follows.

Since v0.11.0 this library adds public API (IStreamInto, RowSeq,
sofab::bitsEqual, OStreamImpl::rejectArgument) and changes encoded output in
two edge cases (1f6ffe3, generator#656): FixedString::assign now clamps at a
UTF-8 character boundary, and InlineVector::push_back past N drops the new
value instead of overwriting the last one. Under the pre-1.0 rule a patch may
not change wire output, hence 0.11 -> 0.12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Andste82
Andste82 merged commit 9b5c999 into main Oct 20, 2026
9 checks passed
@Andste82
Andste82 deleted the release/v0.12.0 branch October 20, 2026 14:08
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