Releases: cocoonstack/cocoon-common
Releases · cocoonstack/cocoon-common
Release list
v0.2.3
Changelog
- d30812c feat(meta): add MarkRestoreFromHibernate setter
- 5d865b0 feat: add cloudimg and snapshot bridge packages
- 1c2adf7 feat: add manifest and ociutil packages (shared OCI helpers)
- c71e9e4 feat: add oci package (shared standard-OCI registry client)
- 225f683 fix(oci): resolve digest references in GetManifest
- e248edd refactor(meta): two-line setter form for MarkRestoreFromHibernate (per review)
- 3dcdfdd refactor: address cocoon /code self-audit
- 79cc940 refactor: quality pass (/code + simplify + comment tightening)
v0.2.2: refactor(cocoon-common): code-style and simplify cleanup
- file-org: reorder tls.go so GenerateSelfSignedCert sits above the unexported helpers; split admission JSON-patch helpers into patch.go; rename k8s/utils.go -> clientpatch.go - error-wrap: wrap the bare returns in GenerateSelfSignedCert and admission.Decode to match wrapping siblings - simplify: extract buildMergePatch (PatchStatus/patchMerge) and buildClientset helpers for verbatim-duplicated blocks; use cocoonv1.OSWindows const instead of the "windows" literal
v0.2.1
Changes since v0.2.0:
- chore: code review fixes 2026-05 — includes breaking API tightenings (#2)
- feat: lifecycle-state annotation support (#1)
- add
AnnotationCloneFromDirfor vk-cocoon usage - chore: align go directive to 1.25.6 + k8s package doc
- style: gofumpt v0.10 cleanup
- docs: README update for #2 API changes
Note: #2 tightened some exported APIs. Downstream repos (operator, vk-cocoon, …) should review before bumping their
cocoon-commonpin to v0.2.1.
v0.2.0: feat(cocoonset): add Suspending phase
CocoonSet suspend previously had no intermediate phase: the operator flipped to Suspended as soon as it wrote the hibernate annotation, even though vk-cocoon had not yet produced the hibernate snapshot. Add Suspending so the operator can report "annotation applied, waiting for snapshots" and only reach Suspended once the observation closes.
v0.1.9
v0.1.8: fix: enforce podRef.name validation in CocoonHibernation CRD
Replace corev1.LocalObjectReference with HibernationPodRef that has MinLength=1 on the name field, preventing empty podRef.name from passing CRD validation and only failing asynchronously at reconcile.
v0.1.7
v0.1.5
v0.1.4: chore: enforce SKILL.md code style rules
Reorder exported above unexported, add missing godoc, consolidate const/var blocks.