YINI has seen quite a few updates across its ecosystem recently - not only in the format itself, but also in the parsers, CLI, testing, and developer tooling.
Here are some of the more notable changes.
YINI CLI: new get command
The YINI CLI now includes a get command for reading a single value directly from a YINI file.
For example:
yini get config.yini database.host
Enter fullscreen mode
Exit fullscreen mode
could return:
localhost
Enter fullscreen mode
Exit fullscreen mode
This can be useful in shell scripts, CI workflows, or whenever you only need one configuration value instead of processing the whole document yourself.
TypeScript parser: around 30% faster
The TypeScript/JavaScript parser has received a larger internal refactoring.
Parser results are now built during the parse-tree processing instead of in a separate step.
Local benchmarks on several larger workloads showed approximately 24-33% faster median parsing .
The parser's diagnostic handling has also been improved, making errors…