RIDDL 1.23.3 Released
RIDDL 1.23.3 is now available.
release riddl compiler
RIDDL 1.23.3 is now available. This release of the RIDDL compiler and language tooling includes the following changes:
What’s New
What’s New
Bug Fixes
- Missing closing brace no longer crashes the error reporter. A parse failure at end-of-file (the typical “missing
}” case) previously caused tworequirecalls inRiddlParserInput.annotateErrorLineto throwIllegalArgumentException: requirement failed: fail: N >= N+1, which the outer driver wrapped as[severe] Exception Thrown, hiding the real cause. Thoserequires were over-strict — the downstream slicing already clamps viaMath.min— and have been removed. The parse failure now surfaces as a normal[error]with file location, line/column, and the expected-tokens set (which includes}).
Internal
- Regression fixtures
language/input/riddl-bad/{badDomain,badEntity}.riddlchecked in (3 opens / 2 closes by design).TopLevelParserTestadds a regression case that parses them viaparseURL, asserts noSeveremessage is produced, and verifies the resultingErrormentionsbadEntity.riddland lists}in the expected-tokens set. ebnf_tatsu_validator.pyandebnf_validator.pyaddbadEntity.riddltoINCLUDE_FRAGMENTSso the ebnf-grammar-validation CI job skips it (it’s a context-level fragment that cannot be parsed standalone, by design).
Notes
- 1.23.2 was tagged locally but its publish failed mid-way due to a Scala 3.8.3 scaladoc race condition under parallel
doctask execution, leaving partial artifacts on GitHub Packages. The 1.23.2 tag was never pushed and no GitHub release object was created. 1.23.3 supersedes it; the orphaned 1.23.2 Maven artifacts can be ignored or manually purged. - 1.23.3 itself initially hit the same scaladoc race during
sbt clean test publish; the missingriddlLibNativeartifact was published with a follow-upsbt riddlLibNative/publish. A follow-up build improvement (build docs sequentially, or otherwise serialize the scaladoc invocation) is warranted to make full parallel publish reliable.