diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml index 8807efcad..9786771c4 100644 --- a/.github/.OwlBot.lock.yaml +++ b/.github/.OwlBot.lock.yaml @@ -13,4 +13,4 @@ # limitations under the License. docker: image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest - digest: sha256:7c853edc4136ae8f19f9d46d4569d38de2e446db2eea057f32e412bdba255846 + digest: sha256:3c950ed12391ebaffd1ee66d0374766a1c50144ebe6a7a0042300b2e6bb5856b diff --git a/.github/workflows/approve-readme.yaml b/.github/workflows/approve-readme.yaml index c51324279..1bb182327 100644 --- a/.github/workflows/approve-readme.yaml +++ b/.github/workflows/approve-readme.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-merge-readme diff --git a/.github/workflows/auto-release.yaml b/.github/workflows/auto-release.yaml index 59c7cadde..18e23230d 100644 --- a/.github/workflows/auto-release.yaml +++ b/.github/workflows/auto-release.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: auto-release @@ -16,13 +31,13 @@ jobs: return; } - // only approve PRs like "chore: release " - if ( !context.payload.pull_request.title.startsWith("chore: release") ) { + // only approve PRs like "chore(main): release " + if ( !context.payload.pull_request.title.startsWith("chore(main): release") ) { return; } // only approve PRs with pom.xml and versions.txt changes - const filesPromise = github.pulls.listFiles.endpoint({ + const filesPromise = github.rest.pulls.listFiles.endpoint({ owner: context.repo.owner, repo: context.repo.repo, pull_number: context.payload.pull_request.number, @@ -54,7 +69,7 @@ jobs: return; } - const promise = github.pulls.list.endpoint({ + const promise = github.rest.pulls.list.endpoint({ owner: context.repo.owner, repo: context.repo.repo, state: 'open' @@ -71,7 +86,7 @@ jobs: } // approve release PR - await github.pulls.createReview({ + await github.rest.pulls.createReview({ owner: context.repo.owner, repo: context.repo.repo, body: 'Rubber stamped release!', @@ -80,7 +95,7 @@ jobs: }); // attach kokoro:force-run and automerge labels - await github.issues.addLabels({ + await github.rest.issues.addLabels({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.payload.pull_request.number, diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 05de1f60d..6b5e56aaa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: push: branches: diff --git a/.github/workflows/samples.yaml b/.github/workflows/samples.yaml index c46230a78..d5d964df1 100644 --- a/.github/workflows/samples.yaml +++ b/.github/workflows/samples.yaml @@ -1,3 +1,18 @@ +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. on: pull_request: name: samples diff --git a/.kokoro/build.bat b/.kokoro/build.bat index 05826ad93..cc602c9eb 100644 --- a/.kokoro/build.bat +++ b/.kokoro/build.bat @@ -1,3 +1,18 @@ :: See documentation in type-shell-output.bat +# Copyright 2022 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Github action job to test core java library features on +# downstream client libraries before they are released. "C:\Program Files\Git\bin\bash.exe" %~dp0build.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e4115ace..f96d2bd4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +### [2.2.4](https://github.com/googleapis/java-speech/compare/v2.2.3...v2.2.4) (2022-02-09) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-storage to v2.4.0 ([#789](https://github.com/googleapis/java-speech/issues/789)) ([afcf454](https://github.com/googleapis/java-speech/commit/afcf454bd9d895f60f0a783b33eeb1cd71ccaab0)) + ### [2.2.3](https://github.com/googleapis/java-speech/compare/v2.2.2...v2.2.3) (2022-02-03) diff --git a/README.md b/README.md index b21f37769..670a54e14 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 24.2.0 + 24.3.0 pom import @@ -47,7 +47,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-speech - 2.2.2 + 2.2.3 ``` @@ -55,20 +55,20 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies ```Groovy -implementation platform('com.google.cloud:libraries-bom:24.2.0') +implementation platform('com.google.cloud:libraries-bom:24.3.0') implementation 'com.google.cloud:google-cloud-speech' ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-speech:2.2.2' +implementation 'com.google.cloud:google-cloud-speech:2.2.3' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "2.2.2" +libraryDependencies += "com.google.cloud" % "google-cloud-speech" % "2.2.3" ``` ## Authentication diff --git a/google-cloud-speech-bom/pom.xml b/google-cloud-speech-bom/pom.xml index 818921787..1a302945a 100644 --- a/google-cloud-speech-bom/pom.xml +++ b/google-cloud-speech-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-speech-bom - 2.2.3 + 2.2.4 pom com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 Google Cloud Speech BOM @@ -53,37 +53,37 @@ com.google.cloud google-cloud-speech - 2.2.3 + 2.2.4 com.google.api.grpc grpc-google-cloud-speech-v1 - 2.2.3 + 2.2.4 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.86.3 + 0.86.4 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.86.3 + 0.86.4 com.google.api.grpc proto-google-cloud-speech-v1 - 2.2.3 + 2.2.4 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.86.3 + 0.86.4 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.86.3 + 0.86.4 diff --git a/google-cloud-speech/pom.xml b/google-cloud-speech/pom.xml index 49a1c71b9..7fc89277d 100644 --- a/google-cloud-speech/pom.xml +++ b/google-cloud-speech/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-speech - 2.2.3 + 2.2.4 jar Google Cloud Speech https://github.com/googleapis/java-speech @@ -13,7 +13,7 @@ com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 google-cloud-speech diff --git a/grpc-google-cloud-speech-v1/pom.xml b/grpc-google-cloud-speech-v1/pom.xml index 6ccd79f32..833a9b36a 100644 --- a/grpc-google-cloud-speech-v1/pom.xml +++ b/grpc-google-cloud-speech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v1 - 2.2.3 + 2.2.4 grpc-google-cloud-speech-v1 GRPC library for grpc-google-cloud-speech-v1 com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 diff --git a/grpc-google-cloud-speech-v1beta1/pom.xml b/grpc-google-cloud-speech-v1beta1/pom.xml index 043ca9dda..a07f428e5 100644 --- a/grpc-google-cloud-speech-v1beta1/pom.xml +++ b/grpc-google-cloud-speech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.86.3 + 0.86.4 grpc-google-cloud-speech-v1beta1 GRPC library for grpc-google-cloud-speech-v1beta1 com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 diff --git a/grpc-google-cloud-speech-v1p1beta1/pom.xml b/grpc-google-cloud-speech-v1p1beta1/pom.xml index cf069486d..c64f61400 100644 --- a/grpc-google-cloud-speech-v1p1beta1/pom.xml +++ b/grpc-google-cloud-speech-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.86.3 + 0.86.4 grpc-google-cloud-speech-v1p1beta1 GRPC library for grpc-google-cloud-speech-v1p1beta1 com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 diff --git a/pom.xml b/pom.xml index b9124dc93..0804cc38c 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-speech-parent pom - 2.2.3 + 2.2.4 Google Cloud speech Parent https://github.com/googleapis/java-speech @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.2.6 + 1.2.7 @@ -149,37 +149,37 @@ com.google.api.grpc proto-google-cloud-speech-v1 - 2.2.3 + 2.2.4 com.google.cloud google-cloud-speech - 2.2.3 + 2.2.4 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.86.3 + 0.86.4 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.86.3 + 0.86.4 com.google.api.grpc grpc-google-cloud-speech-v1 - 2.2.3 + 2.2.4 com.google.api.grpc grpc-google-cloud-speech-v1beta1 - 0.86.3 + 0.86.4 com.google.api.grpc grpc-google-cloud-speech-v1p1beta1 - 0.86.3 + 0.86.4 @@ -251,7 +251,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.1.2 + 3.2.1 diff --git a/proto-google-cloud-speech-v1/pom.xml b/proto-google-cloud-speech-v1/pom.xml index e40c6a192..3a3d9011d 100644 --- a/proto-google-cloud-speech-v1/pom.xml +++ b/proto-google-cloud-speech-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-speech-v1 - 2.2.3 + 2.2.4 proto-google-cloud-speech-v1 PROTO library for proto-google-cloud-speech-v1 com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 diff --git a/proto-google-cloud-speech-v1beta1/pom.xml b/proto-google-cloud-speech-v1beta1/pom.xml index 891f95057..19da48dcc 100644 --- a/proto-google-cloud-speech-v1beta1/pom.xml +++ b/proto-google-cloud-speech-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-speech-v1beta1 - 0.86.3 + 0.86.4 proto-google-cloud-speech-v1beta1 PROTO library for proto-google-cloud-speech-v1beta1 com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 diff --git a/proto-google-cloud-speech-v1p1beta1/pom.xml b/proto-google-cloud-speech-v1p1beta1/pom.xml index 5b391b314..bf5ac47d6 100644 --- a/proto-google-cloud-speech-v1p1beta1/pom.xml +++ b/proto-google-cloud-speech-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-speech-v1p1beta1 - 0.86.3 + 0.86.4 proto-google-cloud-speech-v1p1beta1 PROTO library for proto-google-cloud-speech-v1p1beta1 com.google.cloud google-cloud-speech-parent - 2.2.3 + 2.2.4 diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 4dd4d68cd..9a8e92afe 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,13 +29,13 @@ com.google.cloud google-cloud-speech - 2.2.2 + 2.2.3 com.google.cloud google-cloud-storage - 2.3.0 + 2.4.0 commons-cli diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index e60a463d2..a8781aa9b 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-speech - 2.2.3 + 2.2.4 @@ -40,7 +40,7 @@ com.google.cloud google-cloud-storage - 2.3.0 + 2.4.0 commons-cli diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 48fc68adf..a3c298384 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 24.2.0 + 24.3.0 pom import diff --git a/versions.txt b/versions.txt index bcbbf6ce0..369bebbff 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-speech:2.2.3:2.2.3 -grpc-google-cloud-speech-v1:2.2.3:2.2.3 -grpc-google-cloud-speech-v1beta1:0.86.3:0.86.3 -grpc-google-cloud-speech-v1p1beta1:0.86.3:0.86.3 -proto-google-cloud-speech-v1:2.2.3:2.2.3 -proto-google-cloud-speech-v1beta1:0.86.3:0.86.3 -proto-google-cloud-speech-v1p1beta1:0.86.3:0.86.3 +google-cloud-speech:2.2.4:2.2.4 +grpc-google-cloud-speech-v1:2.2.4:2.2.4 +grpc-google-cloud-speech-v1beta1:0.86.4:0.86.4 +grpc-google-cloud-speech-v1p1beta1:0.86.4:0.86.4 +proto-google-cloud-speech-v1:2.2.4:2.2.4 +proto-google-cloud-speech-v1beta1:0.86.4:0.86.4 +proto-google-cloud-speech-v1p1beta1:0.86.4:0.86.4