Skip to content

v0.13.0

Latest
Compare
Choose a tag to compare
@scothis scothis released this 25 Jun 19:13
1b2f39f

Breaking changes and deprecations

A lot changed under the hood in this release, but there are no intentional breaking changes. If you notice something, please open an issue.

Some existing methods are deprecated in favor of equivalent behavior methods with more consistent naming, including:

  • dieadmissionregistrationv1.ValidatingAdmissionPolicySpecDie#VariablesDie -> VariableDie
  • dieflowcontrolv1beta1.PolicyRulesWithSubjectsDie#NonResourcePolicyRuleDie -> NonResourceRulesDie
  • diecorev1.NodeStatusDie#AddresssDie -> AddressesDie
  • diecorev1.NodeSelectorTermDie#MatchFieldsDie -> MatchFieldDie
  • diecorev1.LoadBalancerStatusDie#LoadBalancerDie -> IngressDie
  • dienodev1.SchedulingDie#TolerationsDie -> TolerationDie

Highlights

Dies can now be sealed (with DieSeal) to create a comparison point with future die mutations. The current state of the die and the sealed state can be compared to create diffs and patches. DieDiff uses the go-cmp library to produce human readable diffs. DiePatch generates a patch between the JSON representation of two resources following the desired algorithm. The implementation for each algorithm must be loaded before it can be used. Implementations are available in tree for each of the apimachinery PatchTypes

What's Changed

Full Changelog: v0.12.0...v0.13.0