Skip to content

v0.17.0

Choose a tag to compare

@jeanbza jeanbza released this 08 Aug 17:50
  • firestore BREAKING CHANGES:
    • Remove UpdateMap and UpdateStruct; rename UpdatePaths to Update.
      Change
      docref.UpdateMap(ctx, map[string]interface{}{"a.b", 1})
      to
      docref.Update(ctx, []firestore.Update{{Path: "a.b", Value: 1}})

      Change
      docref.UpdateStruct(ctx, []string{"Field"}, aStruct)
      to
      docref.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.

  • 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".