From c42636faab14b0e54bab4aa3ea546d5b88f65879 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 16 Apr 2024 20:22:36 -0600 Subject: [PATCH] chore(main): release 2.11.0 (#2161) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- CHANGELOG.md | 8 ++++++++ README.md | 32 ++++++++++++++++---------------- cmd/root.go | 2 +- cmd/version.txt | 2 +- 4 files changed, 26 insertions(+), 18 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25a01fee7..173c51963 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [2.11.0](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.10.1...v2.11.0) (2024-04-16) + + +### Features + +* add support for a lazy refresh ([#2184](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2184)) ([fd7ab82](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/fd7ab82796c052ddf12f78989e5d3cab49f26c55)), closes [#2183](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2183) +* use Google managed base images ([#2159](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/issues/2159)) ([1103a95](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/commit/1103a95adb0c0751df99704f71a4376ce38613a4)) + ## [2.10.1](https://github.com/GoogleCloudPlatform/cloud-sql-proxy/compare/v2.10.0...v2.10.1) (2024-03-20) diff --git a/README.md b/README.md index 5628ecf38..0b787e435 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,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.10.1" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0" curl "$URL/cloud-sql-proxy.linux.amd64" -o cloud-sql-proxy @@ -71,7 +71,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0" curl "$URL/cloud-sql-proxy.linux.386" -o cloud-sql-proxy @@ -85,7 +85,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0" curl "$URL/cloud-sql-proxy.linux.arm64" -o cloud-sql-proxy @@ -99,7 +99,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0" curl "$URL/cloud-sql-proxy.linux.arm" -o cloud-sql-proxy @@ -113,7 +113,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0" curl "$URL/cloud-sql-proxy.darwin.amd64" -o cloud-sql-proxy @@ -127,7 +127,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1" +URL="https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0" curl "$URL/cloud-sql-proxy.darwin.arm64" -o cloud-sql-proxy @@ -141,7 +141,7 @@ chmod +x cloud-sql-proxy ```sh # see Releases for other versions -curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1/cloud-sql-proxy.x64.exe -o cloud-sql-proxy.exe +curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0/cloud-sql-proxy.x64.exe -o cloud-sql-proxy.exe ``` @@ -151,7 +151,7 @@ curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1 ```sh # see Releases for other versions -curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.10.1/cloud-sql-proxy.x86.exe -o cloud-sql-proxy.exe +curl https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0/cloud-sql-proxy.x86.exe -o cloud-sql-proxy.exe ``` @@ -401,13 +401,13 @@ currently supported: The `$VERSION` is the Proxy version without the leading "v" (e.g., -`2.10.1`). +`2.11.0`). For example, to pull a particular version, use a command like: ``` shell -# $VERSION is 2.10.1 -docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.10.1 +# $VERSION is 2.11.0 +docker pull gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.0 ``` @@ -428,11 +428,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.10.1 \ - --address "0.0.0.0" --port + gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.0 \ + --address "2.11.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.11.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 @@ -455,8 +455,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.10.1 \ - --address 0.0.0.0 \ + gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.0 \ + --address 2.11.0.0 \ --port \ --credentials-file /config/sa.json ``` diff --git a/cmd/root.go b/cmd/root.go index 123e292fc..8f65f613d 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.10.1/third_party/licenses.tar.gz {x-release-please-version} + https://storage.googleapis.com/cloud-sql-connectors/cloud-sql-proxy/v2.11.0/third_party/licenses.tar.gz {x-release-please-version} ` var waitHelp = ` diff --git a/cmd/version.txt b/cmd/version.txt index 8bbb6e406..46b81d815 100644 --- a/cmd/version.txt +++ b/cmd/version.txt @@ -1 +1 @@ -2.10.1 +2.11.0