- v0.30.0
- DML support added. See https://godoc.org/cloud.google.com/go/spanner#hdr-DML_and_Partitioned_DML for more information. (commit)
- v0.29.0
- Add a metric for the number of sessions currently opened. (commit)
- v0.27.0
- Fix a case where an iterator might not be closed correctly. (nothing)
- v0.24.0
- Support struct-typed parameter bindings. (commit)
- v0.22.0
- Support SessionLabels (commit)
- v0.20.1
- Add CommitTimestamp, which supports inserting the commit timestamp of a transaction into a column (commit)
- v0.20.0
- Support Batch API (commit)
client.BatchReadOnlyTransaction
- Support Batch API (commit)
- v0.18.0
- Add a ReadWithOptions that supports a row limit, as well as an index (commit)
- Support query plan and execution statistics (commit)
client.Single().AnalyzeQuery(ctx, Statement{sql, nil}) client.Single().QueryWithStats(ctx, Statement{sql, nil})
- Added OpenCensus support. (enable tracing for Go program https://godoc.org/go.opencensus.io/trace)
- Recognize
context
errors (commit) - grpc: use only one channel on AppEngine by default
- BEHAVIOR CHANGE: Release flow control after ack/nack (instead of after the callback returns).
- pubsub/pstest: A lighweight fake for pubsub. Experimental; feedback welcome.
- Support updating more subscription metadata: AckDeadline, RetainAckedMessages and RetentionDuration.
- Add OpenCensus instrumentation for streaming pull.
- BEHAVIOR CHANGE: Don't backoff during next retryable error once stream is healthy.
- BEHAVIOR CHANGE: Don't backoff on EOF.
- pstest: Support Acknowledge and ModifyAckDeadline RPCs.
- Support labels on topics and subscriptions.
- Support message storage policy for topics.
- Use the distribution of ack times to determine when to extend ack deadlines. The only user-visible effect of this change should be that programs that call only Subscription.Receive need no IAM permissions other than Pub/Sub Subscriber.
- Canceling the context passed to Subscription.Receive causes Receive to return when processing finishes on all messages currently in progress, even if new messages are arriving.
- BEHAVIOR CHANGE: Receive doesn't retry if an RPC returns codes.Cancelled.
- BEHAVIOR CHANGE: Receive retries on Unavailable intead of returning.
- Fix deadlock.
- Restore Ack/Nack/Modacks metrics.
- Improve context handling in iterator.
- Implement synchronous mode for Receive.
- pstest: add Pull.