Skip to content

Commit 0dbf501

Browse files
1.18.2 Release manual backport (#21129)
* changelog and version (#21105) * update changelog * try with release engineering optional clean flag (#21126) * Release use releng branch (#21127) * try with release engineering optional clean flag * rename to branch name without slash --------- Co-authored-by: wangxinyi7 <[email protected]>
1 parent a15c9c3 commit 0dbf501

File tree

3 files changed

+44
-7
lines changed

3 files changed

+44
-7
lines changed

.github/workflows/build.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,15 @@ jobs:
132132
PRERELEASE_VERSION: ${{ needs.set-product-version.outputs.pre-version }}
133133
CGO_ENABLED: "0"
134134
GOLDFLAGS: "${{needs.set-product-version.outputs.shared-ldflags}}"
135-
uses: hashicorp/actions-go-build@v0.1.7
135+
uses: hashicorp/actions-go-build@make-clean-flag-optional
136136
with:
137137
product_name: ${{ env.PKG_NAME }}
138138
product_version: ${{ needs.set-product-version.outputs.product-version }}
139139
go_version: ${{ needs.get-go-version.outputs.go-version }}
140140
os: ${{ matrix.goos }}
141141
arch: ${{ matrix.goarch }}
142-
reproducible: report
142+
reproducible: nope
143+
clean: false
143144
instructions: |-
144145
cp LICENSE $TARGET_DIR/LICENSE.txt
145146
go build -ldflags="$GOLDFLAGS" -o "$BIN_PATH" -trimpath -buildvcs=false
@@ -232,14 +233,15 @@ jobs:
232233
PRERELEASE_VERSION: ${{ needs.set-product-version.outputs.pre-version }}
233234
CGO_ENABLED: "0"
234235
GOLDFLAGS: "${{needs.set-product-version.outputs.shared-ldflags}}"
235-
uses: hashicorp/actions-go-build@v0.1.7
236+
uses: hashicorp/actions-go-build@make-clean-flag-optional
236237
with:
237238
product_name: ${{ env.PKG_NAME }}
238239
product_version: ${{ needs.set-product-version.outputs.product-version }}
239240
go_version: ${{ needs.get-go-version.outputs.go-version }}
240241
os: ${{ matrix.goos }}
241242
arch: ${{ matrix.goarch }}
242-
reproducible: report
243+
reproducible: nope
244+
clean: false
243245
instructions: |-
244246
cp LICENSE $TARGET_DIR/LICENSE.txt
245247
go build -ldflags="$GOLDFLAGS" -o "$BIN_PATH" -trimpath -buildvcs=false
@@ -283,14 +285,15 @@ jobs:
283285
PRERELEASE_VERSION: ${{ needs.set-product-version.outputs.pre-version }}
284286
CGO_ENABLED: "0"
285287
GOLDFLAGS: "${{needs.set-product-version.outputs.shared-ldflags}}"
286-
uses: hashicorp/actions-go-build@v0.1.7
288+
uses: hashicorp/actions-go-build@make-clean-flag-optional
287289
with:
288290
product_name: ${{ env.PKG_NAME }}
289291
product_version: ${{ needs.set-product-version.outputs.product-version }}
290292
go_version: ${{ needs.get-go-version.outputs.go-version }}
291293
os: ${{ matrix.goos }}
292294
arch: ${{ matrix.goarch }}
293-
reproducible: report
295+
reproducible: nope
296+
clean: false
294297
instructions: |-
295298
cp LICENSE $TARGET_DIR/LICENSE.txt
296299
go build -ldflags="$GOLDFLAGS" -tags netcgo -o "$BIN_PATH" -trimpath -buildvcs=false

CHANGELOG.md

+34
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,37 @@
1+
## 1.18.2 (May 14, 2024)
2+
3+
**Enterprise LTS**: Consul Enterprise 1.18 is a Long-Term Support (LTS) release.
4+
5+
SECURITY:
6+
7+
* Bump Dockerfile base image to `alpine:3.19`. [[GH-20897](https://github.com/hashicorp/consul/issues/20897)]
8+
* Update `vault/api` to v1.12.2 to address [CVE-2024-28180](https://nvd.nist.gov/vuln/detail/CVE-2024-28180)
9+
(removes indirect dependency on impacted `go-jose.v2`) [[GH-20910](https://github.com/hashicorp/consul/issues/20910)]
10+
* Upgrade Go to use 1.21.10. This addresses CVEs
11+
[CVE-2024-24787](https://nvd.nist.gov/vuln/detail/CVE-2024-24787) and
12+
[CVE-2024-24788](https://nvd.nist.gov/vuln/detail/CVE-2024-24788) [[GH-21074](https://github.com/hashicorp/consul/issues/21074)]
13+
* Upgrade to support Envoy `1.26.8, 1.27.4, 1.27.5, 1.28.2 and 1.28.3`. This resolves CVEs
14+
[CVE-2024-27919](https://nvd.nist.gov/vuln/detail/CVE-2024-27919) (`http2`). [[GH-20956](https://github.com/hashicorp/consul/issues/20956)] and [CVE-2024-32475](https://nvd.nist.gov/vuln/detail/CVE-2024-32475) (`auto_sni`). [[GH-21030](https://github.com/hashicorp/consul/issues/21030)]
15+
* Upgrade to support k8s.io/apimachinery `v0.18.7 or higher`. This resolves CVE
16+
[CVE-2020-8559](https://nvd.nist.gov/vuln/detail/CVE-2020-8559). [[GH-21034](https://github.com/hashicorp/consul/issues/21034)]
17+
* Upgrade to use Go `1.21.9`. This resolves CVE
18+
[CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) (`http2`). [[GH-20956](https://github.com/hashicorp/consul/issues/20956)]
19+
* Upgrade to use golang.org/x/net `v0.24.0`. This resolves CVE
20+
[CVE-2023-45288](https://nvd.nist.gov/vuln/detail/CVE-2023-45288) (`x/net`). [[GH-20956](https://github.com/hashicorp/consul/issues/20956)]
21+
22+
IMPROVEMENTS:
23+
24+
* gateways: service defaults configuration entries can now be used to set default upstream limits for mesh-gateways [[GH-20945](https://github.com/hashicorp/consul/issues/20945)]
25+
* connect: Add ability to disable Auto Host Header Rewrite on Terminating Gateway at the service level [[GH-20802](https://github.com/hashicorp/consul/issues/20802)]
26+
27+
BUG FIXES:
28+
29+
* dns: fix a bug with sameness group queries in DNS where responses did not respect [`DefaultForFailover`](/consul/docs/connect/config-entries/sameness-group#defaultforfailover).
30+
DNS requests against sameness groups without this field set will now error as intended.
31+
* error running consul server in 1.18.0: failed to configure SCADA provider user's home directory path: $HOME is not defined [[GH-20926](https://github.com/hashicorp/consul/issues/20926)]
32+
* server: fix Ent snapshot restore on CE when CE downgrade is enabled [[GH-20977](https://github.com/hashicorp/consul/issues/20977)]
33+
* xds: Make TCP external service registered with terminating gateway reachable from peered cluster [[GH-19881](https://github.com/hashicorp/consul/issues/19881)]
34+
135
## 1.18.1 (March 26, 2024)
236

337
Enterprise LTS: Consul Enterprise 1.18 is a Long-Term Support (LTS) release.

version/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.18.2-dev
1+
1.18.2

0 commit comments

Comments
 (0)