Repository navigation
Release 2.8.1
What's New
riddl 2.8.1 is a patch release. It fixes gaps found while ossum.tech and synapify adopted 2.8.0.
It is binary compatible with 2.8.0 (MiMa clean on all six modules), and the BAST format is
unchanged, so .bast files written by 2.8.0 still load.
Bug Fixes
entity-event-sourced-unread-historyfires again. Since 2.8.0,on initmustmorphinto
the entity's starting state. The advisory counted that creationmorphas a state transition,
so it could fire only on a model that also drew theentity-init-no-morphdeprecation. A
morphinon initchooses the first state rather than moving between states, so it is no
longer counted. The same fix applies toentity-crud-with-transitions-consumed, which used the
same count.on every <period>reports a period that is not a Duration.on every fortnightlynow reports the unresolved name (value-ref-unresolved). The
period ofon everywas never validated as a value, unlike the period ofsend … every.on every 5now drawshandler-every-not-duration("typed Natural, not Duration"), and
send … every 5drawsstmt-send-every-not-duration. A bare number used to pass in silence,
because the period check could not type it.
riddlc find -type on-everyand-type on-entrywork. Both kinds were produced by the
projection but missing from the vocabulary-typeaccepts, so the query was refused as
"unknown -type".
Improvements
cron,entry,everyandstartingare listed as keywords. They now appear in
Keyword.allKeywords, the tokenizer's keyword table and the EBNFreserved_wordrule, as
sumandotherwisealready do. Editors and tools that build their vocabulary from
allKeywordsnow see the 2.8.0 recurrence and state-entry words. All four remain legal
identifiers.
Internal
- New tests cover each fix, including some that do not depend on the riddl-models corpus.
- The corpus-driven
find -typevocabulary test could not catch these kinds, because no
model uses the new clauses yet, so it gained an inline model. - A riddl-models census of 191 entry points is identical before and after these changes, for
every rule in every model.
- The corpus-driven