Skip to content

Version 1.1.0 - bac d'Eloka

Latest

Choose a tag to compare

@denismerigoux denismerigoux released this 29 Jan 08:15
· 53 commits to master since this release
186c56a

Version 1.1.0 - bac d'Eloka

With this release, we begin a new tradition of naming releases with famous court cases in French administrative law. The Bac d'Eloka case sets a distinction between administrative public services and public services that have and industrial and commercial aspect.

As always, all the features are documented in the Catala book.

New features

Testing integration within the VSCode IDE

The Catala language server now fully integrates with the "Testing" pane of the VSCode IDE, showing :

  • the list of available tests;
  • which tests pass or not after a run;
  • failed assertions and more.
Capture d’écran du 2026-01-27 11-39-46

Test UI

The Catala language server now features a fully-fledged UI for creating and editing tests! Activate it by creating a file containing test in the name, right click "Open in Catala test editor"! Make sure the GUI editor is enable in the VSCode extension settings.

Capture d’écran du 2026-01-27 11-51-40

JSON inputs and outputs

You can now pass JSON inputs to clerk run when running a scope! Useful for debugging and prototyping; we advise you use proper test declarations as Catala scopes most of the time though, to benefit from all the integration and tooling we already have around them.

Fixes and small improvements

  • Assertions can now be used anywhere inside of expressions
  • Error messages can be added using the #[error.message = "Some message"] attribute
  • You can now have enumerations with hundreds of different cases, and no bug will occur in the backends.
  • The Python backend produces more readable code and avoids if pattern nested too deeply.
  • Files with extensions .catala_en.md and .catala_fr.md are recognized as valid Catala files, while being read by most tools as Markdown files.
  • A warning now shows up if you copy/paste a scope variable definition without editing it.
  • External modules now support externally-defined types.
  • The test UI now has a tabular editor for values who are lists.

Contributor's log

See also the catala-language-server sister release for the contributor's log of the other repository.

New Contributors

Full Changelog: 1.0.0...1.1.0