Changelog

PyPI History

2.17.2 (2025-06-11)

Documentation

  • Update import statement example in README ( 868b006 )

2.17.1 (2025-03-15)

Bug Fixes

  • [Many APIs] Allow Protobuf 6.x ( c8bbf32 )

  • remove setup.cfg configuration for creating universal wheels ( #13659 ) ( 59bfd42 )

2.17.0 (2025-02-12)

Features

  • Add REST Interceptors which support reading metadata ( 908d742 )

  • Add support for reading selective GAPIC generation methods from service YAML ( 908d742 )

2.16.0 (2024-12-12)

Features

  • Add support for opt-in debug logging ( feb5c03 )

Bug Fixes

  • Fix typing issue with gRPC metadata when key ends in -bin ( feb5c03 )

2.15.1 (2024-11-11)

Bug Fixes

2.15.0 (2024-10-24)

Features

2.14.0 (2024-07-30)

Features

  • [google-cloud-language] add model_version in ModerateTextRequest and expose severity score in ClassificationCategory ( #12945 ) ( ff45b04 )

Bug Fixes

  • Retry and timeout values do not propagate in requests during pagination ( 189922a )

2.13.4 (2024-07-08)

Bug Fixes

2.13.3 (2024-03-05)

Bug Fixes

  • deps:Exclude google-auth 2.24.0 and 2.25.0 ( #12385 ) ( d50f4d0 )

2.13.2 (2024-02-22)

Bug Fixes

  • deps:[Many APIs] Require google-api-core>=1.34.1 ( #12307 ) ( be87bc4 )

  • fix ValueError in test__validate_universe_domain ( dd749df )

2.13.1 (2024-02-06)

Bug Fixes

  • Add google-auth as a direct dependency ( 27dceb9 )

  • Add staticmethod decorator to _get_client_cert_source and _get_api_endpoint ( 27dceb9 )

  • Resolve AttributeError ‘Credentials’ object has no attribute ‘universe_domain’ ( 27dceb9 )

2.13.0 (2024-02-01)

Features

  • Allow users to explicitly configure universe domain ( #12241 ) ( aae72f5 )

2.12.0 (2023-12-07)

Features

  • Add support for python 3.12 ( f46b37f )

  • Introduce compatibility with native namespace packages ( f46b37f )

Bug Fixes

  • Require proto-plus >= 1.22.3 ( f46b37f )

  • Use retry_async instead of retry in async client ( f46b37f )

2.11.1 (2023-09-19)

Documentation

2.11.0 (2023-08-11)

Features

2.10.1 (2023-07-04)

Bug Fixes

  • Add async context manager return types ( #440 ) ( f6322f4 )

2.10.0 (2023-05-25)

Features

2.9.1 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring ( #429 ) ( 475e787 )

2.9.0 (2023-02-16)

Features

  • Enable “rest” transport in Python for services supporting numeric enums ( #423 ) ( 21c09b8 )

2.8.1 (2023-01-20)

Bug Fixes

  • Add context manager return types ( a26c418 )

Documentation

  • Add documentation for enums ( a26c418 )

2.8.0 (2023-01-10)

Features

2.7.0 (2022-12-14)

Features

  • Add support for google.cloud.language.__version__ ( 3ff2900 )

  • Add typing to proto.Message based class attributes ( 3ff2900 )

Bug Fixes

  • Add dict typing for client_options ( 3ff2900 )

  • deps:Require google-api-core >=1.34.0, >=2.11.0 ( fa4547f )

  • Drop usage of pkg_resources ( fa4547f )

  • Fix timeout default values ( fa4547f )

Miscellaneous Chores

  • Release-please updates snippet metadata ( cb52907 )

Documentation

  • samples:Snippetgen handling of repeated enum field ( 3ff2900 )

  • samples:Snippetgen should call await on the operation coroutine before calling result ( fa4547f )

  • Specify client library version requirement in samples/v1/language_classify_text.py ( #388 ) ( bff4a65 )

2.6.1 (2022-10-10)

Bug Fixes

2.6.0 (2022-09-29)

Features

  • Add support for V1 and V2 classification models ( #376 ) ( 3ba5c56 )

Bug Fixes

Documentation

  • Update classification sample to use v2 model ( #378 ) ( 73670e2 )

2.5.2 (2022-08-11)

Bug Fixes

  • deps:allow protobuf < 5.0.0 ( #349 ) ( a9c90c3 )

  • deps:require proto-plus >= 1.22.0 ( a9c90c3 )

2.5.1 (2022-07-13)

Bug Fixes

  • deps:require google-api-core>=1.32.0,>=2.8.0 ( #339 ) ( b971d59 )

2.5.0 (2022-07-07)

Features

  • add audience parameter ( 592e7f8 )

Bug Fixes

2.4.3 (2022-06-06)

Bug Fixes

Documentation

  • fix changelog header to consistent size ( #324 ) ( 11aa986 )

2.4.2 (2022-05-17)

Documentation

  • fix type in docstring for map fields ( 41c28cd )

2.4.1 (2022-03-05)

Bug Fixes

  • deps:require google-api-core>=1.31.5, >=2.3.2 ( #273 ) ( 94b2ae4 )

  • deps:require proto-plus>=1.15.0 ( 94b2ae4 )

2.4.0 (2022-02-28)

Features

Bug Fixes

  • resolve DuplicateCredentialArgs error when using credentials_file ( 3e7c964 )

2.3.2 (2022-01-20)

Documentation

  • samples:Document -> types.Document ( #227 ) ( 01367d7 )

2.3.1 (2021-11-01)

Bug Fixes

  • deps:drop packaging dependency ( 6374e7f )

  • deps:require google-api-core >= 1.28.0 ( 6374e7f )

Documentation

  • list oneofs in docstring ( 6374e7f )

2.3.0 (2021-10-09)

Features

  • add context manager support in client ( #203 ) ( 91d48a8 )

2.2.2 (2021-07-28)

Bug Fixes

Documentation

  • add Samples section to CONTRIBUTING.rst ( #161 ) ( 5c28a16 )

Miscellaneous Chores

2.2.1 (2021-07-20)

Bug Fixes

  • deps:pin ‘google-{api,cloud}-core’, ‘google-auth’ to allow 2.x versions ( #160 ) ( f8f9092 )

2.2.0 (2021-07-01)

Features

Bug Fixes

Documentation

  • omit mention of Python 2.7 in ‘CONTRIBUTING.rst’ ( #1127 ) ( #132 ) ( bc5f89e )

2.1.0 (2021-06-16)

Features

  • add ‘from_service_account_info’ factory to clients ( cc8a180 )

  • add common resource helper methods; expose client transport ( #55 ) ( 8dde55c )

  • add from_service_account_info factory and fix sphinx identifiers ( #66 ) ( cc8a180 )

  • support self-signed JWT flow for service accounts ( 0dcb15e )

Bug Fixes

  • add async client to %name_%version/init.py ( 0dcb15e )

  • adds underscore to “type” to NL API samples ( #49 ) ( 36aa320 )

  • deps:add packaging requirement ( #113 ) ( 7e711ac )

  • fix sphinx identifiers ( cc8a180 )

  • remove client recv msg limit fix: add enums to types/__init__.py ( #62 ) ( 3476c0f )

  • use correct retry deadlines ( #83 ) ( e2be2d8 )

Documentation

Miscellaneous Chores

2.0.0 (2020-10-16)

Features

  • Migrate API to use python micro-generator ( #41 ) ( b408b14 )

Documentation

  • add multiprocessing note ( #26 ) ( a489102 )

  • add spacing for readability ( #22 ) ( 7dff809 )

  • fix small typo ( #5 ) ( 7a9d4dd )

  • language:change docstring formatting; bump copyright year to 2020 (via synth) ( #10234 ) ( b68b216 )

  • language:edit hyphenation of “part-of-speech” (via synth) ( #9954 ) ( 6246ef9 )

  • language:fixes typo in Natural Language samples ( #10134 ) ( 223d614 )

  • add python 2 sunset banner to documentation ( #9036 ) ( 1fe4105 )

  • fix intersphinx reference to requests ( #9294 ) ( e97a0ae )

  • Remove CI for gh-pages, use googleapis.dev for api_core refs. ( #9085 ) ( 6b15df6 )

1.3.0

07-24-2019 16:44 PDT

Implementation Changes

  • Allow kwargs to be passed to create_channel ( #8396 )

New Features

  • Add ‘client_options’ support (via synth). ( #8515 )

Dependencies

  • Bump minimum version for google-api-core to 1.14.0. ( #8709 )

Documentation

  • Link to googleapis.dev documentation in READMEs. ( #8705 )

  • Add compatibility check badges to READMEs. ( #8288 )

  • Add google.api proto annotations, update docstrings (via synth). ( #7659 )

Internal / Testing Changes

  • Pin black version (via synth). ( #8588 )

  • Add docs job to publish to googleapis.dev. ( #8464 )

  • Declare encoding as utf-8 in pb2 files (via synth). ( #8357 )

  • Add disclaimer to auto-generated template files (via synth). ( #8319 )

  • Suppress checking ‘cov-fail-under’ in nox default session (via synth). ( #8246 )

  • Blacken ‘noxfile.py’ / ‘setup.py’ (via synth). ( #8158 )

  • Add empty lines (via synth). ( #8063 )

  • Add nox session docs (via synth). ( #7776 )

1.2.0

03-29-2019 09:53 PDT

Implementation Changes

  • Remove classifier for Python 3.4 for end-of-life. ( #7535 )

  • Protoc-generated serialization update. ( #7087 )

New Features

  • Add new entity types (via synth). ( #7510 )

Documentation

  • Update client library documentation URLs. ( #7307 )

  • Update copyright headers

  • Pick up stub docstring fix in GAPIC generator. ( #6975 )

Internal / Testing Changes

  • Copy lintified proto files (via synth). ( #7468 )

  • Add clarifying comment to blacken nox target. ( #7397 )

  • Copy in correct proto versions via synth. #7257 )

  • Add protos as an artifact to library ( #7205 )

1.1.1

12-18-2018 09:34 PST

Implementation Changes

  • Import iam.policy from google.api_core . ( #6741 )

  • Pick up fixes to GAPIC generator. ( #6521 )

  • Fix client_info bug, update docstrings. ( #6415 )

Dependencies

  • Bump minimum api_core version for all GAPIC libs to 1.4.1. ( #6391 )

Documentation

  • Document Python 2 deprecation ( #6910 )

  • Normalize use of support level badges ( #6159 )

  • Fix usage docs example for entity extraction ( #6193 )

Internal / Testing Changes

  • Update noxfile.

  • Blacken all gen’d libs ( #6792 )

  • Omit local deps ( #6701 )

  • Run black at end of synth.py ( #6698 )

  • Run Black on Generated libraries ( #6666 )

  • Add templates for flake8, coveragerc, noxfile, and black. ( #6642 )

  • Add synth metadata. ( #6570 )

  • Use new Nox ( #6175 )

1.1.0

10-05-2018 13:52 PDT

Implementation Changes

  • The library has been regenerated to pick up changes in the underlying API.

  • Add Test runs for Python 3.7 and remove 3.4 ( #5295 )

Documentation

  • Translate / Logging / Language: restore detailed usage docs. ( #5999 )

  • Redirect renamed ‘usage.html’/’client.html’ -> ‘index.html’. ( #5996 )

  • Prep language docs for repo split. ( #5932 )

Internal / Testing Changes

  • Language: add ‘synth.py’. ( #6080 )

  • Nox: use inplace installs ( #5865 )

  • Avoid overwriting ‘ module’ of messages from shared modules. ( #5364 )

  • Modify system tests to use prerelease versions of grpcio ( #5304 )

1.0.2

Packaging

  • Update setuptools before packaging (#5265)

  • Update setup.py to use recommended method for python-verson specific dependencies (#5266)

  • Fix bad trove classifier

1.0.1

Dependencies

  • Update dependency range for api-core to include v1.0.0 releases (#4944)

Testing and internal changes

  • Install local dependencies when running lint (#4936)

  • Re-enable lint for tests, remove usage of pylint (#4921)

  • Normalize all setup.py files (#4909)

  • Fix coveragerc to correctly omit generated files (#4843)

1.0.0

image

Features

General Availability

The google-cloud-language package is now supported at the general availabilityquality level. This means it is stable; the code and API surface will not change in backwards-incompatible ways unless absolutely necessary (e.g. because of critical security issues) or with an extensive deprecation period.

One exception to this: We will remove beta endpoints (as a semver-minor update) at whatever point the underlying endpoints go away.

0.31.0

Release Candidate

  • This update is considered a final “release candidate”, and the google-cloud-language package is preparing for a GA release in the near future.

⚠️ Breaking Changes!

  • Some rarely-used arguments to the LanguageServiceClient constructor have been removed (in favor of a subclass or a custom gRPC channel). It is unlikely that you used these, but if you did, then this update will represent a breaking change.

    • The removed arguments are: client_config , lib_name , lib_version metrics_headers , ssl_credentials , and scopes .

Features

  • Added the classify_text method on the primary ( v1 ) endpoint. (#4283)

0.30.0

Documentation

  • Added link to “Python Development Environment Setup Guide” in project README (#4187, h/t to @michaelawyu)

Dependencies

  • Upgrading to google-cloud-core >= 0.28.0 and adding dependency on google-api-core (#4221, #4280)

  • Deferring to google-api-core for grpcio and googleapis-common-protos dependencies (#4096, #4098)

PyPI: https://pypi.org/project/google-cloud-language/0.30.0/

Design a Mobile Site
View Site in Mobile | Classic
Share by: