v0.13.0
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 PatchType
s
What's Changed
- Add discovery.k8s.io/v1 EndpointSlice die by @scothis in #145
- Default APIVersion and Kind for objects by @scothis in #146
- Add missing types by @scothis in #147
- Generate Quantity helper methods for dies by @scothis in #148
- Seal dies to enable diff and patch operations by @scothis in #142
- Generate mutation die helpers for fields by @scothis in #149
Full Changelog: v0.12.0...v0.13.0