✨ 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