Changelog
2.11.0 (2023-08-11)
Features
2.10.1 (2023-07-04)
Bug Fixes
2.10.0 (2023-05-25)
Features
2.9.1 (2023-03-23)
Documentation
2.9.0 (2023-02-16)
Features
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
Bug Fixes
Documentation
2.5.2 (2022-08-11)
Bug Fixes
2.5.1 (2022-07-13)
Bug Fixes
2.5.0 (2022-07-07)
Features
- add audience parameter ( 592e7f8 )
Bug Fixes
2.4.3 (2022-06-06)
Bug Fixes
Documentation
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
2.3.1 (2021-11-01)
Bug Fixes
Documentation
- list oneofs in docstring ( 6374e7f )
2.3.0 (2021-10-09)
Features
2.2.2 (2021-07-28)
Bug Fixes
Documentation
Miscellaneous Chores
2.2.1 (2021-07-20)
Bug Fixes
2.2.0 (2021-07-01)
Features
Bug Fixes
Documentation
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 )
-
fix sphinx identifiers ( cc8a180 )
-
remove client recv msg limit fix: add enums to
types/__init__.py
( #62 ) ( 3476c0f )
Documentation
Miscellaneous Chores
2.0.0 (2020-10-16)
Features
Documentation
-
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 )
-
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
fromgoogle.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
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
, andscopes
.
- The removed arguments are:
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 ongoogle-api-core
(#4221, #4280) -
Deferring to
google-api-core
forgrpcio
andgoogleapis-common-protos
dependencies (#4096, #4098)
PyPI: https://pypi.org/project/google-cloud-language/0.30.0/