Releases: carvel-dev/ytt
v0.44.0
✨ What's new
- Store the replace and insert annotations' "via" kwarg as callable
- Feature overlay/insert
- Optionally, overlay/insert via function #742.
- Document ytt overlay/insert via #553
- Allow FileTests to have trailing empty lines
🔈 Callouts
Thanks to
- Max Brauer @mamachanko
For helping out with this release
📂 Files Checksum
30ba799b1ba4843e08c801d50aa01fac8bcfc497687157c675ab6a9712251885 ./ytt-darwin-arm64
4d36b859c01d9899e87a65e5533cb37ab62b17ee8120dd0454b417608130e431 ./ytt-linux-arm64
984b1a05456712e979dfdd11cf12fc88539ea084c74b3316ef00ec408d37ab01 ./ytt-windows-arm64.exe
a50a8065c6d80226aa979bb708992ca4da9dd2ec2df2c6c4d5c6e9b4b9f3e6f8 ./ytt-darwin-amd64
b186ed56460183726d2a1615eedddf3cb329db54aca0e83eb004ea297d654383 ./ytt-windows-amd64.exe
b3fbce9c6828c7eea09491c24fe49ddba7afe09e4405db33373d2776c91b1e6c ./ytt-linux-amd64
Changelog
cecc394 Add example to FileTests doc
1382156 Add linter-required package documentation
46dfd50 Add required license header
d267887 Allow FileTests to have trailing empty lines
e27c6be Build(deps): Bump github.com/BurntSushi/toml from 1.1.0 to 1.2.0
3720454 Build(deps): Bump github.com/BurntSushi/toml from 1.2.0 to 1.2.1 (#754)
5bc1d94 Build(deps): Bump github.com/aws/aws-lambda-go from 1.32.1 to 1.34.1
4909392 Build(deps): Bump github.com/aws/aws-lambda-go from 1.34.1 to 1.35.0 (#767)
18530fe Build(deps): Bump github.com/hashicorp/go-version from 1.4.0 to 1.6.0
ea52e9d Build(deps): Bump github.com/spf13/cobra from 1.5.0 to 1.6.1 (#757)
e9c2b3e Build(deps): Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 (#755)
4298169 Ensure "contract test" updates dependencies
7c8390e Merge pull request #699 from vmware-tanzu/dependabot/go_modules/github.com/hashicorp/go-version-1.6.0
ccfae42 Merge pull request #708 from vmware-tanzu/dependabot/go_modules/github.com/BurntSushi/toml-1.2.0
e1e9a82 Merge pull request #713 from vmware-tanzu/dependabot/go_modules/github.com/aws/aws-lambda-go-1.34.1
edd111f Merge pull request #742 from mamachanko/insert-via
bfc92d2 Merge pull request #745 from mamachanko/filetest-err-trim
486de37 Optionally overlay/insert via function
d413e22 Store the replace and insert annotations' "via" kwarg as callable
09be3d5 update go mod (#768)
v0.43.2
✨ What's new
- Bump go version 1.19.5 for CVE fix by @kumaritanushree in #793
- Org and repo name updated by @kumaritanushree in #803
Full Changelog: v0.43.1...v0.43.2
📂 Files Checksum
031a96a49417c13a2aee3aeabc9157559e0cbb1dd94abf3e18e3defdc89ca6f6 ./ytt-linux-arm64
27f2e5ce9b27f658cf35c3244ebdffb65cef4951bbf85161f4cb12609c36ba5c ./ytt-linux-amd64
692f73d585c5663e6146606557f8d75aa81f84be987b42715a7b34928599fa5f ./ytt-darwin-amd64
7fce57060c5ef52d712b4ad298928005b0605b1e3c5a43c30215cd7b0a56bb5c ./ytt-windows-arm64.exe
993c9a34af996ba664d360e4488b9d5f8169c1d918ac04a549db4d10259d1bd0 ./ytt-windows-amd64.exe
bc32b531d19ac034b6164d1ef04e24d923ee819bd693107b08db948a38bb6d6e ./ytt-darwin-arm64
v0.43.1
✨ What's new
- Bump Go version to 1.19.3 and fix CVE's in #780
📂 Files Checksum
04a00467c64fc70a6f55cf355d0603b21667b0c47164a6a5f8dd7492de47955b ./ytt-linux-amd64
110c7f941e1b39df32f6765260054d23e0654206d559e1bc816c8cd5404886d5 ./ytt-darwin-arm64
49e96937c176d5911e3292417bd3215f9fa0cf496dae15afe34513f536c72d6f ./ytt-windows-amd64.exe
512389edad7c66bd9ef282d2607f88911ad9efc5b4e00631cdf9fbbe352f9da1 ./ytt-windows-arm64.exe
6919e680fb11b62a44b20201ed6346457d5166fcfa7681df9fff7c3c94739361 ./ytt-darwin-amd64
debe704eac68afdd14694db23da130b5c54791063e3f3812b2754a3811d4911a ./ytt-linux-arm64
What's Changed
Full Changelog: v0.43.0...v0.43.1
v0.43.0
✨ What's new
- 🎉 ytt Data Values Schema Validations are Generally Available (GA) docs
- includes a quick reference guide (cheat sheet) of commonly used validations
validations
experiment has been removed fromYTTEXPERIMENTS
- includes improvements, users on v0.42.0 are encouraged to upgrade
🐛 Bug Fixes
- fixed a bug where adding a new file sometimes broke the playground #404
🔈 Callouts
Thanks to all who participated in our usability testing of Validations:
- Clemens Kolbitsch @clemenskol
- Jay Vyas @jayunit100
- Pradnya Dixit @dpradnya
- Robert Van Voorhees @voor
- Scott Rosenberg @vrabbi
- Vijay Katam @vijaykatam
And those who contributed to the design of the feature:
- Jorge Morales Pou @jorgemoralespou
- Mauren Berti @stormqueen1990
And our alumni who contributed to this feature (we miss you!):
- Cari @cari-lynn
- Garrett Cheadle @gcheadle-vmware
Changelog
cfad249 Allow when= to access value, parent, and root nodes
35180a9 Give validation rules priority and severity
2231ea6 Merge "any" and "null" types when both are present
a787f84 Merge pull request #720 from vmware-tanzu/jk-playground-fix-just-the-diff-man
3a11c01 Merge pull request #729 from vmware-tanzu/711-run-not_null-first
fe9ac47 Merge pull request #730 from vmware-tanzu/722-missing-key-same-as-null
69e2bb5 Merge pull request #735 from vmware-tanzu/723-allow-any-type-and-nullable
b80f736 Merge pull request #736 from vmware-tanzu/712-encode-yamlfrag-in-violations
88974fb Merge pull request #737 from vmware-tanzu/732-remove-when_null_skip
1c80040 Merge pull request #741 from vmware-tanzu/733-use-named-params-for-validation-when
b3ed8cd Omit actuals from violation and encode rule config
04f9ab6 Preserve original order of rules as we sort
ab48082 Provide context nodes through an optional struct
bbb155a Ref nodes by full path in violation messages
c035955 Reformat validation violation messages
f5ffa14 Remove "validations" experimental flag
3a85263 Remove unnecessary when_null_skip= keyword argument
d552051 Removed redundant test
6ee7c51 Update backlog link
88c3f70 Update shared docs (#739)
5d62146 assert.one_not_null() treats missing keys as null
83a1687 local playground website: smallest diff that probably fixes config box filenameing
ea990b8 use pull_request_target to allow access to secrets
📂 Files Checksum
29e647beeacbcc2be5f2f481e405c73bcd6d7563bd229ff924a7997b6f2edd5f ./ytt-linux-amd64
48fc4eefe553262dac4b848ba97332f00431fe23a8108aedbf0f23ff4be2087e ./ytt-windows-amd64.exe
579012ac80cc0d55c3a6dde2dfc0ff5bf8a4f74c775295be99faf691cc18595e ./ytt-darwin-amd64
62b8b0698bb9a88d5cfb91ed2f42853dff4f6b4f59f61036df07ad38ca10267b ./ytt-linux-arm64
b7b3e561ad65978000f3b1494492e1527c8d3f67aca14a7197470600cd8f71fe ./ytt-windows-arm64.exe
bd8781e76e833c848ecc80580b3588b4ce8f38d8697802ec83c07aae7cf7a66f ./ytt-darwin-arm64
v0.42.0
✨ What's new
- ytt Validations (experimental), now with half-a-dozen out-of-the-box validation rules:
- Blog: Preview of ytt Validations on how to get setup with this feature.
- see all available rules in the docs.
- new module:
@ytt:math
supporting floating-point functions docs.
🐛 Bug Fixes
- [library] panic when exported function contains a syntax error #156
- Better handling of HTTP-sourced files #682
🔈 Callouts
Special thanks to:
- @Hugal31 et al for the adaptation of Starlark's math module to ytt.
- @larssb for contributing example of using ytt to enhance a Helm Chart.
- @vicmarbev for improving ytt's HTTP error response handling (when loading resources).
📂 Files Checksum
7278a492a5d195747169a8246103b1e07daa3edd815ce1ba7d17ef463b5e6974 ./ytt-windows-amd64.exe
aa7074d08dc35e588ab0e014f53e98aec0cfed6c3babf8a953c4225007e49ae7 ./ytt-linux-amd64
bb4af075d83ccd191ac9e5f78b46c404fd4743bdf3be469b497095b3c0fe8301 ./ytt-windows-arm64.exe
c792f769e61bbd1322783c04603f443bf1f2a079a840d406ec2c91160534e49e ./ytt-darwin-amd64
cacbd9f47db050734c9eb4ddebd349dd4e884e50731fd9fadabbdda45c9ce2a2 ./ytt-darwin-arm64
f7cdcef8dc8e97f412a2d52b9d47da7cfa02612899d68c567a475d6985f56d9a ./ytt-linux-arm64
v0.41.3
✨ What's new
- Bump go version to 1.19.3 and fix CVE's in #779
Full Changelog: v0.41.1...v0.41.3
📂 Files Checksum
568060ea2a83610a7c55df72bf20db8d5ce3fb144d5ac80b0898b8cd9461e648 ./ytt-windows-arm64.exe
5c89bdcd0f2de06c0c6be88d6e8f4964b43c088e03155a26785a785a5a6906a4 ./ytt-windows-amd64.exe
b7361f9dd168c108cbc85fa5c91c3f5982967e756196f00b5a567150779a1501 ./ytt-darwin-arm64
b8e9dbba9d84a6bdf2997192b4d9d24094897727fc02c790bf53bcae3d157ef4 ./ytt-darwin-amd64
deb0141b7b877f4af65d2df28c80b3eebc5acb451e9c8a1ca6d447bdd4535e8c ./ytt-linux-arm64
f5c6fcffad851742e0301ba77ae417a7c2c7e85d91a354b49ccc5d66a971ad88 ./ytt-linux-amd64
v0.41.1
🐛 Bug Fixes
- Fix regression of
--data-value-file
flag (#680)
📂 Files Checksum
3eaa8fcb3526a2a305a4845196bbffe7e1b0f3ea57fcd90daad94c855139df86 ./ytt-linux-arm64
460bd29d673fd31eb98b44126527b95d99f18b37a0cb0948cd518e772f24b2cd ./ytt-windows-arm64.exe
4d1e9152d9fc00250215f921f562e9a509c22c04831ed657608cdd6b777e9f68 ./ytt-windows-amd64.exe
6405e481eaac650e25f640a1be6190953d03f51981972b29aacc91e43b5c1498 ./ytt-darwin-arm64
65dbc4f3a4a2ed84296dd1b323e8e7bd77e488fa7540d12dd36cf7fb2fc77c03 ./ytt-linux-amd64
c370fab22081b17b780d4ec37fb664edb58fe6f28d635ad4beccbac7997586f9 ./ytt-darwin-amd64
v0.41.0
🛑 Patch Release Available
This version contains a regression. We recommend you use the latest, instead.
✨ What's new
- Schema Validations #561 (experimental) — announcement blog post
- Enable new experiments (validations) through environment variable #658
- Add hint to symlink error message #647
- Allow
:
character in--data-values-file
path #609 - Accept all types of input for the
--data-value-file
and--data-values-file
#670 #486
🐛 Bug Fixes
🔈 Callouts
Thanks to...
- Víctor Martínez Bevià @vicmarbev 🙏🏻
For your contributions to this release!
📂 Files Checksum
270d76a9a67fc6c375f52beb538533c2228f2553ce96b0cb50fe366d00d7e291 ./ytt-darwin-arm64
5027def0ee7c08c3426dac2c19974fb736e16fddb2ea4ed2456940a2c4266491 ./ytt-linux-amd64
856dff6263488d25546ab7eff3574cfca973e641ff4f58f39bfb703235352ec3 ./ytt-windows-amd64.exe
8b1a61ef55905d9b0fb737cb2fc3dfb1716965eddb6314942afcb382527e447b ./ytt-windows-arm64.exe
a0848c9965ad01ae2f169f100fca855e4b0a2c53f195bf54f5d28db5f95b5694 ./ytt-linux-arm64
e35e24b12d9c99309758682392ae159f113b93a226fd9f567980c0c186f7caad ./ytt-darwin-amd64
v0.40.3
✨ What's new
- Bump go version by @rohitagg2020 in #773
Full Changelog: v0.40.1...v0.40.3
📂 Files Checksum
3190ebb9e615d25947d9544f563986574513200f9b1fac7809cb11c786606bb5 ./ytt-linux-amd64
3191d30dc60c8e8424934bab38c8b97b5ddfb27e4ad32ade5fcc43d2007816ee ./ytt-linux-arm64
3c20c10bdecce75b9233c2b72763e6a7eef5b5148db6a8cd6c8e607c9d6a1f29 ./ytt-windows-amd64.exe
49ae8f1d146f6e4109f79124b97c7aa8c834cb805ec0acfff7fc21bca7161ce2 ./ytt-windows-arm64.exe
52a50144b4abaad56d6c60f944fe19fb9ba2760a7943e5239a9bcb41b9bbd068 ./ytt-darwin-amd64
c19fc12f418c050a3fba7ae3b587b860825cb2113dfd198f9f0aac34fff1f1fa ./ytt-darwin-arm64
(There is no code/behavior difference between v0.40.1 and this release.
We decided to use go 1.19.3
and fix CVE's.)
v0.40.1
🐛 Bug Fixes
894983a Update go mod example
📂 Files Checksum
046066aee0b4ded04a613093667cb2301c07471e679f88c72817a75710bce43a ./ytt-windows-arm64.exe
11222665c627b8f0a1443534a3dde3c9b3aac08b322d28e91f0e011e3aeb7df5 ./ytt-linux-amd64
8923b1caee0bbe8783876f95fa2bdfee8840a85151870ec60b46c36905efbcb1 ./ytt-windows-amd64.exe
a478eb4a6a88a8e3de9dd2e97c1fb96ca7a65c74525f2e132e6a5b333803f7c8 ./ytt-darwin-arm64
c5d2f033b375ee87414b51d16c324d7a441de2f256865b5c774c4d5aea30ef60 ./ytt-linux-arm64
d46dba5e729e2fe36c369e96eaa2eb5354fb1bf7cf9184f9bfa829b8e5558b94 ./ytt-darwin-amd64
(There is no code/behavior difference between v0.40.0 and this release.
This is mostly a cosmetic release. Without it GitHub was reporting our "latest" release as v0.37.1 [which is incorrect: our latest release is v0.40.0].
We decided the lowest-risk move would be to include this tiny patch as a release.)