Garden 0.12.45 is out! 🎉
This is a maintenance release. It includes a few bug fixes, minor features, improvements, and internal tools version updates.
See the changelog below for the details.
Many thanks to @sixhobbits, @worktheclock, @ryanhair, @carolinapc, and @highb for their contributions to this release!
NOTE! SOME CHANGES MAY CAUSE COMPATIBILITY ISSUES.
POTENTIALLY BREAKING CHANGES
Allow multiple port-forwards in local mode (a98af5363)
The local mode configuration format has been changed to support multiple port-forwards. The local mode is still marked as experimental feature, so it means that some incompatible config changes could be done until the first non-experimental release.
Garden requirements checker (63628b13b)
- You might need to update your
rsync
to version3.1.0+
. Mac machines use quite a relic version by default. If you see an error about the oldrsync
version, please update it withbrew upgrade rsync
. - If you downgrade to
0.12.44
or any earlier version, you'll see an error likeError validating ~/.garden/global-config.yml: key "requirementsCheck" is not allowed at path [requirementsCheck]
. In order to fix it, just remove the wholerequirementsCheck
entry from the Garden configuration file~/.garden/global-config.yml
.
Changed default Terraform version from 0.1.3.
to 1.2.9
(8f6a3be44)
Beware of the breaking changes made in Terraform 0.15.0
As a quick-fix, you can override the Terraform version using the version
configuration parameter of the terraform provider
by setting:
- one of the old supported versions:
0.12.26
,0.13.3
,0.14.7
null
to use the Terraform CLI defined in yourPATH
Renamed branch master
to main
(935eecff6)
If you use a Mac machine, brew update
command may fail with an error like this:
fatal: couldn't find remote ref refs/heads/master
Error: Fetching /opt/homebrew/Library/Taps/garden-io/homebrew-garden failed!
Error: Some taps failed to update!
The following taps can not read their remote branches:
garden-io/garden
This is happening because the remote branch was renamed or deleted.
Reset taps to point to the correct remote branches by running `brew tap --repair`
To repair this, just run the suggested command brew tap --repair
and re-run brew update
.
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.45 for Alpine AMD64 (tar.gz)
- Garden v0.12.45 for Linux AMD64 (tar.gz)
- Garden v0.12.45 for MacOS AMD64 (tar.gz)
- Garden v0.12.45 for Windows AMD64 (.zip)
Changelog
Features
- add option to run git pulls in parallel (5554a3dc8)
- allow module overlap if one or both of them are disabled (#3222) (b97678999)
- use M1 native tools where available (#3185)
- k8s: simple
mode=max
support with a list of not supported registries (#3239)
Bug Fixes
- subcommand help listing (#3261) (5e9593440)
- ensure semver format in git/rsync version regex (81cb0f98f)
- make copy target actually default to source (#3223) (b8960204c)
- docs: fixed template strings rendering in docs generator (7bc1e602a)
- cli: run exec commands from proj root (5d0cd005c)
- core: fix Rosetta detection logic for OSX (ff96b2ff1)
- core: fixed concurrency issue with plugin tool downloads (1c65ac7f5)
Improvements
- more precise error handling in binary tool version checker (c102ebae9)
- check for requirements being installed (#3097) (63628b13b)
- dev-mode: allow non-subpaths for dev-mode sync (2f71ce5d2) and (83de16e6)
- jib: stricter validation and better error messages (203ef357a)
- jib: updated LTS JDKs (8 and 11) to the latest releases (75ed16436)
- jib: supported JDK 17 LTS version (3f3c91f31)
- jib: supported OpenJDK 13 (12ffec527)
- jib: configurable JDK path (3fa1fe45b)
- jib: upgraded Gradle version to
7.5.1
(6a6504e1d) - jib: upgraded Maven version to
3.8.5
(84bcb67b2) - jib: configurable Maven binary (dd8396c08)
- jib: configurable Maven phases in jib modules (e0b6d0814)
- local-mode: allow multiple port-forwards (a98af5363)
- terraform: upgraded default terraform tool version to
1.2.9
(#3220) (8f6a3be44)