RIDDL 2.8.1 Released
RIDDL 2.8.1 is now available.
release riddl compiler
RIDDL 2.8.1 is now available. This release of the RIDDL compiler and language tooling includes the following changes:
What’s New
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. Amorphinon 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”), andsend … 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 inKeyword.allKeywords, the tokenizer’s keyword table and the EBNFreserved_wordrule, assumandotherwisealready do. Editors and tools that build their vocabulary fromallKeywordsnow 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