Skip to content

v0.17.0

Compare
Choose a tag to compare
@cppforlife cppforlife released this 14 Aug 23:24
  • [breaking] Switched --data-value and --data-value-env to interpret values as strings by default (doc)
    • to get previous behaviour use explicit --data-value-yaml or --data-value-env-yaml
  • [breaking] Changed --output to --output-directory flag, and --output-type to --output
    • this is more consistent with other common CLIs (e.g. -o json works as expected now)
  • [breaking] Disabled text templating in YAML strings by default (doc)
    • add @yaml/text-templated-strings annotation to enable text templating for a YAML node
    • this makes ytt compatible by default with YAML documents that use (@ in values, e.g. for JSON path
  • Added ability to use text templating in map item keys
    • now key_(@= i @): #@ i would work (though see item above on how to enable this)
  • Support specifying filename for piped files via ytt -f file.yml=<(...)
  • Improved error message for reserved keywords
  • Changed backtrace format in errors to show file pos on each shown line
  • Fixed use of annotations in a loop
  • [experimental] Add --strict mode for YAML parsing (doc)
  • [experimental] First pass at fixing YAML anchors with sequences
    • annotations do not quire work within anchored content
91a9dd9de10773b9f938e7b4e4f8169176caaff199d73cede67a07c96d4badd7  ./ytt-darwin-amd64
c7dbed3ce2008ee2fb5f2fadef999b3aa7853ff960daf9c3b8b54831b448effe  ./ytt-linux-amd64
e639909feba750726095282d9e4150f99ef5f81bf78facf1da44f2d53eca89f4  ./ytt-windows-amd64.exe

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