Skip to content

Releases: GoogleCloudPlatform/cloud-sql-proxy

Release v1.17

22 Apr 18:37
Compare
Choose a tag to compare

Release Notes

  • *Updated base image for gcr.io/cloudsql-docker to gcr.io/distroless/base-debian10:nonroot
  • Fix compatibility with google.golang.org/api v0.15.0 or higher
  • Added -skip_failed_instance_config: Setting this flag will allow you to prevent the proxy from terminating when some instance configurations could not be parsed and/or are unavailable.
  • Update to dial database connections using proxy.FromEnvironment. This enables support for proxies such as SOCKS5.

* Note: This change in base image causes the proxy to run as nonroot, which improves security. This may conflict if you have already specified SecurityContext to do so. See #385 for context.

filename sha256 hash
cloud_sql_proxy.darwin.386 fa1253258144084d89a78d225d99f8379b2d75ead17da469e25c82577eba3223
cloud_sql_proxy.darwin.amd64 36b79ba67662e6b2bb4a06df9465d5503f564020f9974eca60b21cf4928ea211
cloud_sql_proxy.linux.386 90f2715f298cdf456a7f4c47ed6a8bb5044dba7c7e4bd5d12c35daca00aaf8c6
cloud_sql_proxy.linux.amd64 5ae3fdc6171a60e31f70f1054bc332e2daf44215c521a5fd69dc21c59b0b80d2
cloud_sql_proxy_x86.exe 2449b2da9d86f3260f58a5a9f26155bc72d1830c8c159242e1b10dc5a029d546
cloud_sql_proxy_x64.exe a905f26a89880d9a3c4b17daac33dbc758e174030eff0ac3700a063a22eb3e0f

Release v1.16

10 Oct 20:32
e802c2c
Compare
Choose a tag to compare

