Skip to content

Commit

Permalink
chore(main): release 2.11.0 (#2161)
Browse files Browse the repository at this point in the history
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
  • Loading branch information
release-please[bot] authored Apr 17, 2024
1 parent 9a04881 commit c42636f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 18 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)


Expand Down
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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

Expand All @@ -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
```

</details>
Expand All @@ -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
```

</details>
Expand Down Expand Up @@ -401,13 +401,13 @@ currently supported:

<!-- {x-release-please-start-version} -->
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
```

<!-- {x-release-please-end} -->
Expand All @@ -428,11 +428,11 @@ the proxy's internal port to the host. For example, you can use:
<!-- {x-release-please-start-version} -->
```shell
docker run --publish <host-port>:<proxy-port> \
gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.10.1 \
--address "0.0.0.0" --port <proxy-port> <instance-connection-name>
gcr.io/cloud-sql-connectors/cloud-sql-proxy:2.11.0 \
--address "2.11.0.0" --port <proxy-port> <instance-connection-name>
```
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
Expand All @@ -455,8 +455,8 @@ For example, a full command using a JSON credentials file might look like
docker run \
--publish <host-port>:<proxy-port> \
--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 <proxy-port> \
--credentials-file /config/sa.json <instance-connection-name>
```
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 = `
Expand Down
2 changes: 1 addition & 1 deletion cmd/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.10.1
2.11.0

0 comments on commit c42636f

Please sign in to comment.