Repository navigation
chore(release): 0.12.0 - #155
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version bump only: every package manifest brought in line with the
v0.12.0tag 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::assigncuts at a UTF-8 character boundary. An overlong value is still clamped toNbytes, but the cut moves back to the start of the character that would not fit whole. Before,"xxxé"intoFixedString<4>kept"xxx\xC3", which the strict-UTF-8 encoder then refused. Now it keeps"xxx"and encodes.InlineVector::push_backpastNdrops the new value and keeps the held ones. Before, it overwrote the last element.New
IStreamInto:IStreamObjectwithout the owned instance. It decodes into a message the caller owns, so a generatedtry_decodebecomes 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(): latchesInvalidArgumentso generatedserialize()can refuse a value past a schema-only bound (maxlen, count). It is the encode-side counterpart ofIStreamImpl::invalidate(). (1f6ffe3)sofab::bitsEqual(new headerbits_equal.hpp): bit-pattern equality for float/double arrays, so default-omission no longer drops a-0.0element. (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_VERSIONstays 1 and the test-vector file format is unchanged.🤖 Generated with Claude Code