Skip to content

Releases: cocoonstack/cocoon

v0.3.8

27 Apr 16:42

Choose a tag to compare

Changelog

  • f493e0e cloudhypervisor: assert sidecar/config.json disk order in preflight
  • 0dbc0f3 cloudhypervisor: persist Role/MountPoint/FSType via cocoon.json sidecar
  • 6e22117 firecracker: lock all writable disks of a source VM, not just the COW
  • 94cbbd1 hypervisor: data disk creation pipeline behind --data-disk
  • e8fd147 hypervisor: unit tests for snapshot integrity helpers
  • d7a0fe6 metadata: cidata mounts: + per-disk DirectIO override
  • f6ab3ce storage: Role-aware restore/clone with snapshot preflight
  • 813ac1d storage: enforce ValidateStorageConfigs at every load/finalize boundary
  • 1402e10 storage: harden restore preflight and FC writable-disk lock
  • 5c281d7 storage: include data disks in snapshot tar; clean stale ones on restore
  • 9284f21 storage: move private helpers below exported per code-style ordering
  • ccb6896 storage: senior-review cleanup
  • 49c4041 storage: set Role on every StorageConfig producer
  • 05c5e64 storage: simplify cleanup — share data disk file naming and reflink loop
  • 4395977 storage: switch all classifiers from RO/Serial/filename to Role
  • 20c004d storage: tests for Role validation, data-disk parsing, and clone fixes
  • 635230b style: const block strictly before type declarations
  • acad16d types: add StorageRole, DataDiskSpec, ValidateStorageConfigs

v0.3.7

24 Apr 07:57

Choose a tag to compare

Changelog

  • ce14c76 add -o json output to lifecycle commands
  • 4e3714b drop TerminateProcess poll interval to 1ms

v0.3.6

24 Apr 00:04

Choose a tag to compare

Changelog

  • 633de69 chore: remove unused exports DefaultEscapeChar and progress.Nop
  • fce97f0 clean up and follow rules
  • 15a151e clean up style
  • 3b68c4d create unified for CH and FC
  • 3d09358 ensure image is there
  • 0638109 feat: record image digest in snapshot config for cross-node clone
  • c8109fe fix issues, promote timeout in long api
  • b7d2c0f fix restore cloudimg issues
  • d746a27 gofumpt final round
  • 9ed6b6a minor enhance the boot/run/clone speed of ch and fc
  • 0f3f457 on demand for clone and restore
  • 37f27ee refactor: extract KillForRestore and DirectCloneBase to shared Backend
  • fdd2b79 refactor: extract ResourceConfig shared between VMConfig and SnapshotConfig
  • 9539a31 refactor: lift WatchPath and RegisterGC from CH/FC to shared Backend
  • 3e4976a refactor: simplify snapshotRecordToConfig to use value copy instead of field-by-field assignment
  • 137eba5 rename
  • 8cc9272 style: place const block before var block per code standard
  • 52b1b09 unified db op in hypervisor
  • a1eb2c9 unified gc steps for ch and fc
  • a7b02f1 unified start/stop
  • 60e6ae4 use inline zstd

v0.3.5

20 Apr 06:33

Choose a tag to compare

Changelog

  • 25e6b7d clean up
  • 42823d9 feat: use pidfd for TOCTOU-safe process termination on Linux 5.3+
  • 58de607 fix: remove omitempty from int/bool fields that lose zero values
  • 5c634b3 fix: replace remaining os.IsNotExist with errors.Is in cni and storage
  • df01bff refactor: consolidate const/var blocks, replace os.IsNotExist with errors.Is

v0.3.4

19 Apr 06:09

Choose a tag to compare

Changelog

  • 8ce52d3 feat: add --no-direct-io flag to disable O_DIRECT on writable disks
  • 63e315d feat: add --user/--password flags for cloudimg credential injection
  • 72adfe4 refactor: allocate types.VM as pointer directly instead of value+addressof

v0.3.3

17 Apr 09:42

Choose a tag to compare

Changelog

  • 17fa530 feat: add --disk-queue-size flag and fix clone/restore disk params
  • 831fe9c refactor: reduce parameter sprawl and complete docs

v0.3.2

15 Apr 17:13

Choose a tag to compare

What's Changed

  • support bridge tap to reduce hop between tap & nic by @CMGS in #19

Full Changelog: v0.3.1...v0.3.2

v0.3.1

13 Apr 07:30

Choose a tag to compare

Changelog

  • 4feeddc chore: enforce SKILL.md across entire codebase
  • 298849d chore: trim redundant code comments
  • b91ed1e chore: trim redundant code comments
  • 5952b8a continue refactor file process
  • 771aa3e fix dhcp issue for multiple cloned vms
  • 7fef26a fix: ListAllVMs surfaces backend read errors instead of hiding them
  • cdb00e7 fix: cloudimg clone preserves base image blob pinning
  • b4a6caf fix: concat sniff accumulates >=8 bytes across shards
  • 813231f fix: deterministic VM ref routing with ambiguity detection
  • dc43cb9 fix: image inspect detects cross-backend ambiguity
  • 2727914 fix: image ref ambiguity detection and owner-targeted rm
  • cf08ecc fix: importQcow2File verifies digest match across two read passes
  • 7e167a6 fix: reject cpu > host cores at create/clone/restore entry points
  • 7ecf8ae fix: restore clears staging dir to avoid replaying stale files
  • 00961d4 fix: restore filters cidata disk for post-first-boot cloudimg
  • 3ebef14 fix: restore stages snapshot extract before killing running VM
  • ac8f051 fix: set ClientIdentifier=mac in all Ubuntu images for clone DHCP
  • c088636 refactor import pull and commit for images
  • e449d53 refactor: extract shared hypervisor BaseConfig and CloneSetup

v0.3.0

10 Apr 05:04

Choose a tag to compare

Changelog

  • f5a6937 fix: FC hugepages bug + io_uring + entropy + boot args tuning
  • af999a7 fix: disable balloon for Windows VMs
  • c07cbbc fix: give vm.snapshot / vm.restore a 10-minute heavy-op timeout
  • dd3ed5d fix: skip balloon patching for Windows clone and restore
  • 4fee660 revise doc for new windows images

v0.2.9

08 Apr 16:26
f313f81

Choose a tag to compare

Changelog

  • 6cc189e clean all windows related stuff, move to cocoonstack/windows
  • 015a5d0 minor changes for tapname
  • b0f20d2 refactor json patch for clone
  • 7615672 refactor: split VM and image workflows into focused files
  • f313f81 support firecracker as hypervisor backend (#16)