google-cloud v0.17.0 Release Notes
-
⏪ 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".