Repository navigation
Version Packages - #3
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
tegami/version-packages
branch
from
October 22, 2026 23:08
6943071 to
e9f043d
Compare
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.
Summary
All bumped packages.
@streamsy/core0.4.00.5.0@streamsy/projection0.4.00.5.0@streamsy/serve0.4.00.5.0@streamsy/storage0.4.00.5.0Changelogs
state-control-messages.mdShow Bumped Packages (4)
npm:@streamsy/corenpm:@streamsy/projectionnpm:@streamsy/servenpm:@streamsy/storageDurable State control messages
Breaking change: the item type of a State address now includes control messages. Code that reads
type,keyorheaders.operationfrom a State item must narrow the item first.A State stream can now hold the control messages of the Durable State protocol:
snapshot-start,snapshot-endandreset. Before this release,StreamAddress.statefailed to decode a stored control.Streams.decodethen failed the whole batch with aDecodeFault, and a follow or projection on that address stopped.StreamAddress.statedecodes and encodes controls. The items of aStateAddress, aStreamsy.stateroute andServe.statehave the new typeStreamAddress.CollectionsEvent<C>. That type isCollectionsChange<C> | StateControl. It wasCollectionsChange<C>.StreamAddress.isControlandStreamAddress.isChangenarrow an item.StreamAddress.reset(),StreamAddress.snapshotStart()andStreamAddress.snapshotEnd()make a control. Each one takes an optional{ offset }.StreamAddress.stateControlis the codec for one control.StreamAddress.stateChangestays the codec for the changes of one collection.DurableState.changesand projection outputs acceptDurableState.Entry<C>, which is a row change or a control. A control is written unchanged. With anoffset, a control that has no offset gets that offset.Serve.stateserves stored controls as they are. It still refuses thex-streamsy-state-reset: snapshotrequest header.To migrate a reader that folds State items, skip controls or handle them:
Publish
The following packages will be published if merged:
@streamsy/core0.5.0npm@streamsy/projection0.5.0npm@streamsy/serve0.5.0npm@streamsy/storage0.5.0npm