Changes

1.9.0 (2023-12-12)

Features

  • logging: Add Cloud Run job monitored resource (#8631) (de66868)
  • logging: Automatic project detection in logging.NewClient() (#9006) (bc13e6a)

Bug Fixes

  • logging: Added marshalling methods for proto fields in structuredLogEntry (#8979) (aa385f9)
  • logging: Bump google.golang.org/api to v0.149.0 (8d2ab9f)
  • logging: Update golang.org/x/net to v0.17.0 (174da47)
  • logging: Update grpc-go to v1.56.3 (343cea8)
  • logging: Update grpc-go to v1.59.0 (81a97b0)
  • logging: Use instance/attributes/cluster-location for location on GKE (#9094) (c85b9d4)

1.8.1 (2023-08-14)

Bug Fixes

1.8.0 (2023-08-09)

Features

  • logging: Log Analytics features of the Cloud Logging API feat: Add ConfigServiceV2.CreateBucketAsync method for creating Log Buckets asynchronously feat: Add ConfigServiceV2.UpdateBucketAsync method for creating Log Buckets asynchronously feat: Add ConfigServiceV2.CreateLink method for creating linked datasets for Log Analytics Buckets feat: Add ConfigServiceV2.DeleteLink method for deleting linked datasets feat: Add ConfigServiceV2.ListLinks method for listing linked datasets feat: Add ConfigServiceV2.GetLink methods for describing linked datasets feat: Add LogBucket.analytics_enabled field that specifies whether Log Bucket‘s Analytics features are enabled feat: Add LogBucket.index_configs field that contains a list of Log Bucket’s indexed fields and related configuration data docs: Documentation for the Log Analytics features of the Cloud Logging API (31c3766)
  • logging: Update all direct dependencies (b340d03)

Bug Fixes

  • logging/logadmin: Fix paging example filter (#8224) (710c627)
  • logging: REST query UpdateMask bug (df52820)
  • logging: Update grpc to v1.55.0 (1147ce0)
  • logging: Use fieldmask directly instead of field_mask genproto alias (#8031) (13d9483)

1.7.0 (2023-02-27)

Features

  • logging: Add (*Logger). StandardLoggerFromTemplate() method. (#7261) (533ecbb)
  • logging: Add REST client (06a54a1)
  • logging: Rewrite signatures and type in terms of new location (620e6d8)

Bug Fixes

  • logging: Correctly populate SourceLocation when logging via (*Logger).StandardLogger (#7320) (1a0bd13)
  • logging: Fix typo in README.md (#7297) (82aa2ee)

1.6.1 (2022-12-02)

Bug Fixes

  • logging: downgrade some dependencies (7540152)

1.6.0 (2022-11-29)

Features

  • logging: start generating proto stubs (0eb700d)

Bug Fixes

  • logging: Fix stdout log http request format (#7083) (2894e66)

1.5.0 (2022-06-25)

Features

  • logging: add better version metadata to calls (d1ad921)
  • logging: set versionClient to module version (55f0d92)
  • logging: support structured logging functionality (#6029) (56f4cdd)
  • logging: Update Logging API with latest changes (5af548b)

Bug Fixes

  • logging: remove instance_name resource label (#5461) (115385f)

1.4.2 (2021-05-20)

Bug Fixes

1.4.1 (2021-05-03)

Bug Fixes

  • logging: allow nil or custom zones in resource detection (#3997) (aded90b)
  • logging: appengine zone label (#3998) (394a586)

1.4.0 (2021-04-15)

Features

  • logging: cloud run and functions resource autodetection (#3909) (1204de8)
  • logging: make toLogEntry function public (#3863) (71828c2)

Bug Fixes

v1.3.0

  • Updates to various dependencies.

1.2.0 (2021-01-25)

Features

  • logging: add localIP and Cache fields to HTTPRequest conversion from proto (#3600) (f93027b)

1.1.2 (2020-11-09)

Bug Fixes

  • logging: allow X-Cloud-Trace-Context fields to be optional (#3062) (7ff03cf)
  • logging: do not panic in library code (#3076) (529be97), closes #1862

v1.1.1

  • Rebrand “Stackdriver Logging” to “Cloud Logging”.

v1.1.0

  • Support unmarshalling stringified Severity.
  • Add exported SetGoogleClientInfo wrappers to manual file.
  • Support no payload.
  • Update “Grouping Logs by Request” docs.
  • Add auto-detection of monitored resources on GAE Standard.

v1.0.0

This is the first tag to carve out logging as its own module. See: https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository.