Skip to content

Commit

Permalink
feat(vision/v2): Release breaking changes as v2 module (#6072)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: removed fields from SafeSearchAnnotation in googleapis/go-genproto#809
  • Loading branch information
quartzmo committed May 23, 2022
1 parent 1266896 commit 9a4ff7f
Show file tree
Hide file tree
Showing 16 changed files with 3,665 additions and 10 deletions.
16 changes: 8 additions & 8 deletions internal/.repo-metadata-full.json
Expand Up @@ -1637,22 +1637,22 @@
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/vision/apiv1": {
"distribution_name": "cloud.google.com/go/vision/apiv1",
"cloud.google.com/go/vision/apiv1p1beta1": {
"distribution_name": "cloud.google.com/go/vision/apiv1p1beta1",
"description": "Cloud Vision API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/vision/latest/apiv1",
"release_level": "ga",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/vision/latest/apiv1p1beta1",
"release_level": "beta",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/vision/apiv1p1beta1": {
"distribution_name": "cloud.google.com/go/vision/apiv1p1beta1",
"cloud.google.com/go/vision/v2/apiv1": {
"distribution_name": "cloud.google.com/go/vision/v2/apiv1",
"description": "Cloud Vision API",
"language": "Go",
"client_library_type": "generated",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/vision/latest/apiv1p1beta1",
"release_level": "beta",
"docs_url": "https://cloud.google.com/go/docs/reference/cloud.google.com/go/vision/latest/v2/apiv1",
"release_level": "ga",
"library_type": "GAPIC_AUTO"
},
"cloud.google.com/go/vmmigration/apiv1": {
Expand Down
2 changes: 1 addition & 1 deletion internal/gapicgen/generator/config.go
Expand Up @@ -305,7 +305,7 @@ var MicrogenGapicConfigs = []*MicrogenConfig{
{
InputDirectoryPath: "google/cloud/vision/v1",
Pkg: "vision",
ImportPath: "cloud.google.com/go/vision/apiv1",
ImportPath: "cloud.google.com/go/vision/v2/apiv1",
GRPCServiceConfigPath: "vision_grpc_service_config.json",
ApiServiceConfigPath: "vision_v1.yaml",
ReleaseLevel: "ga",
Expand Down
1 change: 1 addition & 0 deletions internal/gapicgen/generator/config_test.go
Expand Up @@ -37,6 +37,7 @@ var packagePathExceptions = map[string]bool{
"cloud.google.com/go/firestore/apiv1/admin": true,
"cloud.google.com/go/recaptchaenterprise/v2/apiv1": true,
"cloud.google.com/go/storage/internal/apiv2": true,
"cloud.google.com/go/vision/v2/apiv1": true,
}

// TestMicrogenConfigs validates config entries.
Expand Down
2 changes: 1 addition & 1 deletion release-please-config-yoshi-submodules.json
Expand Up @@ -294,7 +294,7 @@
"videointelligence": {
"component": "videointelligence"
},
"vision": {
"vision/v2": {
"component": "vision"
},
"vmmigration": {
Expand Down
24 changes: 24 additions & 0 deletions vision/v2/CHANGES.md
@@ -0,0 +1,24 @@
# Changes

## [1.2.0](https://github.com/googleapis/google-cloud-go/compare/vision/v1.1.0...vision/v1.2.0) (2022-02-23)


### Features

* **vision:** set versionClient to module version ([55f0d92](https://github.com/googleapis/google-cloud-go/commit/55f0d92bf112f14b024b4ab0076c9875a17423c9))

## [1.1.0](https://github.com/googleapis/google-cloud-go/compare/vision/v1.0.0...vision/v1.1.0) (2022-02-14)


### Features

* **vision:** add file for tracking version ([17b36ea](https://github.com/googleapis/google-cloud-go/commit/17b36ead42a96b1a01105122074e65164357519e))

## 1.0.0

Stabilize GA surface.

## v0.1.0

This is the first tag to carve out vision as its own module. See
[Add a module to a multi-module repository](https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository).
40 changes: 40 additions & 0 deletions vision/v2/README.md
@@ -0,0 +1,40 @@
# Cloud Vision API

[![Go Reference](https://pkg.go.dev/badge/cloud.google.com/go/vision.svg)](https://pkg.go.dev/cloud.google.com/go/vision/v2)

Go Client Library for Cloud Vision API.

## Install

```bash
go get cloud.google.com/go/vision/v2
```

## Stability

The stability of this module is indicated by SemVer.

However, a `v1+` module may have breaking changes in two scenarios:

* Packages with `alpha` or `beta` in the import path
* The GoDoc has an explicit stability disclaimer (for example, for an experimental feature).

## Go Version Support

See the [Go Versions Supported](https://github.com/googleapis/google-cloud-go#go-versions-supported)
section in the root directory's README.

## Authorization

See the [Authorization](https://github.com/googleapis/google-cloud-go#authorization)
section in the root directory's README.

## Contributing

Contributions are welcome. Please, see the [CONTRIBUTING](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md)
document for details.

Please note that this project is released with a Contributor Code of Conduct.
By participating in this project you agree to abide by its terms. See
[Contributor Code of Conduct](https://github.com/GoogleCloudPlatform/google-cloud-go/blob/main/CONTRIBUTING.md#contributor-code-of-conduct)
for more information.
162 changes: 162 additions & 0 deletions vision/v2/apiv1/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9a4ff7f

Please sign in to comment.