Changelog

PyPI History

3.13.0 (2023-12-07)

Features

  • Add support for python 3.12 (f920d22)

  • Introduce compatibility with native namespace packages (f920d22)

Bug Fixes

  • Require proto-plus >= 1.22.3 (f920d22)

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

3.12.1 (2023-10-19)

Bug Fixes

  • Require google-cloud-core >= 1.4.4 (8542583)

Documentation

3.12.0 (2023-08-08)

Features

  • Added shadow removal and rotation correction options to Document Translation and Batch Document Translation API (#511) (285059a)

3.11.3 (2023-07-28)

Documentation

3.11.2 (2023-07-04)

Bug Fixes

  • Add async context manager return types (#496) (528a91d)

3.11.1 (2023-03-23)

Documentation

  • Fix formatting of request arg in docstring (#487) (59f7107)

3.11.0 (2023-02-28)

Features

  • Add supported fields in document translation request and refresh translation v3 GA service proto documentation (cb63888)

  • Enable “rest” transport in Python for services supporting numeric enums (cb63888)

3.10.1 (2023-01-23)

Bug Fixes

  • Add context manager return types (e20fa00)

Documentation

  • Add documentation for enums (e20fa00)

3.10.0 (2023-01-10)

Features

3.9.0 (2022-12-15)

Features

  • Add typing to proto.Message based class attributes (60573e6)

Bug Fixes

  • Add dict typing for client_options (60573e6)

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

  • Drop usage of pkg_resources (60573e6)

  • Fix timeout default values (60573e6)

Documentation

  • samples: Snippetgen handling of repeated enum field (60573e6)

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

3.8.4 (2022-10-07)

Bug Fixes

3.8.3 (2022-10-03)

Bug Fixes

3.8.2 (2022-09-06)

Documentation

  • samples: Fixing file saving for local documents translation (#419) (49bd707)

3.8.1 (2022-08-11)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#425) (ba884c6)

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

3.8.0 (2022-07-14)

Features

Bug Fixes

3.7.4 (2022-06-06)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#396) (d4d2825)

3.7.3 (2022-05-19)

Documentation

  • fix type in docstring for map fields (3b845d6)

3.7.2 (2022-03-05)

Bug Fixes

  • deps: require google-api-core>=1.31.5, >=2.3.2 (#348) (fe3ac1e)

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

3.7.1 (2022-02-26)

Documentation

3.7.0 (2022-02-03)

Features

Bug Fixes

  • 290 added a create glossary line before each call using bistro-glossary (#302) (742e414)

  • resolve DuplicateCredentialArgs error when using credentials_file (26791c2)

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

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/