Repository navigation
Releases 0.46.0 - #785
Merged
Merged
Releases 0.46.0#785
Conversation
The back transition's fragment said Back takes no transition when nothing is behind it. Inside a step the targetless catch-all is the transition selected, and it does nothing, so the bullet now reads "does nothing when nothing is behind it". Refs: sb-z43d
The ratchet fragment said declaring a type returnable moves the bytes and chart identity of every document using a block of that type. returnable?/1 takes the block's config, so only an instance that answers true is a returnable step; the bullet now names those documents, as ADR-0004's L8 and ADR-0002's C12e phrase it. Refs: sb-z43d
Bumps @Version and @compiler_version to 0.46.0 and moves the README pin to ~> 0.46.0. Promotes the nine changelog.d fragments into a 0.46.0 section of CHANGELOG.md, dated 2026-11-20, under a lead paragraph with its upgrading note, then Added and Changed, in fragment-name order and byte for byte, adds the version's link reference, and deletes the promoted fragments. Adds a 0.45 to 0.46 section to the upgrading page and moves the page's title and its README link to 0.46. 0.46.0 is a minor because it adds surface (core.subchart's chart_from and its child-outcome refusal, the optional returnable?/1 callback, the trail and Back on the reserved event statifier_blocks.back, core.checkpoint, and StatifierBlocks.Runtime.Back.offered?/3) and changes one answer a host opts into: declaring a type returnable moves the bytes and chart identity of every document using an instance that answers true, once. A document with no returnable step compiles to the bytes and chart identity it compiled to on 0.45.0; the compile ratchet and the subchart byte pins pass on this tree. Refs: sb-z43d
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.
Release prep for statifier_blocks 0.46.0. The merge, the tag and the publish are not part of this PR: once it is on main, v0.46.0 is tagged at the merge commit and the release workflow publishes on the tag push.
Commits
returnable?/1takes the block's config, so it now reads "every document using an instance that answers true", as ADR-0004's L8 and ADR-0002's C12e phrase it.@versioninmix.exsand@compiler_versioninlib/statifier_blocks/compiler.exto 0.46.0;~> 0.46.0;sb-1ajf,sb-1otr,sb-3pyg,sb-53vv,sb-7622,sb-et1o,sb-jy3g,sb-pkr8andsb-xjkypromoted into a## [0.46.0] 2026-11-20section ofCHANGELOG.md, under a lead paragraph that carries the upgrading note, then Added and Changed, in fragment-name order and byte for byte, with the version's link reference; the promoted fragments deleted,changelog.d/README.mdkept;docs/upgrading.md(chart_from, the returnable callback and its one-time hash move,core.checkpoint), with the page's title, its pin list and its README link moved to 0.46, as the 0.45.0 prep did for its own minor.Why a minor
Added:
core.subchart'schart_fromand thechild_outcome_undeclaredrefusal of achart_fromchild, the optionalreturnable?/1callback, the trail and Back on the reserved eventstatifier_blocks.back,core.checkpoint, andStatifierBlocks.Runtime.Back.offered?/3. Changed: the one answer a host opts into, the bytes and chart identity of a document using an instance its type declares returnable, moved once when the declaration is added.New members of closed vocabularies a host may pattern-match:
child_outcome_undeclared(reached only from achart_fromchild, which 0.45.0 could not express);statifier_blocks.back;core.checkpoint(the core palette's manifest gains{"core.checkpoint", 1}, the shipped block document schema a definition, the default icon set aflagglyph).Checks on this tree
test/statifier_blocks/compiler/compile_ratchet_test.exsandtest/statifier_blocks/core/subchart_bytes_test.exspass on the bumped tree; the bump moves no pinned compiled bytes or chart identity.lib/andpriv/between v0.45.0 and main is named by one of the promoted fragments; nothing else answers differently.mix qualitygreen on the committed tree: 4,807 tests passed, 95.5% coverage, Dialyzer, Credo, docs, doc links and ADR cites clean.Provenance
mix.exs,README.md,compiler.ex,CHANGELOG.mdand the fragments; this commit also touchesdocs/upgrading.md, following the most recent release prep (0.45.0), which the extension names as the evidence where the two disagree.