Skip to content

Releases: garden-io/garden

0.13.31

03 Jun 15:08
Compare
Choose a tag to compare

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 or run 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.

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 respect publishId (#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

Improvements

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

08 May 06:24
Compare
Choose a tag to compare

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.

Changelog

0.13.30 (2024-05-08)

Features

Bug Fixes

Improvements

Fixed Issues

0.12.71

02 May 15:30
Compare
Choose a tag to compare

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.

Changelog

0.12.71 (2024-05-02)

Bug Fixes

0.12.70

26 Apr 09:12
Compare
Choose a tag to compare

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.

Changelog

0.12.70 (2024-04-26)

Bug Fixes

  • jib: allow the usage of the JDK 21 (90e381d3d)

0.12.69

25 Apr 13:04
Compare
Choose a tag to compare

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.

Changelog

0.12.69 (2024-04-25)

Improvements

  • jib: support JDK 21 LTS version (e1e175378)
  • jib: update JDK 17 LTS version to 17.0.9+9 (3f4a9fcd4)

0.12.68

12 Apr 13:04
Compare
Choose a tag to compare

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.

Changelog

0.12.68 (2024-04-12)

Bug Fixes

  • docker: update docker shipped with garden tools (caa83baae)
  • mavend: fix Mavend sha256 hash for windows-amd64 binary (f64ec4e8f)
  • terraform: fix sha256 hashes for some old terraform binaries (9a9df415d)

0.13.29

04 Apr 13:27
Compare
Choose a tag to compare

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.

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 in validate 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

12 Mar 11:39
Compare
Choose a tag to compare

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.

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

Fixed Issues

0.13.27

04 Mar 15:30
Compare
Choose a tag to compare

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.

Changelog

0.13.27 (2024-03-04)

Features

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

22 Feb 14:12
Compare
Choose a tag to compare

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.

Changelog

0.13.26 (2024-02-22)

Features

  • k8s: support mode=max for AWS ECR with cluster-buildkit build mode (#5758) (6a94cec3b)

Bug Fixes

Improvements

Fixed Issues