Skip to content

Release google-cloud-translate 4.0.0 - #8018

Closed
yoshi-automation wants to merge 1 commit into
masterfrom
release-google-cloud-translate-v4.0.0
Closed

yoshi-automation wants to merge 1 commit into
masterfrom
release-google-cloud-translate-v4.0.0

Conversation

@yoshi-automation

Copy link
Copy Markdown
Contributor

🤖 I have created a release *beep* *boop*

4.0.0 / 2020-10-16

⚠ BREAKING CHANGES

  • translate: Add Translate V3 client

Features

  • send quota project header in the V2 client
  • Support separate project setting for quota/billing
  • Update minimum runtime dependencies
    • Fixes an issue where required dependencies may not be used.
  • Add Translate V3 client
    • Update google-cloud-translate to contain a generated v3 client
      as well as the legacy hand-written v2 client.
    • The v3 client includes several new features and updates:
      • Glossaries - Create a custom dictionary to correctly and
        consistently translate terms that are customer-specific.
      • Batch requests - Make an asynchronous request to translate
        large amounts of text.
      • AutoML models - Cloud Translation adds support for translating
        text with custom models that you create using AutoML Translation.
      • Labels - The Cloud Translation API supports adding user-defined
        labels (key-value pairs) to requests.
    • The following methods now return an instance of
      Google::Cloud::Translate::V3::TranslationServiceClient:
      • Google::Cloud#translate
      • Google::Cloud.translate
      • Google::Cloud::Translate.new
    • To use the legacy v2 client specify the version when creating:
      • Google::Cloud::Translate.new version: :v2
  • Update Ruby dependency to minimum of 2.4 (#4206)
  • Support overriding of service endpoint

Bug Fixes

  • support faraday 1.x

Documentation

  • Update copyright year
  • Update Status documentation
  • update links to point to new docsite (#3684)
  • Update the list of GCP environments for automatic authentication

Commits since last release:

  * Rake 13.0.0 supports Ruby 3 keyword arguments by https://github.com/ruby/rake/pull/326
  * Rake 13 drops Ruby 2.1 or older support by https://github.com/ruby/rake/pull/325
  * Gems under `google-cloud-ruby` repository only supports Ruby 2.4 or higher then dropping Ruby 2.1 support should not be an issue.
  * Update copyright year
  * Update Status documentation
  * Update minimum runtime dependencies
    * Fixes an issue where required dependencies may not be used.
  * Add Translate V3 client
    * Update google-cloud-translate to contain a generated v3 client
      as well as the legacy hand-written v2 client.
    * The following methods now return an instance of
      Google::Cloud::Translate::V3::TranslationServiceClient:
      * Google::Cloud#translate
      * Google::Cloud.translate
      * Google::Cloud::Translate.new
    * To use the legacy v2 client specify the version when creating:
      * v2_client = Google::Cloud::Translate.new version: :v2
  * Add Translate V3 client
    * The v3 client includes several new features and updates:
    * Glossaries - Create a custom dictionary to correctly and
      consistently translate terms that are customer-specific.
    * Batch requests - Make an asynchronous request to translate
      large amounts of text.
    * AutoML models - Cloud Translation adds support for translating
      text with custom models that you create using AutoML Translation.
    * Labels - The Cloud Translation API supports adding user-defined
      labels (key-value pairs) to requests.
  * Now requires Ruby 2.4 or later.
  * Update the list of GCP environments for automatic authentication
  * Update google-cloud-translate to contain a generated v3 client
    as well as the legacy hand-written v2 client.
  * The v3 client includes several new features and updates:
    * Glossaries - Create a custom dictionary to correctly and 
      consistently translate terms that are customer-specific.
    * Batch requests - Make an asynchronous request to translate
      large amounts of text.
    * AutoML models - Cloud Translation adds support for translating
      text with custom models that you create using AutoML Translation.
    * Labels - The Cloud Translation API supports adding user-defined
      labels (key-value pairs) to requests.
  * The following methods now return an instance of
    Google::Cloud::Translate::V3::TranslationServiceClient:
    * Google::Cloud#translate
    * Google::Cloud.translate
    * Google::Cloud::Translate.new
  * To use the legacy v2 client specify the version when creating:
    * Google::Cloud::Translate.new version: :v2
  * Fix for google-style 0.3.0 change to Style/WordArray.
  * Update google-style dependency to 0.3
  * Make use of Credentials#project_id
    * Use Credentials#project_id
      If a project_id is not provided, use the value on the Credentials object.
      This value was added in googleauth 0.7.0.
    * Loosen googleauth dependency
      Allow for new releases up to 0.10.
      The googleauth devs have committed to maintanining the current API
      and will not make backwards compatible changes before 0.10.
  * Use Credentials#project_id
    If a project_id is not provided, use the value on the Credentials object.
    This value was added in googleauth 0.7.0.
  * Loosen googleauth dependency
    Allow for new releases up to 0.10.
    The googleauth devs have committed to maintanining the current API
    and will not make backwards compatible changes before 0.10.
  * Update rubocop Lint/RescueWithoutErrorClass to new name.
  * Disable Layout/EmptyLineAfterGuardClause cop where failing
  * Disable Naming/UncommunicativeMethodParamName cop where failing
  * Locally disable MultipleComparison cop where failing
  * Remove blank line from bigtable/instance.rb
  * Fix code alignment in core/config.rb
  * Fix rubocop errors in debugger
  * Fix rubocop errors in spanner
  * Remove require 'thread' statements
  * Release google-cloud-bigquery 1.8.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-bigquery-data_transfer 0.2.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-bigtable 0.1.3
  * Update connectivity configuration.
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-container 0.2.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-dataproc 0.2.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-datastore 1.4.4
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-debugger 0.32.5
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-dialogflow 0.2.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-dlp 0.6.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-dns 0.29.4
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-error_reporting 0.30.5
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-firestore 0.24.2
  * Add fix for comparing NaN values
    * NaN values should not be compared, as this may raise with Active Support.
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-kms 0.2.4
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-language 0.31.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-logging 1.5.5
  * Make Logger thread-safe.
  * Update Logging generated files.
    * Add Metric's MetricDescriptorMetadata.
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-monitoring 0.29.2
  * Update Monitoring generated files.
    * Add MetricDescriptorMetadata.
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-os_login 0.2.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-pubsub 0.33.0
  * Add support for user labels to Snapshot, Subscription and Topic.
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-redis 0.2.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-resource_manager 0.30.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-spanner 1.6.4
  * Update Spanner generated files.
    * Add DML/PDML code structures.
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-speech 0.31.1
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-storage 1.14.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-tasks 0.2.4
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-text_to_speech 0.1.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-trace 0.33.5
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-translate 1.2.4
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release google-cloud-video_intelligence 1.1.2
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-vision 0.30.4
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Fix circular require warning.
  * Release gcloud 0.23.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud 0.56.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
    * Add links to dependency google-cloud-* gems to README.
  * Fix circular require warning.
  * Release stackdriver 0.15.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-core 1.2.7
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release google-cloud-env 1.0.5
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Release stackdriver-core 1.3.3
  * Update documentation.
    * Change documentation URL to googleapis GitHub org.
  * Use new github org documentation URL
  * Use new github org name
  * Move documentation links to HTTPS
  * Update synth scripts to use new github org
  * Link to documentation URLs for files such as AUTHENTICATION and CONTRIBUTING.
  * Remove README from the documentation files for gems that are using an OVERVIEW file.
  * Update Stackdriver gems to have the same documentation files.
  * Link to local AUTHENTICATION file from code instead of using external URL.
  * Remove jsondoc rake tasks.
  * Remove docs directory and files.
  * Move guides to gem-root directories, and uppercase file names.
  * Update RELEASING guide.
  * Specify redcarpet in the .yardopts file.
  * Add redcarpet as a development dependency. This will ensure that
    users who generate documentation from the gem will produce
    properly formatted documentation.
  * Add YARD as a development dependency to gems that were missing it.
  * Update gogole-api-client dependency
  * Refresh Bigtable GAPIC
  * Refresh Datastore GAPIC
  * Refresh Debugger GAPIC
  * Refresh Error Reporting GAPIC
  * Refresh Language GAPIC
  * Refresh Logging GAPIC
  * Refresh Monitoring GAPIC
  * Refresh Pub/Sub GAPIC
  * Refresh Speech GAPIC
  * Refresh Spanner GAPIC
  * Refresh Trace GAPIC
  * Refresh Video Intelligence GAPIC
  * Refresh Vision GAPIC
  * Release 1.0
  * Add dependency on google-cloud-env

Files edited since last release:

google-cloud-translate/CHANGELOG.md
google-cloud-translate/lib/google/cloud/translate/version.rb
google-cloud-translate/lib/google/cloud/translate/v2/service.rb
google-cloud-translate/test/google/cloud/translate/v2/service_test.rb
google-cloud-translate/test/helper.rb
google-cloud-translate/lib/google/cloud/translate/v3/translation_service_client.rb
google-cloud-translate/synth.metadata
google-cloud-translate/Gemfile
google-cloud-translate/google-cloud-translate.gemspec
google-cloud-translate/acceptance/translate_helper.rb
google-cloud-translate/.repo-metadata.json
google-cloud-translate/lib/google/cloud/translate/v3.rb
google-cloud-translate/synth.py
google-cloud-translate/lib/google/cloud/translate/v3/doc/google/rpc/status.rb
google-cloud-translate/lib/google/cloud/translate/v3/credentials.rb
google-cloud-translate/lib/google/cloud/translate/v3/doc/google/cloud/translate/v3/translation_service.rb
google-cloud-translate/lib/google/cloud/translate/v3/doc/google/longrunning/operations.rb
google-cloud-translate/lib/google/cloud/translate/v3/doc/google/protobuf/any.rb
google-cloud-translate/lib/google/cloud/translate/v3/doc/google/protobuf/timestamp.rb
google-cloud-translate/test/google/cloud/translate/v3/translation_service_client_test.rb
google-cloud-translate/.gitignore
google-cloud-translate/.rubocop.yml
google-cloud-translate/AUTHENTICATION.md
google-cloud-translate/LICENSE
google-cloud-translate/OVERVIEW.md
google-cloud-translate/Rakefile
google-cloud-translate/acceptance/translate/translate_test.rb
google-cloud-translate/lib/google-cloud-translate.rb
google-cloud-translate/lib/google/cloud/translate.rb
google-cloud-translate/lib/google/cloud/translate/api.rb
google-cloud-translate/lib/google/cloud/translate/credentials.rb
google-cloud-translate/lib/google/cloud/translate/detection.rb
google-cloud-translate/lib/google/cloud/translate/language.rb
google-cloud-translate/lib/google/cloud/translate/service.rb
google-cloud-translate/lib/google/cloud/translate/translation.rb
google-cloud-translate/lib/google/cloud/translate/v2.rb
google-cloud-translate/lib/google/cloud/translate/v2/api.rb
google-cloud-translate/lib/google/cloud/translate/v2/credentials.rb
google-cloud-translate/lib/google/cloud/translate/v2/detection.rb
google-cloud-translate/lib/google/cloud/translate/v2/language.rb
google-cloud-translate/lib/google/cloud/translate/v2/translation.rb
google-cloud-translate/lib/google/cloud/translate/v3/translation_service_client_config.json
google-cloud-translate/lib/google/cloud/translate/v3/translation_service_pb.rb
google-cloud-translate/lib/google/cloud/translate/v3/translation_service_services_pb.rb
google-cloud-translate/support/doctest_helper.rb
google-cloud-translate/test/google/cloud/translate/v2/detect_test.rb
google-cloud-translate/test/google/cloud/translate/v2/languages_test.rb
google-cloud-translate/test/google/cloud/translate/v2/translate_test.rb
google-cloud-translate/test/google/cloud/translate_test.rb
google-cloud-translate/CONTRIBUTING.md
google-cloud-translate/README.md
google-cloud-translate/.yardopts
google-cloud-translate/CODE_OF_CONDUCT.md
google-cloud-translate/TROUBLESHOOTING.md
google-cloud-translate/docs/toc.json
google-cloud-translate/docs/authentication.md
google-cloud-translate/test/google/cloud/translate/service_test.rb

Compare Changes

This PR was generated with Release Please.

@yoshi-automation
yoshi-automation requested a review from a team October 16, 2020 08:37
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Oct 16, 2020
@dazuma dazuma added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Oct 16, 2020
@dazuma dazuma closed this Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autorelease: closed cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants