Skip to content

Release 2.8.5

Choose a tag to compare

@reid-spencer reid-spencer released this 23 Nov 20:46
· 3 commits to main since this release

What's New

Improvements

  • A delegating create no longer draws a false unused-id warning, as long
    as every sender takes the answer.
    Since 2.8.4, a creation clause can
    settle yields X by createing an entity whose on init publishes X.
    Once the clause's redundant yield was deleted, the let binding the new
    id was read by nothing, so stmt-initiate-id-unused fired at every such
    site. But the id is not lost: on init puts self.id in the creation
    event, and that event reaches the senders.
    • When the warning is now exempt: only when every sender of the command
      has an explicit clause handling the creation event.
    • Who counts as a sender: any processor that sends or tells the
      command, and also any context whose group input acquires it.
    • on other does not count as handling the event.
    • When it still fires: the warning now names the senders that lack the
      clause, or says that nothing sends the command, so the author does not
      have to find them.
    • Unchanged: create stays a value.

Internal

  • Census. On riddl-models with the 2.8.4 yield deletions applied,
    stmt-initiate-id-unused drops from 43 to 39. Each of the 39 names an
    application context that issues the creation command from a group input
    but has no clause for the creation event.
  • No grammar, BAST or JSON change. FORMAT_REVISION stays 39.