Skip to content

v0.5.0

Compare
Choose a tag to compare
@DirectXMan12 DirectXMan12 released this 12 Feb 22:30
0fcf28e

v0.5.0

⚠️ Breaking Changes

  • Update dependencies to k8s 1.17 (#795) -- impact: minimal -- minor change in fake leader election interface. If you were faking out leader election, you may need slight adjustment.

  • Bump to Go 1.13 (#606) -- impact: minimal -- soft bump to go 1.13 already occurred, new changes mean we now won't work properly on older versions (e.g. new "errors" package)

  • Envtest: Do not pull in ginkgo outside of _test.go files (#720) -- impact: larger. Test suite generated with kubebuilder will need an additional import for the ginkgo NewlineReporter. Folks not using the NewlineReporter should have zero impact

  • Remove defaulting for leader election ID (#446) -- impact: if you're using leader election, leaving the leader election ID field empty will now yield a runtime error

  • Add testenv support for CRDv1/CRDv1beta1 + update to k8s 1.16.4 (#752) -- impact: if you were populating the CRD field of envtest.Environment by hand (as opposed to loading files from disk), you'll have to change the type of the slice. If you were accessing this field, the type is now runtime.Object. Adjust accordingly.

  • Bring in testing framework (#749) -- impact: minimal -- if you were manually importing sigs.k8s.io/testing_frameworks, you'll have to update your import paths.

✨ New Features

  • APIServer defaults deduplication (#763)
  • Parameterize webhook key/cert name (#760)
  • update CRD if already present (#696)
  • Add Merge patch type and deprecate ConstantPatch in favor of RawPatch (#721)
  • client: Use dynamic RESTMapper by default (#737)
  • Define metrics.Registry as an interface (#713)
  • ErrorIfCRDPathMissing on Environment (#715)
  • CRD file path on CRDInstallOptions.Paths (#716)
  • Clean-up installed CRDs on Stop() (#697)
  • add 10% jitter to ResyncPeriod (#647)
  • envtest: surface merged crds (#706)
  • Add HasLabels helper option for List calls (#792)

🐛 Bug Fixes

  • When loading client config, check os/user.HomeDir if $HOME is unset (#753)
  • Integration test should close http body (#786)
  • Fix panic in call to processState.Stop() (#781)
  • wait for cache start before returning from WaitForCacheSync (#755)
  • Envtest: Allow creating objects with privileged container specs (#708)
  • Remove TotalRequests Prometheus metrics as it is not getting used (#719)
  • Fix SetControllerReference to consider multiple CRD versions (#707)
  • use semantic equality in CreateOrUpdate (#704)

Thanks to all our contributors!