spanner: Make a new release v1.1.0.
Change-Id: I188a387f7830a1dc438f0b7074d625b360fcea43
Reviewed-on: https://code-review.googlesource.com/c/gocloud/+/47770
Reviewed-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Shanika Kuruppu <skuruppu@google.com>
Reviewed-by: Knut Olav Løite <koloite@gmail.com>
Reviewed-by: Jean de Klerk <deklerk@google.com>
diff --git a/internal/version/version.go b/internal/version/version.go
index a8c0bf9..2a25319 100644
--- a/internal/version/version.go
+++ b/internal/version/version.go
@@ -26,7 +26,7 @@
// Repo is the current version of the client libraries in this
// repo. It should be a date in YYYYMMDD format.
-const Repo = "20191029"
+const Repo = "20191104"
// Go returns the Go runtime version. The returned string
// has no whitespace.
diff --git a/spanner/CHANGES.md b/spanner/CHANGES.md
index f92801b..19cee29 100644
--- a/spanner/CHANGES.md
+++ b/spanner/CHANGES.md
@@ -1,6 +1,27 @@
# Changes
+## v1.1.0
+
+- The String() method of NullString, NullTime and NullDate will now return
+ an unquoted string instead of a quoted string. This is a BREAKING CHANGE.
+ If you relied on the old behavior, please use fmt.Sprintf("%q", T).
+- The Spanner client will now use the new BatchCreateSessions RPC to initialize
+ the session pool. This will improve the startup time of clients that are
+ initialized with a minimum number of sessions greater than zero
+ (i.e. SessionPoolConfig.MinOpened>0).
+- Spanner clients that are created with the NewClient method will now default
+ to a minimum of 100 opened sessions in the pool
+ (i.e. SessionPoolConfig.MinOpened=100). This will improve the performance
+ of the first transaction/query that is executed by an application, as a
+ session will normally not have to be created as part of the transaction.
+ Spanner clients that are created with the NewClientWithConfig method are
+ not affected by this change.
+- The session pool maintenance worker has been improved so it keeps better
+ track of the actual number of sessions needed. It will now less often delete
+ and re-create sessions. This can improve the overall performance of
+ applications with a low transaction rate.
+
## v1.0.0
This is the first tag to carve out spanner as its own module. See:
-https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.
\ No newline at end of file
+https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.