Skip to content

Releases: cocoonstack/cocoon-common

v0.2.3

Choose a tag to compare

@CMGS CMGS released this 02 Jul 09:03

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

Choose a tag to compare

@CMGS CMGS released this 29 Jun 05:58
- 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

Choose a tag to compare

@CMGS CMGS released this 25 May 09:50

Changes since v0.2.0:

  • chore: code review fixes 2026-05 — includes breaking API tightenings (#2)
  • feat: lifecycle-state annotation support (#1)
  • add AnnotationCloneFromDir for 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-common pin to v0.2.1.

v0.2.0: feat(cocoonset): add Suspending phase

Choose a tag to compare

@CMGS CMGS released this 24 Apr 00:02
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

Choose a tag to compare

@CMGS CMGS released this 20 Apr 06:37
minor adjust

v0.1.8: fix: enforce podRef.name validation in CocoonHibernation CRD

Choose a tag to compare

@CMGS CMGS released this 19 Apr 02:51
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

Choose a tag to compare

@CMGS CMGS released this 17 Apr 02:13
style: unwrap hard-wrapped prose and trim verbose code comments in RE…

v0.1.5

Choose a tag to compare

@CMGS CMGS released this 15 Apr 17:13

Full Changelog: v0.1.4...v0.1.5

v0.1.4: chore: enforce SKILL.md code style rules

Choose a tag to compare

@CMGS CMGS released this 13 Apr 07:32
Reorder exported above unexported, add missing godoc, consolidate
const/var blocks.

v0.1.3

Choose a tag to compare

@CMGS CMGS released this 10 Apr 17:47
move from v1alpha to v1