Skip to content

v0.26.0

Choose a tag to compare

@cppforlife cppforlife released this 06 Mar 18:41
  • Add examples/helm-ytt-post-renderer
  • Add a proposals folder with some notes about first proposal: schemas
  • Support accessing yamlfragments with accessors similar to maps and arrays (docs)
  • Allow to access to yamlfrag functionality within overlay/match or overlay/replace
  • Fix panic on errors from line 1 of .star files
  • Error early if a @ytt library module is not found
  • Add ytt library for asserting on minimum ytt version (docs)
  • Plumb matching multiple map items (docs)
  • Support + to indicate missing_ok within data values passed in via cmd line args
  • Use overlay/replace for each data value specified in cmd line or env var
  • Add overlay.(and|or|not)_op to support basic logic operations
  • Allow process substitution as file input on linux even though it is a non-existent symlink
  • Support various output formats via -o for --data-values-inspect and --files-inspect results
  • Switch to go modules
  • Add --version flag in addition to version cmd
  • --output-directory flag now creates destination directory entirely before creating it again

Improvements to error messages:

  • hint user at upgrading ytt if builtin ytt library module is missing
  • hint about having extra end keyword
  • hint problem with null/nil/none vs None
  • hint at missing ":" after if/for/def
  • hint problem with true/false vs True/False
  • improve error message for loading non-library files
  • hint at getattr(...) for struct field programmatic access
  • when overlay fails expectations, report position of matches
  • improve text templating error message hinting to use str(...)
9275cd3033ec0276d0428cb73d4b5de87720491fc3261a1183a14d9344d8bfc6  ./ytt-darwin-amd64
ea740f72a1825c00eabf83bfd6cb366adf4b2486992603d6850fac8487e92d8f  ./ytt-linux-amd64
1bc2d856ebc5b3d4085fbf470b5793ddc551dff9325458d801e4b9202c2fbb20  ./ytt-windows-amd64.exe

(Installation instructions: https://k14s.io/#install-from-github-release)