As of January 1, 2020 this library no longer supports Python 2 on the latest released version. Library versions released prior to that date will continue to be available. For more information please visit Python 2 support on Google Cloud.

Changelog

PyPI History

3.6.1 (2021-11-04)

Bug Fixes

  • deps: drop packaging dependency (7924322)

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

Documentation

  • list oneofs in docstring (7924322)

  • samples: Add Cloud Code tags for API Explorer pilot (#282) (3e8df68)

3.6.0 (2021-10-18)

Features

Bug Fixes

  • add model signature for batch document translation (#276) (be0b01b)

3.5.0 (2021-10-11)

Features

  • add context manager support in client (#267) (6e750e8)

Bug Fixes

  • #254 by increasing timeout, use backoff module instead of flaky (#271) (0cff0f2)

3.4.1 (2021-09-30)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (6bbf390)

  • improper types in pagers generation (cd70523)

3.4.0 (2021-08-29)

Features

  • add translate_document and batch_translate_document (#234) (b5962d6)

  • v3beta1: add format_conversions (b5962d6)

Bug Fixes

  • add missing annotation for batch document translation (#231) (a1297ba)

3.3.2 (2021-07-29)

Bug Fixes

Documentation

  • add Samples section to CONTRIBUTING.rst (#206) (6f1df67)

Miscellaneous Chores

3.3.1 (2021-07-21)

Bug Fixes

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

3.3.0 (2021-07-19)

Features

  • add always_use_jwt_access (778878d)

Bug Fixes

3.2.1 (2021-06-21)

Documentation

3.2.0 (2021-05-28)

Features

  • support self-signed JWT flow for service accounts (959a35c)

Bug Fixes

  • add async client to %name_%version/init.py (959a35c)

  • deps: add packaging requirement (959a35c)

Documentation

  • connect Python Translate client library to nebulous serverless example (#162) (2986864)

3.1.0 (2021-03-31)

Features

  • add from_service_account_info (a397eff)

  • v3beta1: add online and batch document translation (a397eff)

  • v3beta1: add online and batch document translation (#121) (a397eff)

Bug Fixes

3.0.2 (2020-12-09)

Documentation

  • add w/ glossary and model (1e030d4)

3.0.1 (2020-08-08)

Bug Fixes

3.0.0 (2020-08-05)

⚠ BREAKING CHANGES

  • migrate API to microgenerator (#31)

Features

2.0.2 (2020-08-03)

Bug Fixes

  • refactored MP3 file creation test for Hybrid glossaries samples [(#2379)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2379) (b8b5101)

  • translate test [(#2671)](https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2671) (a3d9f80)

  • update default retry config (#15) (dddf0bf)

2.0.1 (2020-01-31)

Bug Fixes

  • translate: add py2 deprecation warning; bump copyright year to 2020; add 3.8 unit tests (via synth) (#9943) (b57f09a)

  • translate: update test assertion and core version pins (#10098) (74b7757)

2.0.0

10-23-2019 11:13 PDT

New Features

  • Make v3 the default client. (#9498)

Internal / Testing Changes

  • Add VPC-SC system tests. (#9272)

1.7.0

10-07-2019 14:57 PDT

Implementation Changes

  • Update docstrings, client confg (via synth). (#9411)

  • Remove send / receive message size limit (via synth). (#8974)

New Features

  • Add support for V3 of the API. (#9020)

  • Make parent argument required for all client methods in v3beta1; add labels argument (via synth). (#9354)

  • Add client options to translate_v2. (#8737)

Dependencies

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

Documentation

  • Fix links to reference documentation. (#8884)

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

Internal / Testing Changes

  • Update ListGlossaries method annotation (via synth) (#9385)

  • Fix intersphinx reference to requests (#9294)

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

  • Update intersphinx mapping for requests. (#8805)

1.6.0

07-09-2019 13:13 PDT

Implementation Changes

  • Allow kwargs to be passed to create_channel (via synth). (#8409)

  • Update service descriptions and add additional rpc bindings for Translate (#8267)

New Features

  • Add ‘client_options’ support, update list method docstrings (via synth). (#8527)

Internal / Testing Changes

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

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

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

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

  • Blacken (via synth). (#8282)

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

  • Fix coverage in ‘types.py’ (via synth). (#8168)

  • Blacken noxfile.py, setup.py (via synth). (#8135)

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

1.5.0

05-16-2019 13:05 PDT

Implementation Changes

  • Add routing header to method metadata, fix docstring (via synth). (#7660)

New Features

  • Add client_info support to client / connection. (#7873)

Dependencies

  • Pin google-cloud-core >= 1.0.0, < 2.0dev. (#7993)

Documentation

  • Add docs for v3beta1. (#7681)

Internal / Testing Changes

  • Harden system test against back-end changes. (#7987)

  • Exclude docs/conf.py in synth. (#7943)

  • Update docs/conf.py (via synth). (#7837)

  • Add nox session docs, reorder methods (via synth). (#7785)

1.4.0

04-02-2019 14:24 PDT

Implementation Changes

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

New Features

  • Add Translate v3 (#7637)

Documentation

  • Updated client library documentation URLs. (#7307)

1.3.3

12-17-2018 17:07 PST

Documentation

  • Document Python 2 deprecation (#6910)

1.3.2

12-10-2018 13:33 PST

Implementation Changes

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

  • Fix rtype for Client.detect_language for single values (#5397)

Dependencies

  • Update dependency to google-cloud-core (#6835)

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

Documentation

  • Fix installation package in README.rst (#6426)

  • Fix #6321 Update README service links in quickstart guides. (#6322)

  • Docs: normalize use of support level badges (#6159)

  • Restore detailed usage docs. (#5999)

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

  • Prep translate docs for repo split. (#5941)

Internal / Testing Changes

  • Add blacken to noxfile (#6795)

  • Blackening Continued… (#6667)

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

  • Adapt system test to updated back-end translation. (#6427)

  • Use new Nox (#6175)

  • Nox: use inplace installs (#5865)

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

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

  • Fix bad trove classifier

1.3.1

Dependencies

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

Documentation

  • Fixing “Fore” -> “For” typo in README docs. (#4317)

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)

  • Making a nox -s default session for all packages. (#4324)

  • Shorten test names (#4321)

1.3.0

Notable Implementation Changes

  • Use POST (rather than GET) for API translate requests (#4095, h/t to @Maerig)

Documentation

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

  • Fix example in Config.get_variable() (#3910)

Dependencies

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

PyPI: https://pypi.org/project/google-cloud-translate/1.3.0/