Skip to content

Releases 0.46.0 - #785

Merged
johnnyt merged 3 commits into
mainfrom
sb-z43d-release-0-46-0
Nov 20, 2026
Merged

johnnyt merged 3 commits into
mainfrom
sb-z43d-release-0-46-0

Conversation

@johnnyt

@johnnyt johnnyt commented Nov 20, 2026

Copy link
Copy Markdown
Member

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

  1. Says Back does nothing with nothing behind it - 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 reads "does nothing when nothing is behind it".
  2. Names the instances a returnable type moves - the ratchet fragment said declaring a type returnable moves "every document using a block of that type"; returnable?/1 takes 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.
  3. Releases 0.46.0 - the release commit:
    • @version in mix.exs and @compiler_version in lib/statifier_blocks/compiler.ex to 0.46.0;
    • the README install pin to ~> 0.46.0;
    • the fragments sb-1ajf, sb-1otr, sb-3pyg, sb-53vv, sb-7622, sb-et1o, sb-jy3g, sb-pkr8 and sb-xjky promoted into a ## [0.46.0] 2026-11-20 section of CHANGELOG.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.md kept;
    • a "0.45 to 0.46" section on 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's chart_from and the child_outcome_undeclared refusal of a chart_from child, the optional returnable?/1 callback, the trail and Back on the reserved event statifier_blocks.back, core.checkpoint, and StatifierBlocks.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:

  • the subchart refusal set gains child_outcome_undeclared (reached only from a chart_from child, which 0.45.0 could not express);
  • the reserved event statifier_blocks.back;
  • the core type core.checkpoint (the core palette's manifest gains {"core.checkpoint", 1}, the shipped block document schema a definition, the default icon set a flag glyph).

Checks on this tree

  • Compiler version and hashes: test/statifier_blocks/compiler/compile_ratchet_test.exs and test/statifier_blocks/core/subchart_bytes_test.exs pass on the bumped tree; the bump moves no pinned compiled bytes or chart identity.
  • Changed answers since v0.45.0: every change under lib/ and priv/ between v0.45.0 and main is named by one of the promoted fragments; nothing else answers differently.
  • Every fragment bullet is in the new section byte for byte (each bullet matched as a whole line against the promoted file).
  • Full mix quality green on the committed tree: 4,807 tests passed, 95.5% coverage, Dialyzer, Credo, docs, doc links and ADR cites clean.
  • No dependency change.

Provenance

  • The release extension's table of files a release commit touches lists mix.exs, README.md, compiler.ex, CHANGELOG.md and the fragments; this commit also touches docs/upgrading.md, following the most recent release prep (0.45.0), which the extension names as the evidence where the two disagree.

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
@johnnyt
johnnyt merged commit 5858bd3 into main Nov 20, 2026
2 checks passed
@johnnyt
johnnyt deleted the sb-z43d-release-0-46-0 branch November 20, 2026 17:16
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