Skip to content

Releases: carvel-dev/ytt

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)

v0.13.0

21 Jun 00:22
Compare
Choose a tag to compare
  • Support specifying multiple data values (within one file or multiple files)
  • Support templating inside data value files (however, data.values is null because it was not yet resolved)
  • Make overlay order more explicit (documented here)
  • Add --files-inspect flag to display file order (order matters for merging data values and overlays)
c786ce096e1281c57c573f1bb4abc1082537e05a41e8918b07b4c38e84676793  ./ytt-darwin-amd64
5875054e5beb46b9085a9fccbf32496d5f3f026c5bdfdd9fcc04414f0f8b0872  ./ytt-linux-amd64
90ca2bca9068b7c294249ab8c5c72ff3ac0b6c692d922e92e3a8ced39852628f  ./ytt-windows-amd64.exe

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

v0.12.0

13 Jun 23:43
Compare
Choose a tag to compare
  • Add --ignore-unknown-comments=bool flag to configure whether unknown comments are considered as errors
    • This should make ytt more interoperable when working with existing YAML files
  • [breaking] Renamed ytt playground command to ytt website to be consistent with other k14s tools
7693a957124f73c610f48f39151a5fdacc2246f90be9309e9c67c5405cf9c8cc  ./ytt-darwin-amd64
9b9dc910b7097c72cfc63df8e1257ae15105dccff1094119909fd834730e0478  ./ytt-linux-amd64
1d994a824eb6d8bf4d5b638caf91c1ae93a183c049bc193c9939d520a42be2b6  ./ytt-windows-amd64.exe

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

v0.11.0

23 May 06:46
Compare
Choose a tag to compare
  • Make template command top level
    • Now supports ytt -f ... in addition to ytt template -f ...
4966b6b3ffc7691a06fd7e183a623a2dc77cd8f7725ce7a843a8829500587c5b  ./ytt-darwin-amd64
08b25d21675fdc77d4281c9bb74b5b36710cc091f30552830604459512f5744c  ./ytt-linux-amd64
0a5376f97acad9f395f89e756b174968040a1faa122a703d55c356a75de1a2b5  ./ytt-windows-amd64.exe

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

v0.10.0

13 May 22:06
Compare
Choose a tag to compare
  • Deprecate -R flag, and allow use of directories by default
  • Fix use of --data-value flag with values that include commas
2850480a1836b969978cfa32ca2080508bd93c7705f8f267d6aeb01c6bbca114  ./ytt-darwin-amd64
5994d7a3a1692193ccad194614fda2d7b30b0c906a4ab47e5e2e989b0464af2d  ./ytt-linux-amd64
c0d4a5a5fb95180903b569a3bb094fdc3142150f968c1dd97359dd48d9c7e392  ./ytt-windows-amd64.exe

v0.9.0

09 May 21:56
Compare
Choose a tag to compare
  • template command
    • Fix setting nil data values via --data-value flag
    • Add --data-values-inspect flag to list data values that will be available to templates
    • Add -v as a shorthand for --data-value flag
183f8e2ac58c7ddc69804d775dc6ada08e4d9e57fb4aa9006dc53f015a6cd842  ./ytt-darwin-amd64
f1bccd1dcc3410099f883d9d7ba91bf49f0b096202af9c114d7450028a96c24b  ./ytt-linux-amd64
9aa12b4a1aa15ed114fa32ef463de08da65584506093bc1a8009b4efe3d41715  ./ytt-windows-amd64.exe

v0.8.0

07 May 22:39
Compare
Choose a tag to compare
  • template command
    • Added support for --data-value flag and friends to set data values from command line or environment variables (docs)
      • Example: ytt t -R -f config/ --data-value push_images=true --data-value push_images_repo=docker.io/dkalinin
15fc83ce80eac8d594495c768972492fc5b977cb71ee2d4429788e9e893d47ea  ./ytt-darwin-amd64
41de73008f81e2b072718557689f109087fc64911281fa2b569a4fc6d3d88cf4  ./ytt-linux-amd64
c08ae79ee7b76ccadf732168ffac0ba7c35df6e721f342f825e75621c8506fed  ./ytt-windows-amd64.exe