Skip to content

Commit

Permalink
chore(release): bump version to 0.13.46 (#6708)
Browse files Browse the repository at this point in the history
* chore(release): bump version to 0.13.46

* chore: update package-lock.json
  • Loading branch information
stefreak authored Dec 11, 2024
1 parent 8813634 commit 700b9c9
Show file tree
Hide file tree
Showing 29 changed files with 74 additions and 43 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,35 @@

<a name="0.13.46"></a>
## [0.13.46](https://github.com/garden-io/garden/compare/0.13.45...0.13.46) (2024-12-11)

### Bug Fixes

* retain bug-compatibility for referencing missing variables in unary operators (`!` and `typeof`). ([#6695](https://github.com/garden-io/garden/issues/6695)) ([063eb9276](https://github.com/garden-io/garden/commit/063eb9276))
* improve error message if filter expression in foreach cannot be resolved ([#6694](https://github.com/garden-io/garden/issues/6694)) ([3ff5ee07a](https://github.com/garden-io/garden/commit/3ff5ee07a))
* if block expression backwards compat ([#6693](https://github.com/garden-io/garden/issues/6693)) ([67b99ac64](https://github.com/garden-io/garden/commit/67b99ac64))
* **k8s-exec:** use containerName if specified for kubernetes-exec actions ([#6682](https://github.com/garden-io/garden/issues/6682)) ([976ab7037](https://github.com/garden-io/garden/commit/976ab7037))
* **local-k8s:** ensure correct nginx status when getting env status ([#6696](https://github.com/garden-io/garden/issues/6696)) ([3c65e4900](https://github.com/garden-io/garden/commit/3c65e4900))
* **publish:** copy image from registry if it has been pushed directly after build ([#6681](https://github.com/garden-io/garden/issues/6681)) ([405940e9e](https://github.com/garden-io/garden/commit/405940e9e))
* **template:** fix template string escaping ([#6705](https://github.com/garden-io/garden/issues/6705)) ([32f8ec66e](https://github.com/garden-io/garden/commit/32f8ec66e))

### Bundled Tool Version Updates

* **mutagen:** update version to 0.18.0 ([#6665](https://github.com/garden-io/garden/issues/6665)) ([2e2792574](https://github.com/garden-io/garden/commit/2e2792574))

### Features

* **cli:** allow generating flamegraphs for performance analysis ([#6684](https://github.com/garden-io/garden/issues/6684)) ([2fdad584a](https://github.com/garden-io/garden/commit/2fdad584a))

### Improvements

* Point to YAML file for template string error messages if possible ([#6692](https://github.com/garden-io/garden/issues/6692)) ([a9c205bd8](https://github.com/garden-io/garden/commit/a9c205bd8))

### Performance Improvements

* optimise template string resolving performance ([#6685](https://github.com/garden-io/garden/issues/6685)) ([a34856491](https://github.com/garden-io/garden/commit/a34856491))
* improve graph resolve performance ([#6670](https://github.com/garden-io/garden/issues/6670)) ([4e4cd91e0](https://github.com/garden-io/garden/commit/4e4cd91e0))
* **framework:** avoid unnecessary config graph cloning ([#6667](https://github.com/garden-io/garden/issues/6667)) ([f15dd911d](https://github.com/garden-io/garden/commit/f15dd911d))

<a name="0.13.45"></a>
## [0.13.45](https://github.com/garden-io/garden/compare/0.13.44...0.13.45) (2024-11-20)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ _If you love Garden, please ★ star this repository to show your support :green
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://docs.garden.io/?utm_source=github">Docs</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://github.com/garden-io/garden/tree/0.13.45/examples">Examples</a>
<a href="https://github.com/garden-io/garden/tree/0.13.46/examples">Examples</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://garden.io/blog/?utm_source=github">Blog</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garden-io/cli",
"version": "0.13.45",
"version": "0.13.46",
"description": "Cloud native testing platform for testing and developing container applications on Kubernetes",
"type": "module",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garden-io/core",
"version": "0.13.45",
"version": "0.13.46",
"description": "A full-featured development framework for containers and serverless",
"type": "module",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ If you'd like to better understand how a Garden project is configured, we recomm
through our [first project tutorial](../tutorials/your-first-project/README.md) which walks you through configuring a Garden project step-by-step.

If you like to dive right in and configure your own project for Garden, we recommend referencing our [example
projects on GitHub](https://github.com/garden-io/garden/tree/0.13.45/examples) and the section of our docs title [Using Garden](../using-garden/configuration-overview.md), which covers all parts of Garden in detail.
projects on GitHub](https://github.com/garden-io/garden/tree/0.13.46/examples) and the section of our docs title [Using Garden](../using-garden/configuration-overview.md), which covers all parts of Garden in detail.

If you have any questions or feedback—or just want to say hi 🙂—we encourage you to join our [Discord community](https://go.garden.io/discord)!
2 changes: 1 addition & 1 deletion docs/guides/using-garden-in-circleci.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ For the purposes of this example we'll be using [CircleCI](https://circleci.com)

## Project overview

The project is based on our basic [demo-project](https://github.com/garden-io/garden/tree/0.13.45/examples/demo-project) example, but configured for multiple environments. Additionally it contains a CircleCI config file. You'll find the entire source code [here](https://github.com/garden-io/ci-demo-project).
The project is based on our basic [demo-project](https://github.com/garden-io/garden/tree/0.13.46/examples/demo-project) example, but configured for multiple environments. Additionally it contains a CircleCI config file. You'll find the entire source code [here](https://github.com/garden-io/ci-demo-project).

The CI pipeline is configured so that Garden tests the project and deploys it to a **preview** environment on every pull request. Additionally, it tests the project and deploys it to a separate **staging** environment on every merge to the `main` branch.

Expand Down
4 changes: 2 additions & 2 deletions docs/k8s-plugins/actions/deploy/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ spec:

With this approach, you can add the Garden action to your project without making any changes to existing config.

Here's a [complete example project](https://github.com/garden-io/garden/tree/0.13.45/examples/k8s-deploy-patch-resources) using this approach.
Here's a [complete example project](https://github.com/garden-io/garden/tree/0.13.46/examples/k8s-deploy-patch-resources) using this approach.

### Option 2: Using Garden template strings

Expand Down Expand Up @@ -259,7 +259,7 @@ spec:
image: ${actions.build.api.outputs.deployment-image-id} # <--- Garden will resolve this to the correct image before applying the manifest
```

Here's a [complete example](https://github.com/garden-io/garden/tree/0.13.45/examples/k8s-deploy-shared-manifests) using this approach. The downside though is that this is no longer a valid Kubernetes manifest.
Here's a [complete example](https://github.com/garden-io/garden/tree/0.13.46/examples/k8s-deploy-shared-manifests) using this approach. The downside though is that this is no longer a valid Kubernetes manifest.

Similarly, if you define your manifest inline you can set the image like so:

Expand Down
2 changes: 1 addition & 1 deletion docs/k8s-plugins/remote-k8s/ingress-and-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ order: 3

# 3. Set Up Ingress, TLS and DNS

By default, Garden will not install an ingress controller for remote environments. This can be toggled by setting the [`setupIngressController` flag](../../reference/providers/kubernetes.md#providerssetupingresscontroller) to `nginx`. Alternatively, you can set up your own ingress controller, e.g. using [Traefik](https://traefik.io/), [Ambassador](https://www.getambassador.io/) or [Istio](https://istio.io/). You can find an example for [using Garden with Istio](https://github.com/garden-io/garden/tree/0.13.45/examples/istio) in our [examples directory](https://github.com/garden-io/garden/tree/0.13.45/examples).
By default, Garden will not install an ingress controller for remote environments. This can be toggled by setting the [`setupIngressController` flag](../../reference/providers/kubernetes.md#providerssetupingresscontroller) to `nginx`. Alternatively, you can set up your own ingress controller, e.g. using [Traefik](https://traefik.io/), [Ambassador](https://www.getambassador.io/) or [Istio](https://istio.io/). You can find an example for [using Garden with Istio](https://github.com/garden-io/garden/tree/0.13.46/examples/istio) in our [examples directory](https://github.com/garden-io/garden/tree/0.13.46/examples).

You'll also need to point one or more DNS entries to your cluster, and configure a TLS certificate for the hostnames
you will expose for ingress.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/action-types/Build/jib-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tocTitle: "`jib-container` Build"

## Description

Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.45/examples/jib-container) to see it in action.
Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.46/examples/jib-container) to see it in action.

The image is always built locally, directly from the source directory (see the note on that below), before shipping the container image to the right place. You can set `build.tarOnly: true` to only build the image as a tarball.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/module-types/jib-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Modules are deprecated and will be removed in version `0.14`. Please use [action

## Description

Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.45/examples/jib-container) to see it in action.
Extends the [container type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.46/examples/jib-container) to see it in action.

The image is always built locally, directly from the source directory (see the note on that below), before shipping the container image to the right place. You can set `build.tarOnly: true` to only build the image as a tarball.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/conftest-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Simply add this provider to your project configuration, and configure your polic
reference for how to configure default policies, default namespaces, and test failure thresholds for the generated
actions.

See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.45/examples/conftest) for a simple
See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.46/examples/conftest) for a simple
usage example.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/conftest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tocTitle: "`conftest`"

This provider allows you to validate your configuration files against policies that you specify, using the [conftest tool](https://github.com/open-policy-agent/conftest) and Open Policy Agent rego query files. The provider creates Test action types of the same name, which allow you to specify files to validate.

Note that, in many cases, you'll actually want to use more specific providers that can automatically configure your `conftest` actions, e.g. the [`conftest-container`](./conftest-container.md) and/or [`conftest-kubernetes`](./conftest-kubernetes.md) providers. See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.45/examples/conftest) for a simple usage example of the latter.
Note that, in many cases, you'll actually want to use more specific providers that can automatically configure your `conftest` actions, e.g. the [`conftest-container`](./conftest-container.md) and/or [`conftest-kubernetes`](./conftest-kubernetes.md) providers. See the [conftest example project](https://github.com/garden-io/garden/tree/0.13.46/examples/conftest) for a simple usage example of the latter.

If those don't match your needs, you can use this provider directly and manually configure your `conftest` actions. Simply add this provider to your project configuration, and see the [conftest action documentation](../action-types/Test/conftest.md) for a detailed reference. Also, check out the below reference for how to configure default policies, default namespaces, and test failure thresholds for all `conftest` actions.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/hadolint.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This provider creates a [`hadolint`](../action-types/Test/hadolint.md) Test acti

To configure `hadolint`, you can use `.hadolint.yaml` config files. For each Test, we first look for one in the relevant action's root. If none is found there, we check the project root, and if none is there we fall back to default configuration. Note that for reasons of portability, we do not fall back to global/user configuration files.

See the [hadolint docs](https://github.com/hadolint/hadolint#configure) for details on how to configure it, and the [hadolint example project](https://github.com/garden-io/garden/tree/0.13.45/examples/hadolint) for a usage example.
See the [hadolint docs](https://github.com/hadolint/hadolint#configure) for details on how to configure it, and the [hadolint example project](https://github.com/garden-io/garden/tree/0.13.46/examples/hadolint) for a usage example.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/jib.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tocTitle: "`jib`"

Provides support for [Jib](https://github.com/GoogleContainerTools/jib) via the [jib action type](../action-types/Build/jib-container.md).

Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.45/examples/jib-container) to see it in action.
Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.13.46/examples/jib-container) to see it in action.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).

Expand Down
4 changes: 2 additions & 2 deletions docs/terraform-plugin/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Under the hood, Garden simply wraps Terraform, so there's no magic involved. Gar

Terraform resources can be provisioned through the `terraform` provider when initializing Garden, or via `terraform` actions that are utilized like other actions in your stack.

The former, having a single Terraform stack for your whole project, is most helpful if other provider configurations need to reference the outputs from your Terraform stack, or if most/all of your services depend on the infrastructure provisioned in your Terraform stack. A good example of this is the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.45/examples/terraform-gke) project, which provisions a GKE cluster that the `kubernetes` provider then runs on, along with the services in the project. The drawback is that Garden doesn't currently watch for changes in those Terraform files, and you need to restart to apply new changes, or apply them manually.
The former, having a single Terraform stack for your whole project, is most helpful if other provider configurations need to reference the outputs from your Terraform stack, or if most/all of your services depend on the infrastructure provisioned in your Terraform stack. A good example of this is the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.46/examples/terraform-gke) project, which provisions a GKE cluster that the `kubernetes` provider then runs on, along with the services in the project. The drawback is that Garden doesn't currently watch for changes in those Terraform files, and you need to restart to apply new changes, or apply them manually.

Using `terraform` _Deploy actions_, can be better if your other providers don't need to reference the stack outputs but other Deploy, Run and Test actions do. In this style, you can basically create small Terraform stacks that are part of your Stack Graph much like other services. A good example would be deploying a database instance, that other services in your project can then connect to.

Expand Down Expand Up @@ -87,6 +87,6 @@ Now when you deploy a new Terraformed environment, the new backend statefile wil
## Next steps
Check out the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.45/examples/terraform-gke) project. Also take a look at the [Terraform provider reference](../reference/providers/terraform.md) and the [Terraform Deploy action type reference](../reference/action-types/Deploy/terraform.md) for details on all the configuration parameters.
Check out the [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.46/examples/terraform-gke) project. Also take a look at the [Terraform provider reference](../reference/providers/terraform.md) and the [Terraform Deploy action type reference](../reference/action-types/Deploy/terraform.md) for details on all the configuration parameters.
If you're having issues with Terraform itself, please refer to the [official docs](https://developer.hashicorp.com/terraform/docs).
2 changes: 1 addition & 1 deletion docs/terraform-plugin/configure-provider.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ providers:
...
```

If you'd like to apply the stack when starting Garden, and then reference the stack outputs in other providers (or actions), you need to add a couple of more flags. Here's the project config from the aforementioned [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.45/examples/terraform-gke):
If you'd like to apply the stack when starting Garden, and then reference the stack outputs in other providers (or actions), you need to add a couple of more flags. Here's the project config from the aforementioned [terraform-gke example](https://github.com/garden-io/garden/tree/0.13.46/examples/terraform-gke):

```yaml
apiVersion: garden.io/v1
Expand Down
4 changes: 2 additions & 2 deletions docs/use-cases/jumpstart-idp.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ Join our [Discord community](https://go.garden.io/discord) 🌸 for access to Ga

## Examples

- [Remote sources example project](https://github.com/garden-io/garden/tree/0.13.45/examples/remote-sources)
- [Remote sources example project](https://github.com/garden-io/garden/tree/0.13.46/examples/remote-sources)

- [kubernetes Deploy action type example with config templates](https://github.com/garden-io/garden/tree/0.13.45/examples/k8s-deploy-config-templates)
- [kubernetes Deploy action type example with config templates](https://github.com/garden-io/garden/tree/0.13.46/examples/k8s-deploy-config-templates)
4 changes: 2 additions & 2 deletions docs/use-cases/local-development-remote-clusters.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@ Join our [Discord community](https://go.garden.io/discord) 🌸 for access to Ga

## Examples

- [Kubernetes Deploy action example project](https://github.com/garden-io/garden/tree/0.13.45/examples/k8s-deploy-patch-resources)
- [Local mode for `kubernetes` action type](https://github.com/garden-io/garden/tree/0.13.45/examples/local-mode-k8s)
- [Kubernetes Deploy action example project](https://github.com/garden-io/garden/tree/0.13.46/examples/k8s-deploy-patch-resources)
- [Local mode for `kubernetes` action type](https://github.com/garden-io/garden/tree/0.13.46/examples/local-mode-k8s)
2 changes: 1 addition & 1 deletion docs/use-cases/on-demand-preview-envs.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ Join our [Discord community](https://go.garden.io/discord) 🌸 for access to Ga

## Examples

- [Kubernetes Deploy action example project](https://github.com/garden-io/garden/tree/0.13.45/examples/k8s-deploy-patch-resources)
- [Kubernetes Deploy action example project](https://github.com/garden-io/garden/tree/0.13.46/examples/k8s-deploy-patch-resources)
2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garden-io/e2e",
"version": "0.13.45",
"version": "0.13.46",
"description": "End-to-end tests for the Garden CLI",
"type": "module",
"repository": {
Expand Down
Loading

0 comments on commit 700b9c9

Please sign in to comment.