Skip to content

Releases: carvel-dev/ytt

v0.30.0

06 Aug 14:50
Compare
Choose a tag to compare
  • Disable YAML line folding to avoid surprising users
  • Fix use of / within load paths on Windows
a1a56c3292e355b9891b2c4ce7525d78f0e1ffd8630b856d300e9a7f383e707c  ./ytt-darwin-amd64
456e58c70aef5cd4946d29ed106c2b2acbb4d0d5e99129e526ecb4a859a36145  ./ytt-linux-amd64
338648d23ca77aba4ea02d96fb17916245121e208f7631042337fad10e56ffc5  ./ytt-windows-amd64.exe

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

v0.28.0

11 Jun 22:20
Compare
Choose a tag to compare
  • [breaking] Rename --output-directory to --dangerous-emptied-output-directory flag (docs)
    • This was done to more clearly indicate that output directory is cleared before use
  • Add --output-files flag to write out output files into existing directory (docs)
  • Add when= keyword argument to overlay/match to conditionally match
  • Add ability to specify data values for libraries (docs)
  • Error if extra args are given to a ytt command
be16d964964d17b463984d72ed2ec62b691b675441b38ab3ed6ea97f3fc73645  ./ytt-darwin-amd64
52c36853999a378f21f9cf93a443e4d0e405965c3b7d2b8e499ed5fd8d6873ab  ./ytt-linux-amd64
5754d48571de4464fc61ad764e3023e0896f6a2db5567abfb8d89ddfc417dd62  ./ytt-windows-amd64.exe

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

v0.27.2

15 May 14:27
Compare
Choose a tag to compare
  • Provide actual scalar values to overlay/match matchers
    • Previously scalars were wrapped in yamlfragment (similar to maps, and arrays)
0e1ee9487e09ce2f2e18be6637f69e41af2158ff3cb53737d5607b55f0326659  ./ytt-darwin-amd64
64bcc36df4270e3413fd26b68683a353089c3b15c411904307e93c12f80556ab  ./ytt-linux-amd64
ae749687b5a076e0e8ac8c02620d018c65b0bebce29fe5a35f6db05f0a36ae4f  ./ytt-windows-amd64.exe

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

v0.27.1

09 Apr 01:56
Compare
Choose a tag to compare
  • Revert data.list() and data.read(...) breaking change introduced in v0.27.0
    • instead introduce data.list("/") and data.read("/...") to access content relative to library root
f1c86e48452e9e2be8ffa9ad0fb53bfcf431fd70821f9f261418a72844163d66  ./ytt-darwin-amd64
b53674a21d99576b8d69483113e1ec73d9a3ed7381170a421c9afcf8aa551f15  ./ytt-linux-amd64
319c1099a46732ce82e9755a25d9b18e1de3733e42ee374278bf4bdef440cee6  ./ytt-windows-amd64.exe

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

v0.27.0

08 Apr 17:09
Compare
Choose a tag to compare
  • Fix overlay.map_key() to be correctly equivalent to by="..."
  • [fix] [breaking] data.list() and data.read(...) return results in context of library root
    • potentially breaking as previously provided functions only iterated over "current" directory unlike data.values which was built based on data/values from the entire library
96cc4cd6131849964feebf0b82ed4302453af015a6b0edfb29a3af672ad6715d  ./ytt-darwin-amd64
addd3f27dbffca09a8c7e7610e48dc53d127b08a91eb2b1097544327a6629a8c  ./ytt-linux-amd64
d3332913be93caadfef4cec66bb360e67c5f61c656a788c8daa93178ff487de4  ./ytt-windows-amd64.exe

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

v0.26.0

06 Mar 18:41
Compare
Choose a tag to compare
  • 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)

v0.25.0

29 Jan 18:32
Compare
Choose a tag to compare
  • Improve 3 error messages when working with libraries and overlays
84a5aa9a9d5c3b67f21136542ecb73aa2c809298094fea21edffb4d2a0cb2f0d  ./ytt-darwin-amd64
2ccd2c74fea87748515ed3fd74cd45c31f91472fabadf42e6a958f52312e3b47  ./ytt-linux-amd64
e8d6cadb6b875adff3cc3bd33c5da82323466999511dcac28a04e1c895d05c8e  ./ytt-windows-amd64.exe

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

v0.24.0

07 Jan 22:34
Compare
Choose a tag to compare
dad9e162745fe2e394b3b8c798182357e5cb4caedba57d2ce0aafda6c6520418  ./ytt-darwin-amd64
c3f1d4f04108ac1626c9b9036c7d4e407d4ff09f2577953ad72b6dc7adadbd39  ./ytt-linux-amd64
871b096337ec54648dd8c9c5ff4d6ae3308036c07005eafa4d57d5a6ce0fdac6  ./ytt-windows-amd64.exe

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

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)