Skip to content

Releases: GoogleCloudPlatform/cloud-sql-jdbc-socket-factory

Release v1.0.16

23 Apr 16:36
26830f1
Compare
Choose a tag to compare

Release notes

  • Several improvements to unix socket handling (#210):
    • Added support for new unixSocket property, which can be used to specify a path to a unix socket instead of connecting over TCP
    • Configuring with the CLOUD_SQL_FORCE_UNIX_SOCKET env var has been deprecated. Please set the unixSocket property to /cloudsql/INSTANCE_CONNECTION_NAME in your config instead.
    • Automatic enabling of use of the /cloudsql/ Unix domain socket when running in Google App Engine and Google Cloud Function environments has been disabled. The recommended way to connect is to continue to use TCP connections, but the behavior can be replicated using the unixSocket property listed above.
  • Added support for project ids that are using the legacy "domain-scoped" format (#209)

Release v1.0.15

29 Aug 19:48
7af7d18
Compare
Choose a tag to compare

Release Notes

  • Improved initial start-up time:
    • Generate the initial RSA key pair asynchronously. (#142)
    • Remove static call on instance for Postgres. (#146)
  • Now uses google-auth-library-oauth2-http to get default credentials (#151)

Release v1.0.14

17 Jun 16:52
6817d51
Compare
Choose a tag to compare

Release Notes

  • Performance improvements - #137, #144
  • Automatically detect Google Cloud Functions environments and use unix socket instead - #141
  • Properly deprecate USER_TOKEN_PROPERTY_NAME in favor of setApplicationName
  • Updated dependencies to latest versions.

Release v1.0.13

29 Mar 20:18
81d2168
Compare
Choose a tag to compare

Release Notes

  • Updated dependencies to newer versions.
  • Minor cosmetic restructuring of code base.

Release v1.0.12

23 Jan 21:29
963c259
Compare
Choose a tag to compare

Patch Notes

  • Improved compatibility for Java 11
  • Updated new interface in mysql-connector-java 8.0.13
  • Updated and optimized some dependencies

Release v1.0.11

18 Sep 19:35
1d79708
Compare
Choose a tag to compare

Patch Notes

  • Fixed compatibility with JDK 9+
  • Updated Postgres SocketFactory constructor to match new API signature
    • Bug: There is a bug prevent "socketFactoryArg" from working correctly with some versions of the postgres driver. Please use "cloudSqlInstance" or update to v1.0.13 or higher to address this.
  • Added support for specifying IP types

Release v1.0.10

02 Jul 20:17
4f899e5
Compare
Choose a tag to compare

Patch Notes

  • Added mysql-connector-j-8
  • Connection via Unix Socket can now be forced by setting the CLOUD_SQL_FORCE_UNIX_SOCKET environment variable
  • Bugfix: No longer attempts unix socket connection when running on GAE dev server
  • Bugfix: Removed mysql-connector-java dependency for j6, j8, and postgres jars

Release v1.0.9

13 Jun 16:24
28b266b
Compare
Choose a tag to compare
Release v1.0.9 (#80)

v1.0.8

30 Apr 21:09
79d1d4a
Compare
Choose a tag to compare
Release v1.0.8 (#72)