Skip to content

Commit

Permalink
v0.27.1 changelog and version update
Browse files Browse the repository at this point in the history
  • Loading branch information
eikenb committed Sep 22, 2021
1 parent edd2dcb commit dc90cd0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
19 changes: 18 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
## v0.27.1 (Sep 23, 2021)

IMPROVEMENTS:

* Updated command execution on \*nix systems to call the command directly,
without the `sh -c` wrapping shell command, *only* in cases where the command
is a single word (no spaces). This allows docker to run in environments (like
a minimal docker image) where there is no shell (`sh`). Multi-word commands
will continue to use the wrapping shell call.
[[GH-1509](https://github.com/hashicorp/consul-template/pull/1509),
[GH-1508](https://github.com/hashicorp/consul-template/issues/1508)]

SECURITY:

* Updated golang.or/x/crypto dependency for CVE-2020-29652. [[GH-1507](https://github.com/hashicorp/consul-template/issues/1507)]


## v0.27.0 (Aug 16, 2021)

BREAKING CHANGES:
* All command execution calls are now made (on *nix systems) using a shell command call ('/bin/sh -c ...') with [process group](https://man7.org/linux/man-pages/man2/setpgid.2.html) set to ensure all signals are propagated to the called commands. This was done to eliminate the need for parsing the shell command as it was a continual source of bugs. Windows systems currently only support single command calls because of no (known) 'sh -c' equivalent on Windows. [[GH-1496](https://github.com/hashicorp/consul-template/pull/1496), [GH-1494](https://github.com/hashicorp/consul-template/pull/1494)]
* All command execution calls are now made (on \*nix systems) using a shell command call ('/bin/sh -c ...') with [process group](https://man7.org/linux/man-pages/man2/setpgid.2.html) set to ensure all signals are propagated to the called commands. This was done to eliminate the need for parsing the shell command as it was a continual source of bugs. Windows systems currently only support single command calls because of no (known) 'sh -c' equivalent on Windows. [[GH-1496](https://github.com/hashicorp/consul-template/pull/1496), [GH-1494](https://github.com/hashicorp/consul-template/pull/1494)]

IMPROVEMENTS:
* New Docker Image. Similar to old Alpine image but modernized and simplified [[GH-1481](https://github.com/hashicorp/consul-template/issues/1481), [GH-1484](https://github.com/hashicorp/consul-template/pull/1484)]
Expand Down
2 changes: 1 addition & 1 deletion version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package version
import "fmt"

const (
Version = "0.27.0"
Version = "0.27.1"
VersionPrerelease = "" // "-dev", "-beta", "-rc1", etc. (include dash)
)

Expand Down

0 comments on commit dc90cd0

Please sign in to comment.