Releases: garden-io/garden
0.13.31
Garden 0.13.31 is out! 🎉
This is a maintenance release that includes some bug fixes, features, and improvements, performance optimizations, and version updates for some bundled tools.
Many thanks to @ManAnRuck for the contributions to this release!
Notable Changes
Partial Module Resolution
In #6002 we implemented a feature flag to allow partial module resolution for build
, deploy
, test
and run
commands.
The feature is available when 2 conditions hold:
- the corresponding feature flag is enabled:
GARDEN_ENABLE_PARTIAL_RESOLUTION=true
- Garden
build
,deploy
,test
orrun
command is executed with explicitly defined action names
Example:
GARDEN_ENABLE_PARTIAL_RESOLUTION=true garden deploy backend
Please note, that if you have module-based configs, then the Test
action names will have synthetic names in the form of ${moduleName}-${testName}
.
You can always get the list of all actions by running the command:
garden get actions
or, by using one of the action kind-specific convenience commands:
garden get builds
garden get deploys
garden get runs
garden get tests
Windows: Current directory not added to PATH
implicitly anymore
Since Garden 0.13.31 we export the environment variable NoDefaultCurrentDirectoryInExePath
when spawning child processes on Windows. This prevents child processes from implicitly considering the current directory as part of the PATH
.
This prevents an issue with tools written in Go. Since Go 1.19 the os/exec
module errors unless the PATH
resolution results in an absolute path for improved security. See also https://go.dev/blog/path-security
We export NoDefaultCurrentDirectoryInExePath
to make sure Garden behaviour on Windows is consistent with other platforms, like MacOS and Linux, where the current directory is not implicitly considered as part of the PATH
.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.13.31 for Alpine AMD64 (tar.gz)
- Garden v0.13.31 for Linux AMD64 (tar.gz)
- Garden v0.13.31 for Linux ARM64 (tar.gz)
- Garden v0.13.31 for MacOS AMD64 (tar.gz)
- Garden v0.13.31 for MacOS ARM64 (tar.gz)
- Garden v0.13.31 for Windows AMD64 (.zip)
Changelog
0.13.31 (2024-06-03)
Features
- allow custom args in
kubectl apply
for kubernetes deployments (#6107) (85ab8e263) - images: add multi-platform images for garden deployed services (#6072) (76fa956d0)
- template: add date template helper functions (#5997) (39d239661)
Bug Fixes
garden publish
command to respectpublishId
(#6052) (e30ab0ba5)- actions: return all outputs of an action as a json string (#6067) (7c60c6b1b)
- commands: use statusOnly provider resolution for several read-only commands (#6063) (c6bc3d788)
- core: issue with partial module resolution and module templates (#6073) (78f4d35e1)
- docs: actualize
cloud secrets update
command description (#6104) (daec250b1) - images: download tools with correct
TARGETARCH
for multi-platform images (#6079) (5a216f9ec) - k8s: prevent exec auth script errors on Windows (#6120) (066798720)
- modules: another fix for the experimental partial module resolution (#6105) (974de64be)
- provider: allow initialising providers without write ops for validation command (#6051) (2321ae8d6)
- secrets: skip already existing secrets while creating (#6099) (65ceb7c0d)
- terraform: prevent deadlock by consuming stdout (#6037) (3640b4edd)
Bundled Tool Version Updates
- helm: update version to
3.15.1
(#6123) (17f5e0cb8) - kubectl: update version to
1.30.1
(#6122) (2ece3d194)
Improvements
- cli: more detailed logging in
cloud secret
commands (#6065) (20742f4f1) - helm: use
--wait
when deploying (#6078) (7a68373a1) - k8s: allow volume mounts in runners (#6112) (bac234b59)
Performance Improvements
- cli: avoid unnecessary module resolution when filtering by name (#6002) (86c885f42)
- cli: improve cli startup performance using v8 cache (#6049) (7d8034b3b)
Fixed Issues
0.13.30
Garden 0.13.30 is out! 🎉
This is a maintenance release that includes some bug fixes, features, and improvements.
Many thanks to @ManAnRuck for the contributions to this release!
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.13.30 for Alpine AMD64 (tar.gz)
- Garden v0.13.30 for Linux AMD64 (tar.gz)
- Garden v0.13.30 for Linux ARM64 (tar.gz)
- Garden v0.13.30 for MacOS AMD64 (tar.gz)
- Garden v0.13.30 for MacOS ARM64 (tar.gz)
- Garden v0.13.30 for Windows AMD64 (.zip)
Changelog
0.13.30 (2024-05-08)
Features
- optional varfiles (#5996) (ee36cbbfb)
- container: experimental cloudbuilder support (#5928) (3f288418a)
Bug Fixes
- cli: do not render hidden commands (#5975) (053c78617)
- cloud: fix unprocessable entity error (#5931) (bfcc1fea8)
- git: increase max proc buffer size and fix error handling (#5916) (30fd9c077)
- helm: fix race condition when updating deps (#6012) (dec8d6329)
- helm: disable
--atomic
by default in Helm modules (#5968) (5f76a732d) - k8s: work around a rare websocket connection issue & warn (#5908) (d980ea8ee)
- sync: fix typo in warning message (#5919) (4936e33c2)
Improvements
- update bundled NodeJS runtime to
21.7.3
(#6009) (bc38bb247) - allow for more concurrency when using cloud builder (#5955) (4717da8e5)
- cloud: more informative error message on CA cert problems (#5941) (1d929625e)
- git: avoid duplicate profiling of
GitHandler.hashObject
(#5918) (a6554c611) - helm: update helm to
3.14.4
(#5972) (456e89e58) - jib: update JDK LTS versions to the latest stable builds (#5970) (a333a9e6d)
- k8s: update
kubectl
version to1.29.4
(#5973) (5fff93d9d) - support: install docker-buildx-plugin in garden Docker images (#5942) (0a86f6ed6)
Fixed Issues
0.12.71
Garden 0.12.71 is out! 🎉
This is a maintenance release that fixes the JDK 17 download urls in the jib-container
plugin.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.12.71 for Alpine AMD64 (tar.gz)
- Garden v0.12.71 for Linux AMD64 (tar.gz)
- Garden v0.12.71 for MacOS AMD64 (tar.gz)
- Garden v0.12.71 for Windows AMD64 (.zip)
Changelog
0.12.71 (2024-05-02)
Bug Fixes
- jib: fix JDK 17 base url (9461bbd31)
0.12.70
Garden 0.12.70 is out! 🎉
This is a patch release that enables JDK 21 support for jib-container
plugin.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.12.70 for Alpine AMD64 (tar.gz)
- Garden v0.12.70 for Linux AMD64 (tar.gz)
- Garden v0.12.70 for MacOS AMD64 (tar.gz)
- Garden v0.12.70 for Windows AMD64 (.zip)
Changelog
0.12.70 (2024-04-26)
Bug Fixes
- jib: allow the usage of the JDK 21 (90e381d3d)
0.12.69
Garden 0.12.69 is out! 🎉
This is a maintenance release that adds JDK 21 LTS version support to the jib-container
plugin.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.12.69 for Alpine AMD64 (tar.gz)
- Garden v0.12.69 for Linux AMD64 (tar.gz)
- Garden v0.12.69 for MacOS AMD64 (tar.gz)
- Garden v0.12.69 for Windows AMD64 (.zip)
Changelog
0.12.69 (2024-04-25)
Improvements
0.12.68
Garden 0.12.68 is out! 🎉
This is a maintenance release that updates Docker shipped with garden tools.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it
installed.
- Garden v0.12.68 for Alpine AMD64 (tar.gz)
- Garden v0.12.68 for Linux AMD64 (tar.gz)
- Garden v0.12.68 for MacOS AMD64 (tar.gz)
- Garden v0.12.68 for Windows AMD64 (.zip)
Changelog
0.12.68 (2024-04-12)
Bug Fixes
0.13.29
Garden 0.13.29 is out! 🎉
This is a maintenance release that includes some bug fixes, features, and improvements.
Many thanks to @dan-at-confirm for the contribution to this release!
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.13.29 for Alpine AMD64 (tar.gz)
- Garden v0.13.29 for Linux AMD64 (tar.gz)
- Garden v0.13.29 for Linux ARM64 (tar.gz)
- Garden v0.13.29 for MacOS AMD64 (tar.gz)
- Garden v0.13.29 for MacOS ARM64 (tar.gz)
- Garden v0.13.29 for Windows AMD64 (.zip)
Changelog
0.13.29 (2024-04-04)
Features
- container: allow global extra build flags e.g. for custom remote builders (#5829) (7cef7c1b6)
- helm: store garden metadata in configmap instead of helm values (#5827) (adcf96803)
- modules: allow opting out of build staging (#5890) (a4fdc3bfb)
Bug Fixes
- recognize
--resolve
flag invalidate
command (#5853) (af514b409) - core: increase max event listener count (#5889) (d29e11e25)
- docs: fix ordering of image reference in actions outputs (#5828) (1e7071857)
- k8s: allow specifying version for oci helm charts (#5892) (43e7485bb)
- vcs: use structural path comparison to compute minimal repo roots (#5867) (189bb2119)
Improvements
Fixed Issues
0.13.28
Garden 0.13.28 is out! 🎉
This is a maintenance release that includes some important bug fixes and improvements.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.13.28 for Alpine AMD64 (tar.gz)
- Garden v0.13.28 for Linux AMD64 (tar.gz)
- Garden v0.13.28 for Linux ARM64 (tar.gz)
- Garden v0.13.28 for MacOS AMD64 (tar.gz)
- Garden v0.13.28 for MacOS ARM64 (tar.gz)
- Garden v0.13.28 for Windows AMD64 (.zip)
Changelog
0.13.28 (2024-03-12)
Bug Fixes
- core: properly escape shell commands (#5811) (a6d653404)
- k8s: use the same service account for pulling images as building (#5810) (dba5b0665)
Improvements
- improvements to validate command (#5809) (010730cef)
- docker: update Docker shipped with Garden tools to 25.0.2 (#5816) (7932c8996)
Fixed Issues
0.13.27
Garden 0.13.27 is out! 🎉
This is a maintenance release that fies some critical regression, see #5794 and #5779.
The release also includes some other bug fixes and features, see the detailed changelog for the details.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.13.27 for Alpine AMD64 (tar.gz)
- Garden v0.13.27 for Linux AMD64 (tar.gz)
- Garden v0.13.27 for Linux ARM64 (tar.gz)
- Garden v0.13.27 for MacOS AMD64 (tar.gz)
- Garden v0.13.27 for MacOS ARM64 (tar.gz)
- Garden v0.13.27 for Windows AMD64 (.zip)
Changelog
0.13.27 (2024-03-04)
Features
- sync: deprecate non-interactive
sync start
andstop
commands (#5747) (6e1e97939) - util: added profile-project command (#5780) (c83f815fe)
Bug Fixes
- buildkit: remove liveness probe to avoid unnecessary restarts of buildkit (#5779)
- cloud: correctly parse user ID when creating cloud secrets (#5792) (519c90e93)
- k8s: fix kubernetes workload rollout status check (#5794) (445d25c23)
- k8s: attempt execing on running pod (#5782) (8b94e494e)
- self-update: download alpine release artifacts on alpine (#5798) (418de1cbb)
- template: support template strings in
ConfigTemplate.configs
(#5796) (bf51aa06b)
Fixed Issues
0.13.26
Garden 0.13.26 is out! 🎉
This release includes better cache support for AWS ECR, as well as a feature flag to use an updated version of Mutagen. It also includes bug fixes and small improvements.
Many thanks to @xenoscopic for the contributions to this release!
Notable changes
In-Cluster Building: Improved cache support for AWS ECR
We now support the mode=max
cache mode when using Buildkit in-cluster building together with AWS ECR registries. The mode=max
cache mode can significantly speed up builds in case your Dockerfile
is using multiple stages. If we detect that your registry supports this mode, we enable it by default.
See also the multi-stage caching section of the in-cluster building guide.
File syncing
Garden uses Mutagen to sync files between the local machine and a remote Kubernetes Pod for Code Synchronization and In-Cluster Building.
We made changes of how Mutagen file synchronization connects to remote Kubernetes cluster, which enabled us to update to the latest Mutagen version.
These changes are not enabled by default right now, and can be enabled using the environment variable GARDEN_ENABLE_NEW_SYNC=true
.
Important note! The new sync mode is experimental. Before enabling it, please stop the sync daemon using garden util mutagen daemon stop
. If you forget to stop the daemon, you will get an error message that suggests running this command.
Kubernetes version support policy
Starting with this release, we support Kubernetes versions until they reach the EOL date. Official Kubernetes EOL dates can be found at https://kubernetes.io/releases/. See https://docs.garden.io/getting-started/installation#requirements.
You can still use the older versions. They may work, but are unsupported and not guaranteed to be compatible.
Assets
Download the Garden binary for your platform from below or simply run garden self-update
if you already have it installed.
- Garden v0.13.26 for Alpine AMD64 (tar.gz)
- Garden v0.13.26 for Linux AMD64 (tar.gz)
- Garden v0.13.26 for Linux ARM64 (tar.gz)
- Garden v0.13.26 for MacOS AMD64 (tar.gz)
- Garden v0.13.26 for MacOS ARM64 (tar.gz)
- Garden v0.13.26 for Windows AMD64 (.zip)
Changelog
0.13.26 (2024-02-22)
Features
Bug Fixes
- do not fail on empty YAML varfiles (#5759) (e5732aa5f)
- core: better Zod validation error messages (#5745) (dc49f10d4)
- core: versioning fix for remote sources (#5735) (91bfd4816)
- k8s: retry websocket errors (#5755) (c8b88c4bd)
- module-conversion: skip omitted build deps (#5727) (c734d0f38)
- mutagen: call mutagen commands from the right cwd (#5734) (98a650db7)
Improvements
- core: less noisy missing dep errors (#5732) (91d25bcae)
- k8s: update
kubectl
version to1.29.2
(#5756) (1f12b3fe0) - mutagen: use faux SSH command to use original Mutagen (#5551) (e778e9750)
- sync: update Mutagen to 0.17.5 (#5744) (eec7832b7)