v0.9.0
KraftKit v0.9.0 (2024-07-26T12:55:43Z)
This is a stable release of kraftkit.
Changelog
⚠️ Breaking Changes
- 38abcdc: feat(cloud)!: Introduce 'scale-to-zero' stand-alone flags (#1756) (@razvand)
- 4409232: fix!: Major improvements to
kraft cloud compose
(#1678) (@craciunoiuc) - be0d6ac: refactor!: Replace 'service group' in favour of 'service' (#1752) (@nderjung)
- 06ce09e: refactor(tunnel)!: Rework the tunnel CLI documentation (#1795) (@craciunoiuc)
🚀 New Features
- 887f728: feat(action): Allow running in privileged mode (#1717) (@craciunoiuc)
- 4a2f872: feat(cloud): Add ability to specify certificate to use when creating (#1745) (@craciunoiuc)
- 4adc28a: feat(cloud): Add volume import partial checks (#1586) (@skuenzer)
- f209855: feat(cloud): Also read certificate chain from file (#1735) (@marcrittinghaus)
- df90c04: feat(cloud): Expose several new fields (#1770) (@craciunoiuc)
- d47d2f4: feat(cloud): Introduce connections to proxy unikernel (#1680) (@skuenzer)
- 660373a: feat(compose): Introduce the pull/push subcommands (#1697) (@nderjung)
- 66f124e: feat(internal): Allow for specifying optional measurement units (#1687) (@nderjung)
- 53ed2fb: feat(internal): Prompt for rerunning configure step (#1686) (@nderjung)
- 56f0b20: feat(kraft): Introduce "rootfs" deployer and packager runtime flag (#1800) (@craciunoiuc)
- f607635: feat(machine): Allow random number generation in emulation (#1703) (@craciunoiuc)
- 0fdee0e: feat(machine): Inform users if HWRNG is not supported (#1762) (@nderjung)
- 150861b: feat(oci): Add debug log entries for what the cmd is set to (#1792) (@craciunoiuc)
- 146ccdc: feat(workflows): Upload artifacts on build success (#1751) (@nderjung)
- ded62c5: feat: Accept multiple token/metro variations (#1766) (@razvand)
- 3c3e4a4: feat: Add details about rootfs build origin (#1794) (@craciunoiuc)
- 729cd70: feat: Bump buildkit to v0.14.1 (#1733) (@nderjung)
- 712495d: feat: Introduce
labels
element toKraftfile
(#1753) (@nderjung) - 16b7752: feat: Several fixes & new features from the platform (#1796) (@nderjung)
- 845710d: feat: Show package size during pushing routines (#1808) (@craciunoiuc)
🐛 Bug Fixes
- 8a58900: fix(Makefile): Add go build tags for tools also (#1682) (@craciunoiuc)
- 9e0e41d: fix(action): Correctly set workdir (#1713) (@nderjung)
- 98b2111: fix(buildenvs): Create '/run/user' directories (#1706) (@nderjung)
- f580b82: fix(cloud): Add missing word in documentation (#1783) (@nderjung)
- 2277ef5: fix(cloud): Check for nil image before using (#1803) (@nderjung)
- fb06b2d: fix(cloud): Correct typo showing incorrect error message (#1744) (@nderjung)
- 95693d6: fix(cloud): Correctly use service group when creating instances (#1780) (@marcrittinghaus)
- c58f3de: fix(cloud): Decode instances before printing them (#1805) (@nderjung)
- 188415c: fix(cloud): Document missing use cases (#1785) (@nderjung)
- a2b83bf: fix(cloud): Fix misplaced annotation (#1727) (@craciunoiuc)
- 4ef4dd7: fix(cloud): Fixes to 'import' related to timeout & format (#1804) (@nderjung)
- ce1d8e8: fix(cloud): Immediately abort logging if channels closed (#1767) (@razvand)
- 8b6c838: fix(cloud): Minor rewording of main cloud subcommand (#1807) (@craciunoiuc)
- a6942a0: fix(cloud): Only rollout when '--start' is also provided (#1768) (@razvand)
- 61cb8ba: fix(cloud): Only send the
scale-to-zero
policy when the flag is set (#1791) (@nderjung) - c573eb4: fix(cloud): Print scale to zero info (#1784) (@nderjung)
- 3246a56: fix(cloud): Several fixes for volume importing and others (#1782) (@nderjung)
- c16b727: fix(cloud): Several fixes to the cloud commands (#1772) (@craciunoiuc)
- 0c44386: fix(cloud): Several scale to zero fixes (#1771) (@craciunoiuc)
- 4cd5494: fix(cloud): Several small usability fixes (#1809) (@nderjung)
- 5c7a039: fix(cloud): Show UUID if name is missing for attached volumes (#1743) (@nderjung)
- 46d5e8f: fix(compose): Do not error out if Composefile is removed (#1728) (@nderjung)
- 99cf266: fix(create): Defer update of project in store (#1729) (@nderjung)
- d7c2717: fix(deploy): Prevent deployers with empty
String()
from prompting (#1806) (@craciunoiuc) - 0d75020: fix(initrd): Correctly pass hardlink creation parameters (#1731) (@nderjung)
- b8468cd: fix(initrd): Correctly propagate workdir to dockerfile (#1696) (@nderjung)
- 0543f6e: fix(initrd): Remove parse error message for OCI images (#1685) (@nderjung)
- e5d1aaf: fix(initrd): Reverse order of detection (#1707) (@nderjung)
- 1463037: fix(initrd): Set additional metadata for directories also (#1730) (@nderjung)
- dd4e64d: fix(internal): Also stop process when machine is just created (#1734) (@nderjung)
- fed7df6: fix(internal): Delete empty
Makefile.uk
files on builds (#1701) (@nderjung) - ef8b258: fix(kraft): Various adjustments to help menu display (#1810) (@craciunoiuc)
- d076e5f: fix(machine): Enable features only for QEMU 8.0.0 and later (#1705) (@craciunoiuc)
- 60c20e7: fix(oci): Correctly read the docker config containing auths (#1716) (@nderjung)
- 0a8424e: fix(oci): Pass ref to
AddBlob
(#1797) (@craciunoiuc) - 44c8237: fix(oci): Remove duplicate OS features from OCI config files (#1754) (@craciunoiuc)
- e1ea918: fix(processtree): Propagate error to parent process on timeout (#1781) (@craciunoiuc)
- 00f6f4d: fix(processtree): Provide the right-hand text in brackets in norender (#1798) (@craciunoiuc)
- e6e6374: fix(remove): Correctly search for networks when deleting machine (#1699) (@nderjung)
- fa1fc1f: fix(run): Pass workdir when preparing rootfs (#1698) (@nderjung)
- b06b88e: fix(scale): Set min size value also when 0 (#1715) (@nderjung)
- d5a26fb: fix(volume): Enable read-only mounts for attach (#1765) (@razvand)
- 2a1fcef: fix(webinstall): Install and clean 'kraftld' script also (#1700) (@nderjung)
- 4a79672: fix(workflows): Several fixes to streamline release process (#1725) (@nderjung)
- 8e1eb8f: fix: Adds missing cutom created package removal capablity (#1182) (@craciunoiuc)
- d9e0947: fix: Features and fixes related to 'tools/go-generate-qemu-devices' (#1736) (@nderjung)
- 2f65378: fix: Revert target abstraction to be able to list targets (#1769) (@razvand)
- c57229d: fix: Set UKC as main prefix (#1786) (@craciunoiuc)
🤖 Bumps
- bb48ef0: build(deps): Bump docker/build-push-action from 5 to 6 (#1742) (@craciunoiuc)
- 81a5940: gomod(deps): Bump github.com/briandowns/spinner from 1.23.0 to 1.23.1 (#1748) (@nderjung)
- 3b9e42b: gomod(deps): Bump github.com/charmbracelet/lipgloss from 0.10.1-0.20240413172830-d0be07ea6b9c to 0.11.0 (#1747) (@nderjung)
- a95dd28: gomod(deps): Bump github.com/charmbracelet/lipgloss from 0.11.0 to 0.12.1 (#1776) (@craciunoiuc)
- ef3c467: gomod(deps): Bump github.com/cli/cli/v2 from 2.49.0 to 2.51.0 (#1722) (@craciunoiuc)
- 9b047b1: gomod(deps): Bump github.com/cli/cli/v2 from 2.51.0 to 2.52.0 (#1746) (@nderjung)
- 71d9b18: gomod(deps): Bump github.com/compose-spec/compose-go/v2 from 2.1.1 to 2.1.3 (#1738) (@craciunoiuc)
- 87dd542: gomod(deps): Bump github.com/compose-spec/compose-go/v2 from 2.1.3 to 2.1.4 (#1787) (@craciunoiuc)
- d8ed03e: gomod(deps): Bump github.com/containerd/containerd from 1.7.17 to 1.7.18 (#1709) (@craciunoiuc)
- 67d1db5: gomod(deps): Bump github.com/containerd/containerd from 1.7.18 to 1.7.19 (#1758) (@craciunoiuc)
- f4164b5: gomod(deps): Bump github.com/containers/image/v5 from 5.30.1 to 5.31.0 (#1691) (@craciunoiuc)
- 7c390a8: gomod(deps): Bump github.com/containers/image/v5 from 5.31.0 to 5.31.1 (#1741) (@craciunoiuc)
- 19c586a: gomod(deps): Bump github.com/cyphar/filepath-securejoin from 0.2.5 to 0.3.0 (#1773) (@craciunoiuc)
- f84c6a7: gomod(deps): Bump github.com/docker/cli from 26.1.3+incompatible to 26.1.4+incompatible (#1712) (@nderjung)
- e28f926: gomod(deps): Bump github.com/docker/cli from 26.1.4+incompatible to 27.0.2+incompatible (#1749) (@nderjung)
- da901f5: gomod(deps): Bump github.com/docker/cli from 27.0.2+incompatible to 27.0.3+incompatible (#1759) (@craciunoiuc)
- 6066b23: gomod(deps): Bump github.com/docker/docker from 26.1.3+incompatible to 26.1.4+incompatible (#1711) (@craciunoiuc)
- 3cf9c62: gomod(deps): Bump github.com/golang/glog from 1.2.1 to 1.2.2 in /tools/go-generate-qemu-devices (#1778) (@craciunoiuc)
- 1457527: gomod(deps): Bump github.com/golang/glog from 1.2.1 to 1.2.2 in /tools/protoc-gen-go-netconn (#1777) (@craciunoiuc)
- 3e9cd98: gomod(deps): Bump github.com/google/go-containerregistry from 0.19.1 to 0.19.2 (#1720) (@craciunoiuc)
- a371d2b: gomod(deps): Bump github.com/google/go-containerregistry from 0.19.2 to 0.20.0 (#1775) (@craciunoiuc)
- 9a2e773: gomod(deps): Bump github.com/google/go-containerregistry from 0.20.0 to 0.20.1 (#1788) (@craciunoiuc)
- e760b6c: gomod(deps): Bump github.com/opencontainers/runc from 1.1.12 to 1.1.13 (#1740) (@craciunoiuc)
- eec334b: gomod(deps): Bump github.com/shirou/gopsutil/v3 from 3.24.4 to 3.24.5 (#1721) (@craciunoiuc)
- 12dec54: gomod(deps): Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#1719) (@craciunoiuc)
- 0814272: gomod(deps): Bump github.com/testcontainers/testcontainers-go from 0.30.0 to 0.31.0 (#1689) (@craciunoiuc)
- ee2fa64: gomod(deps): Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 (#1690) (@craciunoiuc)
- 1df4f58: gomod(deps): Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 (#1710) (@craciunoiuc)
- e20ba06: gomod(deps): Bump golang.org/x/sys from 0.21.0 to 0.22.0 (#1760) (@craciunoiuc)
- bc4527b: gomod(deps): Bump golang.org/x/term from 0.20.0 to 0.21.0 (#1708) (@craciunoiuc)
- ba6aaaa: gomod(deps): Bump golang.org/x/term from 0.21.0 to 0.22.0 (#1757) (@craciunoiuc)
- e553c8e: gomod(deps): Bump k8s.io/api from 0.30.2 to 0.30.3 (#1790) (@craciunoiuc)
- 84fae22: gomod(deps): Bump k8s.io/apimachinery from 0.30.1 to 0.30.2 (#1739) (@craciunoiuc)
- c97c6d4: gomod(deps): Bump k8s.io/apiserver from 0.30.1 to 0.30.2 (#1737) (@craciunoiuc)
- 482abab: gomod(deps): Bump k8s.io/apiserver from 0.30.2 to 0.30.3 (#1789) (@craciunoiuc)
- 77c57da: gomod(deps): Bump sigs.k8s.io/kustomize/kyaml from 0.17.0 to 0.17.1 (#1692) (@craciunoiuc)
🐒 Miscellaneous
- 3d3ee01: build: Bump all non-dependabot dependencies (#1683) (@nderjung)
- e728044: gomod(github-action): Bump 'kraftkit.sh' to the latest version (#1679) (@craciunoiuc)
- 7bf661f: gomod(webinstall): Bump 'go' to the latest version (#1681) (@nderjung)
- 901afea: refactor(create): Reword (shorten) the "wait for image" text (#1793) (@craciunoiuc)
- 2c2bb31: refactor(initrd): Downgrade filesystem operation log messages to trace (#1801) (@craciunoiuc)
- 5371ca7: refactor(initrd): Efficiently pick port to use (#1732) (@nderjung)
- b872719: style(cloud): Don't show scale-to-zero info (#1755) (@nderjung)