Skip to content

Release 4.6.0

Choose a tag to compare

@kaby76 kaby76 released this 21 Oct 13:26

Trash 4.6.0 improves trgen generation for directories containing multiple grammars and grammars that import other grammars.

Highlights

  • Honor top-level <grammar-files> in desc.xml for default tests. This lets caql select CaQL.g4 without applying its start_ entry point to the unrelated Metrics.g4.
  • Preserve per-test grammar and entry-point selection for cpp14 and cpp20.
  • Include imported grammars transitively when a descriptor selects grammar files, fixing generation for Hive v2/v3 where HiveParser.g4 imports three additional parser grammars.
  • Update desc.xsd for descriptor grammar-file selection and add caql, cpp, and Hive v2 regression fixtures and C# driver-generation tests.
  • Update tool versions, project metadata, the local tool manifest, and release scripts to 4.6.0.

Validation

The trgen test project passed all 12 tests. Dependency generation for Hive v2 and v3 resolved all six grammars.