diff --git a/CHANGELOG.md b/CHANGELOG.md index 2948f3996..8b1da724f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## [2.12.0](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.11.4...v2.12.0) (2024-07-17) + + +### Features + +* Add parameter --min-sigterm-delay allow new connections for a minimum number off seconds before shutting down the proxy. ([#2266](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2266)) ([52cd0d9](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/52cd0d95695d2b8e9456825e7c0bd452234a867b)), closes [#1640](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/1640) +* add support for Debian bookworm ([#2267](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2267)) ([fbec17b](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/fbec17bd2c8c0898bdf41eb22669a871e5048ba9)) + + +### Bug Fixes + +* ignore go-fuse ctx in Lookup ([#2268](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2268)) ([ae8ec35](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/ae8ec359b43056fe815ac7c649388232bc1b4171)) +* Make the process exit if there as an error accepting a fuse connection. ([#2257](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2257)) ([bb2a0ae](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/bb2a0ae76d518eaeec69fcc2ac7e930a4bd7e024)) + ## [2.11.4](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.11.3...v2.11.4) (2024-06-12) diff --git a/README.md b/README.md index 47ed144dc..beeb85ec2 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ following instructions for your OS and CPU architecture. ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0" curl "$URL/cloud-sql-proxy.linux.amd64" -o cloud-sql-proxy @@ -73,7 +73,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0" curl "$URL/cloud-sql-proxy.linux.386" -o cloud-sql-proxy @@ -87,7 +87,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0" curl "$URL/cloud-sql-proxy.linux.arm64" -o cloud-sql-proxy @@ -101,7 +101,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0" curl "$URL/cloud-sql-proxy.linux.arm" -o cloud-sql-proxy @@ -115,7 +115,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0" curl "$URL/cloud-sql-proxy.darwin.amd64" -o cloud-sql-proxy @@ -129,7 +129,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0" curl "$URL/cloud-sql-proxy.darwin.arm64" -o cloud-sql-proxy @@ -143,7 +143,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4/cloud-sql-proxy.x64.exe -o cloud-sql-proxy.exe +curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0/cloud-sql-proxy.x64.exe -o cloud-sql-proxy.exe ``` @@ -153,7 +153,7 @@ curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4 ```sh # see Releases for other versions -curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4/cloud-sql-proxy.x86.exe -o cloud-sql-proxy.exe +curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0/cloud-sql-proxy.x86.exe -o cloud-sql-proxy.exe ``` @@ -409,13 +409,13 @@ currently supported: The `$VERSION` is the Proxy version without the leading "v" (e.g., -`2.11.4`). +`2.12.0`). For example, to pull a particular version, use a command like: ``` shell -# $VERSION is 2.11.4 -docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 +# $VERSION is 2.12.0 +docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 ``` @@ -437,11 +437,11 @@ the proxy's internal port to the host. For example, you can use: ```shell docker run --publish : \ - gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 \ - --address "0.0.0.0" --port + gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 \ + --address "2.12.0.0" --port ``` -You'll need the `--address "0.0.0.0"` so that the proxy doesn't only listen for +You'll need the `--address "2.12.0.0"` so that the proxy doesn't only listen for connections originating from *within* the container. You will need to authenticate using one of the methods outlined in the @@ -465,8 +465,8 @@ For example, a full command using a JSON credentials file might look like docker run \ --publish : \ --mount type=bind,source="$(pwd)"/sa.json,target=/config/sa.json \ - gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 \ - --address 0.0.0.0 \ + gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 \ + --address 2.12.0.0 \ --port \ --credentials-file /config/sa.json ``` diff --git a/cmd/root.go b/cmd/root.go index 4db15cf3b..fdc46e2b4 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -309,7 +309,7 @@ Third Party Licenses To view all licenses for third party dependencies used within this distribution please see: - https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.4/third_party/licenses.tar.gz {x-release-please-version} + https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.12.0/third_party/licenses.tar.gz {x-release-please-version} ` var waitHelp = ` diff --git a/cmd/version.txt b/cmd/version.txt index 7cd5929f9..d8b698973 100644 --- a/cmd/version.txt +++ b/cmd/version.txt @@ -1 +1 @@ -2.11.4 +2.12.0 diff --git a/examples/k8s-health-check/README.md b/examples/k8s-health-check/README.md index f91a05300..32bc52545 100644 --- a/examples/k8s-health-check/README.md +++ b/examples/k8s-health-check/README.md @@ -173,7 +173,7 @@ for more than 1 minute. - name: my-application image: gcr.io/my-container/my-application:1.1 - name: cloud-sql-proxy - image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 + image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 args: # Set the --max-connections flag to 50 - "--max-connections" diff --git a/examples/k8s-service/README.md b/examples/k8s-service/README.md index ba6d3026b..3a1047a3d 100644 --- a/examples/k8s-service/README.md +++ b/examples/k8s-service/README.md @@ -172,7 +172,7 @@ For the PgBouncer deployment, we add the proxy as a sidecar, starting it on port ``` yaml - name: cloud-sql-proxy - image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 # make sure to use the latest version + image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 # make sure to use the latest version args: # Replace DB_PORT with the port the proxy should listen on - "--port=" diff --git a/examples/k8s-sidecar/README.md b/examples/k8s-sidecar/README.md index 79be8838f..bfcc19726 100644 --- a/examples/k8s-sidecar/README.md +++ b/examples/k8s-sidecar/README.md @@ -183,7 +183,7 @@ as a separate service for several reasons: - name: cloud-sql-proxy # It is recommended to use the latest version of the Cloud SQL Auth Proxy # Make sure to update on a regular schedule! - image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.4 # make sure to use the latest version + image: gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.12.0 # make sure to use the latest version args: # If connecting from a VPC-native GKE cluster, you can use the # following flag to have the proxy connect over private IP