Skip to content

Releases: carvel-dev/ytt

v0.23.0

13 Dec 01:04
Compare
Choose a tag to compare
  • Added @ytt:library module to allow programmatic evaluation of libraries (doc)
    • This feature enables easier reuse of configuration when gluing multiple components together
    • See ytt library module example in the playground
f246ad0d41aff28fd2be1d2b95f2e974d6221bde869c9f430021a4f882822ee9  ./ytt-darwin-amd64
a6ef8df88c3b18044842c984f05d2e4472b3f354d42a63d3497757123e1fe108  ./ytt-linux-amd64
17a910e2857aac653b1c43709c71c7eaa64a40745cfe99603bb4935d0fcef220  ./ytt-windows-amd64.exe

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

v0.22.0

23 Oct 16:10
Compare
Choose a tag to compare
  • Support using annotations on data values documents for overlaying
    • specifically useful for @overlay/match-child-defaults (#65)
b9e1f2fcfc760fbb35967cafa82078bdf331c04a7b0dcb550cdbc2d8250e6308  ./ytt-darwin-amd64
7143f8c1300ae13fd7b5ed53abc02867a86b6329afaa85413eb767eddf189639  ./ytt-linux-amd64
1b09cb3a8cb346f853147da0b937685662113afdb63963deb055c6ef0dbce345  ./ytt-windows-amd64.exe

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

v0.21.0

23 Sep 21:04
Compare
Choose a tag to compare
  • Fix hasattr for data.values when key is not there (issue #56)
  • [experimental] Enhance strict mode to catch missing newline before document start
    • example of such mistaken YAML observed in the wild
05bc4510c3212d3926bf431456fdbeedf635158d4e0e225ec028dce71ff638d7  ./ytt-darwin-amd64
88c755c31a4d85d0bdb7a32e7ee34a93c45222a14f4f6204ce65e0da8875452f  ./ytt-linux-amd64
6197c5a0c19c96c3252b1dc548e2add4a6b52fb0340c784143c4e1749a7199c5  ./ytt-windows-amd64.exe

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

v0.20.0

29 Aug 18:56
Compare
Choose a tag to compare
  • Preserve Starlark map key order when converting to YAML
  • Add load statement docs
  • Add @overlay/match-child-defaults annotation to avoid verbose missing_ok=True
  • Add @ytt:url module to encode/decode URL components #52 (doc)
  • [experimental] Add ytt fmt
569191402672a42c5919feb1caad5a13fb41c01b2d849467211d32f66fd7d426  ./ytt-darwin-amd64
a5759302fe28157cda0c9015d41d1b6901f0f03ae184f168dd40521012426219  ./ytt-linux-amd64
f44f6a0644526a5dea3203030531f172de90633110320643b4f4ce23902ca35f  ./ytt-windows-amd64.exe

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

v0.19.0

21 Aug 18:34
Compare
Choose a tag to compare
  • Add struct.encode and struct.decode methods (doc)
    • May be useful when working with data.values to obtain plain map or list values
  • Add via=Function keyword arg for @overlay/replace annotation (doc)
    • Useful to programmatically build on old and new values being replaced
      • Example: overlay that prefixes values with some string
b64726d2ad5cb6edd31f4614f3e8bdb07bf6238466cd73a5104bc868afd04b70  ./ytt-darwin-amd64
9a2e5660db970c76a7cadfbcf145b65119854aa3f259550335ae8485a2b8f160  ./ytt-linux-amd64
6913debdbfa3e31fb158abbea51b45e61170f56571ccf33084471b8e47016752  ./ytt-windows-amd64.exe

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

v0.18.0

15 Aug 22:49
Compare
Choose a tag to compare
  • Add --allow-symlink-destination and --dangerous-allow-all-symlink-destinations flags
    • May be useful when ytt is used with bazel (bazel uses symlinks extensively)
    • Also useful for ytt -f config.yml=<(echo 123) as on Linux /dev/fd/x is a symlink
  • [breaking] Removed deprecated -R flag (-f has been recursive by default for some time)
812b19e007ff1e5a54a8923cd311b73a580ca823f60be53338addd2657d32212  ./ytt-darwin-amd64
86fdeb00432079209ddec7e2a780f8c8d3faa71dd9f87aed439bb134f0dcfb10  ./ytt-linux-amd64
9bed915a6d4c437d14ac7a85a1bb725f2d09c5eb9c233a6839849afb24b746b6  ./ytt-windows-amd64.exe

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

v0.17.0

14 Aug 23:24
Compare
Choose a tag to compare
  • [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)

v0.16.0

23 Jul 21:39
Compare
Choose a tag to compare
e6345524ca9229d42828a2cd700557ced1d61f00655a09c9e2f1535c49dfd52b  ./ytt-darwin-amd64
611f0d0113a5b003021294ba97fdd2db3da5e85f33dc79122eaea3128ebe7d89  ./ytt-linux-amd64
912ce7a5729c414786e6b7cb1c938b62f08693ee15dd0c4b95c451817740d763  ./ytt-windows-amd64.exe

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

v0.15.0

11 Jul 22:23
Compare
Choose a tag to compare
6dbed6e99643b28dcb9a19612a56d2d052a2ba2eace392b95892fef394103ecf  ./ytt-darwin-amd64
180e209f6c5a28726b3fe628aee3a6c2ec680b712591777af46b1721a98f04b1  ./ytt-linux-amd64
39e047ac7483e91a6f7271986e43effde45383790b3b14bb71dfa1d5cd186d4b  ./ytt-windows-amd64.exe

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

v0.14.0

03 Jul 00:38
Compare
Choose a tag to compare
  • Fixed --file-mark=file.txt:type=text-plain
  • Fixed --file-mark=file.yml:type=yaml-plain for templates that include text templates within strings
    • Example: key: (@= ... @) now will be kept as is
  • Added --output-type=yaml|json|pos flag to control how to print combined output
    • pos type is useful to determine what modified particular section of the file
5783352d5a4818549e48e4b1d9e18a5db55455b1597bc58c143992c596dfd1f4  ./ytt-darwin-amd64
20b644eea48c7580d9aa205378aef1211821e6a233d92cc8b1df26acf73773c6  ./ytt-linux-amd64
30a6547681049ff46d07b2b984af14a0e8931cf198a907f89c8cb68df6a927a6  ./ytt-windows-amd64.exe

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