release: dsc 0.8.1 - #107
Merged
Merged
Conversation
-(version): 0.8.0 -> 0.8.1, every workspace crate in lockstep. Two additions, both unblocking work downstream: Generic receiver methods (#101/#105). A receiver method can now be declared on a generic type, with the parameter bound by the receiver: fn (s Signal<T>) get() T. Before this, Signal<T> could hold a value and expose a field but could not have methods -- true of the data, false of the interface. This is what deka#771 needs to port ui/* out of hand-written JavaScript. bytes member catalog (#92/#106). bytes gets .length, and only .length. RFD 15 lists nine operations but never commits to member-access versus free-function shape, and that call belongs to deka#756 -- so this adds what was unambiguous and provably missing, and leaves slice/concat alone rather than shipping language surface ahead of its design. The bytes fix shrinks a ratchet: deka expected-failures.txt carries unsafe-textencoder-encode and unsafe-uint8array-literal against #92, and the lines come out when deka bumps its dsc pin past this release. Gate: cargo test --workspace, 34 suites, 0 failures.
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 — 9 commits since v0.8.0.
Two additions, both unblocking downstream work
Generic receiver methods (#101, merged as #105). A receiver method can now be declared on a generic type, with the parameter bound by the receiver:
Before this,
Signal<T>could hold a value and expose a field but could not have methods — true of the data, false of the interface. This is what deka#771 needs to portui/*out of hand-written JavaScript.Bounds are inherited from the struct declaration, so
struct Holder<T: Named>plusfn (x Holder<T>)still sees the bound; declaring parameters on both the receiver and the method is now an error rather than silently ambiguous.bytesmember catalog (#92, merged as #106).bytesgets.length, and only.length. RFD 15 lists nine operations but never commits to member-access versus free-function shape, and that call belongs to deka#756 — so this adds what was unambiguous and provably missing, and leavesslice/concatalone rather than shipping language surface ahead of its design.This one shrinks a ratchet
deka's
expected-failures.txtcarriesunsafe-textencoder-encodeandunsafe-uint8array-literalagainst dsc#92, with the removal condition recorded in the file. Once deka bumps itsscripts/dsc-versionpast this release, those two lines must come out — the runner treats a listed fixture that starts passing as a hard error. The fix has to prove it shipped.Gate
(First run failed on
node is required to execute emitted JavaScript—/usr/local/binis not on the non-interactive PATH. Environmental, not a product failure, and it was hiding in the tests that execute emitted JS, which are the most valuable ones here.)After merge
Tag
v0.8.1from main, verify by reading--versionoff the downloaded artifact, then bump deka's dsc pin.