Skip to content

Release v1.6.3

Choose a tag to compare

@github-actions github-actions released this 29 Jul 07:51
· 89 commits to 9fdb6ab7a8fd5af985ddda0b64782f984f73afb8 since this release

Added

  • A general @ escape for names that collide with a directive keyword. @tag TagType declares a property called tag, @authorize AuthorizationCode a property called authorize, @validate an enumeration value called validate, and @key = x a projection mapping onto key. The escape already existed in projections and now works for property lines, property mappings, enumeration values and projection from mappings everywhere. (#27)

Fixed

  • A command property named description, validate, handler or concurrency no longer fails to compile. Those directives take no operand, so a line with property shape is now read as a property; description "..." and validate csharp keep their directive meaning. (#27)
  • tag TagType in an event body no longer silently becomes a static tag and drops the property — it still declares the tag, but the compiler now warns that the line does not declare what it looks like and points at the @tag escape. (#27)
  • A bare validate in an enumeration concept no longer silently becomes an empty validate block that swallows the value — it still opens the block, but the compiler now warns and points at the @validate escape. (#27)
  • The printer re-escapes names that collide with a directive keyword, so a document containing them survives print, compile and reprint. (#27)