From ad7cd32b39df6e142b24ab86b2cda03f21e1d708 Mon Sep 17 00:00:00 2001 From: Hengfeng Li Date: Tue, 28 Jan 2020 11:56:52 +1100 Subject: [PATCH] spanner: release v1.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I373c02d0b4c814510c59f8423437c95eaab1c651 Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/50950 Reviewed-by: kokoro Reviewed-by: Knut Olav Løite Reviewed-by: Shanika Kuruppu --- internal/version/version.go | 2 +- spanner/CHANGES.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/internal/version/version.go b/internal/version/version.go index baa242dbaf3..56ca2c9c070 100644 --- a/internal/version/version.go +++ b/internal/version/version.go @@ -26,7 +26,7 @@ import ( // Repo is the current version of the client libraries in this // repo. It should be a date in YYYYMMDD format. -const Repo = "20200123" +const Repo = "20200128" // Go returns the Go runtime version. The returned string // has no whitespace. diff --git a/spanner/CHANGES.md b/spanner/CHANGES.md index bca61f12fb0..e85c3108058 100644 --- a/spanner/CHANGES.md +++ b/spanner/CHANGES.md @@ -1,5 +1,22 @@ # Changes +## v1.2.0 + +- Support tracking stacktrace of sessionPool.take() that allows the user + to instruct the session pool to keep track of the stacktrace of each + goroutine that checks out a session from the pool. This is disabled by + default, but it can be enabled by setting + `SessionPoolConfig.TrackSessionHandles: true`. +- Add resource-based routing that includes a step to retrieve the + instance-specific endpoint before creating the session client when + creating a new spanner client. This is disabled by default, but it can + be enabled by setting `GOOGLE_CLOUD_SPANNER_ENABLE_RESOURCE_BASED_ROUTING`. +- Make logger configurable so that the Spanner client can now be configured to + use a specific logger instead of the standard logger. +- Support encoding custom types that point back to supported basic types. +- Allow decoding Spanner values to custom types that point back to supported + types. + ## v1.1.0 - The String() method of NullString, NullTime and NullDate will now return