Changelog History
Page 10
-
v0.22.0
bigtable:
- cbt: Support cells per column limit for row read.
- bttest: Correctly handle empty RowSet.
- Fix ReadModifyWrite operation in emulator.
- Fix API path in GetCluster.
bigquery:
- BEHAVIOR CHANGE: Retry on 503 status code.
- Add dataset.DeleteWithContents.
- Add SchemaUpdateOptions for query jobs.
- Add Timeline to QueryStatistics.
- Add more stats to ExplainQueryStage.
- Support Parquet data format.
datastore:
- Support omitempty for times.
dlp:
- BREAKING CHANGE: Remove v1beta1 client. Please migrate to the v2 client, which is now out of beta.
- Add v2 client.
⏪ firestore:
- BEHAVIOR CHANGE: Treat set({}, MergeAll) as valid.
iam:
- Support JWT signing via SignJwt callopt.
profiler:
- BEHAVIOR CHANGE: PollForSerialOutput returns an error when context.Done.
- BEHAVIOR CHANGE: Increase the initial backoff to 1 minute.
- Avoid returning empty serial port output.
pubsub:
- 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.
redis:
- Add v1 beta Redis client.
spanner:
- Support SessionLabels.
speech:
- Add api v1 beta1 client.
storage:
- BEHAVIOR CHANGE: Retry reads when retryable error occurs.
- Fix delete of object in requester-pays bucket.
- Support KMS integration.
-
v0.21.0
bigquery:
- Add OpenCensus tracing.
⏪ firestore:
- BREAKING CHANGE: If a document does not exist, return a DocumentSnapshot whose Exists method returns false. DocumentRef.Get and Transaction.Get return the non-nil DocumentSnapshot in addition to a NotFound error. DocumentRef.GetAll and Transaction.GetAll return a non-nil DocumentSnapshot instead of nil.
- Add DocumentIterator.Stop. Call Stop whenever you are done with a DocumentIterator.
- Added Query.Snapshots and DocumentRef.Snapshots, which provide realtime notification of updates. See https://cloud.google.com/firestore/docs/query-data/listen.
- Canceling an RPC now always returns a grpc.Status with codes.Canceled.
spanner:
- Add
CommitTimestamp
, which supports inserting the commit timestamp of a transaction into a column.
- Add
-
v0.20.0
⚡️ bigquery: Support SchemaUpdateOptions for load jobs.
bigtable:
- Add SampleRowKeys.
- cbt: Support union, intersection GCPolicy.
- Retry admin RPCS.
- Add trace spans to retries.
datastore: Add OpenCensus tracing.
⏪ firestore:
- Fix queries involving Null and NaN.
- Allow Timestamp protobuffers for time values.
🌲 logging: Add a WriteTimeout option.
👍 spanner: Support Batch API.
storage: Add OpenCensus tracing.
-
v0.19.0
bigquery:
- Support customer-managed encryption keys.
bigtable:
- Improved emulator support.
- Support GetCluster.
datastore:
- Add general mutations.
- Support pointer struct fields.
- Support transaction options.
⏪ firestore:
- Add Transaction.GetAll.
- Support document cursors.
🌲 logging:
- Support concurrent RPCs to the service.
- Support per-entry resources.
profiler:
- Add config options to disable heap and thread profiling.
- Read the project ID from $GOOGLE_CLOUD_PROJECT when it's set.
pubsub:
- BEHAVIOR CHANGE: Release flow control after ack/nack (instead of after the callback returns).
- Add SubscriptionInProject.
- Add OpenCensus instrumentation for streaming pull.
storage:
- Support CORS.
-
v0.18.0
bigquery:
- Marked stable.
- Schema inference of nullable fields supported.
- Added TimePartitioning to QueryConfig.
🔀 firestore: Data provided to DocumentRef.Set with a Merge option can contain Delete sentinels.
🌲 logging: Clients can accept parent resources other than projects.
pubsub:
- pubsub/pstest: A lighweight fake for pubsub. Experimental; feedback welcome.
- Support updating more subscription metadata: AckDeadline, RetainAckedMessages and RetentionDuration.
oslogin/apiv1beta: New client for the Cloud OS Login API.
📦 rpcreplay: A package for recording and replaying gRPC traffic.
spanner:
- Add a ReadWithOptions that supports a row limit, as well as an index.
- Support query plan and execution statistics.
- Added OpenCensus support.
storage: Clarify checksum validation for gzipped files (it is not validated when the file is served uncompressed).
-
v0.17.0
⏪ firestore BREAKING CHANGES:
- Remove UpdateMap and UpdateStruct; rename UpdatePaths to Update.
Change
docref.UpdateMap(ctx, map[string]interface{}{"a.b", 1})
todocref.Update(ctx, []firestore.Update{{Path: "a.b", Value: 1}})
Change
docref.UpdateStruct(ctx, []string{"Field"}, aStruct)
todocref.Update(ctx, []firestore.Update{{Path: "Field", Value: aStruct.Field}})
- Rename MergePaths to Merge; require args to be FieldPaths
- A value stored as an integer can be read into a floating-point field, and vice versa.
- Remove UpdateMap and UpdateStruct; rename UpdatePaths to Update.
Change
bigtable/cmd/cbt:
- Support deleting a column.
- Add regex option for row read.
spanner: Mark stable.
storage:
- Add Reader.ContentEncoding method.
- Fix handling of SignedURL headers.
bigquery:
- If Uploader.Put is called with no rows, it returns nil without making a call.
- Schema inference supports the "nullable" option in struct tags for non-required fields.
- TimePartitioning supports "Field".
-
v0.16.0
Other bigquery changes:
JobIterator.Next
returns*Job
; removedJobInfo
(BREAKING CHANGE).- UseStandardSQL is deprecated; set UseLegacySQL to true if you need Legacy SQL.
- Uploader.Put will generate a random insert ID if you do not provide one.
- Support time partitioning for load jobs.
- Support dry-run queries.
- A
Job
remembers its last retrieved status. - Support retrieving job configuration.
- Support labels for jobs and tables.
- Support dataset access lists.
- Improve support for external data sources, including data from Bigtable and Google Sheets, and tables with external data.
- Support updating a table's view configuration.
- Fix uploading civil times with nanoseconds.
storage:
- Support PubSub notifications.
- Support Requester Pays buckets.
👍 profiler: Support goroutine and mutex profile types.
-
v0.15.0
🚀 firestore: beta release. See the announcement.
📦 errorreporting: The existing package has been redesigned.
📦 errors: This package has been removed. Use errorreporting.
-
v0.14.0
bigquery BREAKING CHANGES:
- Standard SQL is the default for queries and views.
Table.Create
takesTableMetadata
as a second argument, instead of options.Dataset.Create
takesDatasetMetadata
as a second argument.DatasetMetadata
fieldID
renamed toFullID
TableMetadata
fieldID
renamed toFullID
Other bigquery changes:
- The client will append a random suffix to a provided job ID if you set
AddJobIDSuffix
to true in a job config. - Listing jobs is supported.
- Better retry logic.
- The client will append a random suffix to a provided job ID if you set
vision, language, speech: clients are now stable
monitoring: client is now beta
profiler:
- Rename InstanceName to Instance, ZoneName to Zone
- Auto-detect service name and version on AppEngine.
-
v0.13.0
bigquery: UseLegacySQL options for CreateTable and QueryConfig. Use these options to continue using Legacy SQL after the client switches its default to Standard SQL.
⚡️ bigquery: Support for updating dataset labels.
bigquery: Set DatasetIterator.ProjectID to list datasets in a project other than the client's. DatasetsInProject is no longer needed and is deprecated.
bigtable: Fail ListInstances when any zones fail.
👍 spanner: support decoding of slices of basic types (e.g. []string, []int64, etc.)
⚡️ logging/logadmin: UpdateSink no longer creates a sink if it is missing (actually a change to the underlying service, not the client)
profiler: Service and ServiceVersion replace Target in Config.