Release Notes

  • Fix bug where proxy didn't exit on some startup errors(#310)
  • Fix bug where proxy failed to update during instance metadata (#311)

Note: The GCR image from this version forward are built from Dockerfile included in this repo. If you are reliant on other tools outside of the cloud_sql_proxy you may encounter some issues. Please see #317 for more details.

filename sha256 hash
cloud_sql_proxy.darwin.386 b42176c5e11e35a42d43d00adcfd81bc207a65ca401dc327de9eb96aa9a18b4a
cloud_sql_proxy.darwin.amd64 d5a6870959d1bdeefe390039b9f782d8af60bf06616590405dc8ead374d240ea
cloud_sql_proxy.linux.386 9d543e4ac1df190d2f54399a7ff46f0b38d0f0a72a0fc69f6579e24ca50cdea9
cloud_sql_proxy.linux.amd64 6e4df1e2b62e41b3c01818f75dd46a99cb0e9d385c3b6237281251e28cb38432
cloud_sql_proxy_x86.exe 341a3f527e13a88758413b5f81391b18bf1d9268b5e52689815c726b8058b64b
cloud_sql_proxy_x64.exe d1576ef8c276b07ac970d2a1a0ce8db436863c1b7d5b83c8b290af8a7d28f456

Release v1.15

28 Aug 22:47
d93c53a
Compare
Choose a tag to compare

Release Notes

  • Added feature to specify per instance custom socket path (#289)
  • Updated default dialer IP type to "PUBLIC,PRIVATE" (#294)
  • Updated Dockerfile for building proxy images. (#296)
  • Added gcr.io mirrors in other regions (us, eu, and asia) (#295)
  • Add InitWithClient and deprecate InitClient to prevent a mutex copy. (#273)
filename sha256 hash
cloud_sql_proxy.darwin.386 2dfcd3ca2b8a670f0cd8649a65c347605dbe4440465daccac5790a7114298dfa
cloud_sql_proxy.darwin.amd64 f64dd0dff560596d3e1a37ea5dc7dba84c50433a0287565f180db88ef1c30fb9
cloud_sql_proxy.linux.386 895f8681e49aa1acc35605bb7dea387093200b57e475f2eee68df91a130011bf
cloud_sql_proxy.linux.amd64 953628e39b1be62ffd9e970a8f4ea2175cc9b6aa97c7ef67cbd89556b186d7bb
cloud_sql_proxy_x86.exe 8e8bddd7da738f692687c1bdb46dfdde2ce80813d87cf8d82662777da3522978
cloud_sql_proxy_x64.exe 3989053185019aae69475f6f7859514f86fff297d980ca6713360ba8e511d348

1.14 Release

18 Apr 18:50
c70a36b
Compare
Choose a tag to compare

Notable changes:

  • Updates to authentication flow (#229, #233, #266, #224)
  • Publicly expose driver so it can be wrapped programmatically (#166)
  • Refresh SSL certs early to reduce initial connection latency (#222)

The container image for this release is located at: gcr.io/cloudsql-docker/gce-proxy:1.14

The precompiled binaries can be found at the standard locations:

filename sha256 hash
cloud_sql_proxy.darwin.386 31ebdc8b95e316494394e4cbd1c2e201bf689ca168cae6be126ca461ff0ee264
cloud_sql_proxy.darwin.amd64 87f3765eda82a9c2be1a009fae2a67090f39d5e64a521160015c9887e9fbd4ff
cloud_sql_proxy.linux.386 7eb824b1538eea75ab403861152ea3223fcab69fc0f4bb736f14723538bc178d
cloud_sql_proxy.linux.amd64 6ce597735e94ea35257807dac33f0e07ba5b68d52b3c3360b628a6fabed1d1b0
cloud_sql_proxy_x86.exe 67a5fddc4f38d43dcbff7a75a2978dd61f1ffde3cce8770d11bfb09a07f89a32
cloud_sql_proxy_x64.exe 7a62f90f3382abc67a22a8f63b6e860c2d519eff65c292f3ca54c313e3e720f7

1.13 Release

10 Oct 00:05
Compare
Choose a tag to compare

The newest version is available at gcr.io/cloudsql-docker/gce-proxy:1.13 and at the precompiled locations (see below)

Notable changes:

  • Gracefully handle TERM signals by waiting up to a configurable timeout for connections to close (#206)
  • More control over logging to stdout and stderr (#150)
  • Add support for non-service-account ADC credentials (#217)

Other changes: in addition to the previous dl.google.com download link, we are uploading new versions to a version-specific URL.

The precompiled binaries can be found at the standard locations:

filename sha256 hash
cloud_sql_proxy.darwin.386 aca0acab0edddeab876224d80844bf72067d7ea4e4d1f2a91910765e43ccf84f
cloud_sql_proxy.darwin.amd64 61551aa2cf4a12baf8884cb3d1f08dfc95c2f03b04edb4bd232f31736a380589
cloud_sql_proxy.linux.386 f7ba91a4e676ad19cc6f76180b2d9558e3eaa79624a03d705e31d02d0fce4585
cloud_sql_proxy.linux.amd64 8bfffdfb9ad68fa4069491a8fe38d46462236caaf8cc0b7f523ccf782eec5891
cloud_sql_proxy_x86.exe c2c7f7d614c9bad2bc24a1599edb378bfff2b5ecfe248b3393b2e30231f33f4c
cloud_sql_proxy_x64.exe e4807b55df6bc9345fefb41a7daf99f3f03085972d52d5f51a86c4504e7a6f66

1.12 Release

08 Sep 05:34
123a90f
Compare
Choose a tag to compare

The newest version is available at gcr.io/cloudsql-docker/gce-proxy:1.12 and at the precompiled locations (see below)

Notable changes:

  • Add TCP keep alive to client connections: #161
  • Client proxy prefers gcloud auth login credentials (if available) over application default credentials: #198
    • Before this change, users would need to use gcloud auth application-default login, which was a source of confusion, and could result in hard to debug out of quota errors
  • Allow specifying IP type preferences: #174
    • Cloud SQL instances may have more than one associated IP. Setting the --ip_address_types flag allows you to specify your preference for what IP type to use.

Other changes: Compiled with Go 1.11

The precompiled binaries can be found at the standard locations:

https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.linux.386
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.386
https://dl.google.com/cloudsql/cloud_sql_proxy_x64.exe
https://dl.google.com/cloudsql/cloud_sql_proxy_x86.exe

1.11 Release

08 Sep 05:32
Compare
Choose a tag to compare

The newest version is available at gcr.io/cloudsql-docker/gce-proxy:1.11 and at the precompiled locations (see below)

Notable changes:

  • Add -max_connections flag: b4646d0
    • Setting -max_connections will limit the maximum number of connections, the default value of 0 will have no limitation.
  • Add -refresh_config_throttle flag: ac3f4da
    • Setting -refresh_config_throttle will set the period between API calls. Leave it empty to use the default value (1 min) unless absolutely needed.

Other changes: Recompile for Go 1.9 to pick up performance gains

The precompiled binaries can be found at the standard locations:

https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.linux.386
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.386
https://dl.google.com/cloudsql/cloud_sql_proxy_x64.exe
https://dl.google.com/cloudsql/cloud_sql_proxy_x86.exe

1.10 Release

27 Jun 00:33
Compare
Choose a tag to compare

The newest version is available at gcr.io/cloudsql-docker/gce-proxy:1.10 and at the precompiled locations (see below)

Notable changes:

  • Add -quiet flag: 3aecf32
    • Setting -quiet will suppress (nearly) all output from the Proxy.
  • Add -verbose flag: ba702eb
    • Setting -verbose=false will suppress all verbose logs from the Proxy, such as connection success logs. Error messages and startup-time messages are still printed

The precompiled binaries can be found at the standard locations:

https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.linux.386
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.386
https://dl.google.com/cloudsql/cloud_sql_proxy_x64.exe
https://dl.google.com/cloudsql/cloud_sql_proxy_x86.exe

1.09 Release

30 Mar 20:31
Compare
Choose a tag to compare

The newest version is available at gcr.io/cloudsql-docker/gce-proxy:1.09 and at the precompiled locations (see below)

Bug fix for incorrect behavior when a domain-scoped project is used

For those projects who have a domain-scoped project, there is an extra colon in the instance connection string. This extra colon was not handled correctly by code introduced in version 1.07.

No need to link root HTTPS CA certificates when running in Docker

Due to aaacabb, you no longer need to specify the root CA certificates using --volume (or set it otherwise in Kubernetes). Instead, we now package the certificates in the image at gcr.io/cloudsql-docker/gce-proxy:1.09.

The precompiled binaries can be found at the standard locations:

https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.linux.386
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.amd64
https://dl.google.com/cloudsql/cloud_sql_proxy.darwin.386
https://dl.google.com/cloudsql/cloud_sql_proxy_x64.exe
https://dl.google.com/cloudsql/cloud_sql_proxy_x86.exe

1.08 Release

17 Mar 18:20
Compare
Choose a tag to compare

The newest version (1.08) is available at gcr.io/cloudsql-docker/gce-proxy:1.08

Bug fix for panic when the region is omitted

You should be specifying the region in your connection strings, as it is going to become required in a future release. In case you for some reason have not updated your command line strings this release will fix the panic introduced by version 1.07

Other changes: Recompile for Go 1.8 to pick up performance gains

The precompiled binaries can be found at the standard locations: