Skip to content

0.4.0

Choose a tag to compare

@hernancerm hernancerm released this 04 Jan 02:26
· 39 commits to main since this release

Changelog

[0.4.0] - 2025-01-04

πŸš€ Features

  • [breaking] The config file param test_cases is now an associative array. Keys are test case names, values are commands.
  • Accept a dir as the config file. In this case, the config file is assumed to be config.zsh within the dir.
  • Set run as the default sub-command for the form zgold <config-file> [<sub-command>].
  • The config file now accepts an optional associative array parameter pre_diff_hooks.
  • Exit with proper exit codes. The exit code is the total of failed test cases.
  • Option -d <dir...> to execute the run sub-command on each dir.

πŸ› Bug Fixes

  • Create golden file if it does not exist.

πŸ’Ό Other

  • Makefile over shell script.
  • Compile on install using zcompile.

🚜 Refactor

  • [breaking] Drop sub-commands run-all and patch-all.

πŸ“š Documentation

  • Small README update.
  • Cleanup Markdown docs.
  • (develop.md) Add guidelines.
  • (--help) Default sub-command.

πŸ§ͺ Testing

  • Flatten test dir structure.

Full Changelog: 0.3.0...0.4.0