Changelog

PyPI History

2.17.2 (2023-01-30)

Documentation

2.17.1 (2023-01-23)

Bug Fixes

  • Add context manager return types (ed80330)

Documentation

  • Add documentation for enums (ed80330)

2.17.0 (2023-01-16)

Features

  • Add support for python 3.11 (#478) (487242f)

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

  • Added new fields to facilitate debugging (c2a079c)

  • v1: Added ABNF Grammars field in Speech Adaptation (ca28974)

  • v1p1beta1: Added ABNF Grammars field in Speech Adaptation (ca28974)

Bug Fixes

  • Add dict typing for client_options (c2a079c)

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

  • Drop usage of pkg_resources (c2a079c)

  • Fix timeout default values (c2a079c)

Documentation

  • samples: Code samples for Speech-to-Text V2 (5c99f00)

  • samples: Snippetgen handling of repeated enum field (c2a079c)

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

  • samples: Update code samples for adaptation and VAD (#462) (f785ac7)

2.16.2 (2022-10-07)

Bug Fixes

Documentation

  • samples: Add create_recognizer code sample (#450) (4ea3edc)

  • samples: Add quickstart code sample for STT V2 (#451) (5b1ce98)

2.16.1 (2022-10-05)

Bug Fixes

  • Remove SpeechHelpers from STT V2 client library (#452) (acfb24f)

2.16.0 (2022-10-03)

Features

Bug Fixes

2.15.1 (2022-08-11)

Bug Fixes

  • deps: allow protobuf < 5.0.0 (#425) (1ad5df9)

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

2.15.0 (2022-07-14)

Features

Bug Fixes

2.14.1 (2022-06-06)

Bug Fixes

Documentation

  • fix changelog header to consistent size (#401) (233539d)

  • samples: resolve library deprecation warnings (1d4569d)

2.14.0 (2022-05-11)

Features

Documentation

  • Add documentation for latest models to RecognitionConfig (#368) (75b8379)

  • Update client libraries for v1p1beta1 api (#372) (39b0a2c)

  • update docstrings to use absolute links (#355) (e36910b)

2.13.1 (2022-03-05)

Bug Fixes

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

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

2.13.0 (2022-02-26)

Features

Bug Fixes

  • deps: move libcst to extras (#322) (de6e7c1)

  • resolve DuplicateCredentialArgs error when using credentials_file (#318) (1348765)

Documentation

2.12.0 (2022-01-17)

Features

  • add hint boost in SpeechContext (3fdef1f)

  • add result_end_time to SpeechRecognitionResult (#291) (6ac4df6)

  • add SpeechAdaptation configuration (3fdef1f)

  • add spoken punctuation and spoken emojis (3fdef1f)

  • add WEBM_OPUS codec (3fdef1f)

  • add word confidence (3fdef1f)

  • added alternative_language_codes to RecognitionConfig (#290) (3fdef1f)

2.11.1 (2021-11-01)

Bug Fixes

  • deps: drop packaging dependency (43f25c0)

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

Documentation

  • list oneofs in docstring (43f25c0)

2.11.0 (2021-10-25)

Features

2.10.0 (2021-10-08)

Features

  • add context manager support in client (#268) (a5e2005)

2.9.3 (2021-10-04)

Documentation

  • samples: Remove reference to deprecated message “diarization_speaker_count” in favor of diarization_config (#264) (c1f7f35)

2.9.2 (2021-09-30)

Bug Fixes

  • improper types in pagers generation (a0bac07)

2.9.1 (2021-09-24)

Bug Fixes

  • add ‘dict’ annotation type to ‘request’ (e75ada8)

2.9.0 (2021-09-20)

Features

Documentation

  • samples: fixed model adaptation sample to correctly refer to custom classes (#246) (5fa2433)

2.8.0 (2021-08-19)

Features

Documentation

  • samples: remove io dependency in transcribe samples (#223) (928ca3a)

2.7.0 (2021-08-10)

Features

  • add total_billed_time response field (#224) (07b5203)

2.6.0 (2021-07-28)

Features

  • v1p1beta1: add total_billed_time response field (#219) (e7efa67)

Bug Fixes

  • enable self signed jwt for grpc (#217) (f43812c)

  • v1p1beta1: custom_class_id is required field in CreateCustomClassRequest. (e7efa67)

  • v1p1beta1: phrase_set_id is required field in CreatePhraseSetRequest (e7efa67)

Documentation

  • samples: Add Spoken Punctuation and Emojis code samples (#155) (cc6b234)

  • add Samples section to CONTRIBUTING.rst (#211) (4b7e4c4)

2.5.1 (2021-07-21)

Bug Fixes

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

2.5.0 (2021-07-01)

Features

2.4.1 (2021-06-21)

Documentation

2.4.0 (2021-05-22)

Features

  • add webm opus support (eb360ae)

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

Bug Fixes

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

2.3.0 (2021-04-08)

Features

  • Support for spoken punctuation and spoken emojis (#143) (b6bddbe)

2.2.1 (2021-03-31)

Bug Fixes

2.2.0 (2021-03-19)

Features

  • adds model adaptation sample (#121) (24b9424)

  • Support output transcript to Google Cloud Storage for LongRunningRecognize (#128) (5974564)

2.1.0 (2021-02-26)

Features

  • add common resource helpers; expose transport; remove gRPC send/recv limits (#100) (b4700a6)

  • add from_service_account_info factory (3bed0b4)

  • adds new multi region sample (#96) (a103f09)

  • v1p1beta1: support Model Adaptation (#104) (3bed0b4)

Bug Fixes

  • Remove incorrect comment on enhanced models (#95) (8a02cee)

Documentation

  • fix sphinx identifiers (3bed0b4)

  • updated setup documentation to point to python-speech instead of python-docs-samples (#89) (722e86e)

2.0.1 (2020-11-16)

Bug Fixes

  • deleted a line duplicating the call to the recognizer (#83) (3ef6ce5)

  • migrated samples to speech 2.0.0 (#78) (47dd992)

2.0.0 (2020-09-24)

⚠ BREAKING CHANGES

  • migrate to microgenerator (#61)

Features

Documentation

  • remove example usage from READMe (#46) (4214630)

1.3.2 (2020-02-03)

Bug Fixes

  • speech: increase default timeout for v1p1beta1 (via synth) (#9999) (e9b4919)

  • speech: increase timeout values in client config (via synth) (#9922) (8d34bea)

  • speech: mark Recognize idempotent (via synth) (#9874) (a69e08c)

  • speech: move ‘speaker_tag’ field from ‘SpeakerDiarizationConfig’ to ‘WordInfo’ (via synth) (#9576) (2ba5ab9)

  • speech: re-add unused speaker_tag; update spacing in docs templates (via synth) (#9765) (e1c5a54)

1.3.1

12-06-2019 13:05 PST

Implementation Changes

  • Increase timeout values in client config (via synth). (#9922)

1.3.0

11-21-2019 14:03 PST

Implementation Changes

  • Mark Recognize as idempotent (via synth). (#9874)

  • Re-add unused speaker_tag; update spacing in docs templates (via synth). (#9765)

  • Move speaker_tag field from SpeakerDiarizationConfig to WordInfo (via synth). (#9576)

  • Remove send/recv msg size limit (via synth). (#8969)

New Features

  • Add speaker diarization configuration support (via synth). (#9202)

  • Add SpeakerDiarizationConfig, deprecate enable_speaker_diarization and diarization_speaker_count (via synth). (#8795)

Documentation

  • Add python 2 sunset banner to documentation. (#9036)

  • Reorder samples. (#9313)

  • Update docstrings (via synth). (#9292)

  • Fix intersphinx reference to requests. (#9294)

  • Add generated code samples. (#9153)

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

  • Remove compatibility badges from READMEs. (#9035)

  • Update intersphinx mapping for requests. (#8805)

Internal / Testing Changes

  • Add v1p1beta1 systests for longrunning / streaming recognize. (#9287)

  • Add v1 systests for longrunning / streaming recognize. (#9285)

  • Update samples manifest (via synth). (#9211)

1.2.0

07-24-2019 17:35 PDT

New Features

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

Dependencies

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

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

Documentation

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

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

1.1.0

06-27-2019 16:55 PDT

Implementation Changes

  • Allow kwargs to be passed to ‘create_channel’ (via synth). (#8428)

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

New Features

  • Increase speech max received msg size to 256 MiB (#8338)

  • Add MP3 to Audio Encoding and add boost to Speech Context (via synth). (#8109)

  • Add Recognition Metadata (via synth). (#7961)

Documentation

  • Update to show ‘google-cloud-speech’ is GA. (#8453)

  • Tweak ‘SpeechContext’ docstring (via synth). (#8223)

Internal / Testing Changes

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

  • (Re)-blacken (via synth). (#8446)

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

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

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

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

  • Add empty lines. (#8072)

  • Update noxfile (via synth). (#7836)

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

1.0.0

03-18-2019 08:05 PDT

Implementation Changes

  • Remove unused message exports. (#7275)

New Features

  • Promote google-cloud-speech to GA (#7525)

Documentation

  • Updated client library documentation URLs. (#7307)

Internal / Testing Changes

  • Speech: copy lintified proto files (via synth).

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

  • Copy proto files alongside protoc versions. Remove unneeded utf-8 header.

0.36.3

01-31-2019 09:57 PST

New Features

  • Add ‘RecognitionConfig.audio_channel_count’ field via synth. (#7240)

Documentation

  • Modify file headers. (#7158)

Internal / Testing Changes

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

0.36.2

01-10-2019 15:36 PST

Implementation Changes

  • Protoc-generated serialization update. (#7106)

Documentation

  • Regenerate speech to change quote chars in docstr.

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

0.36.1

12-18-2018 09:46 PST

Implementation Changes

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

  • Pick up fixes to GAIPC generator. (#6508)

  • Add result_end_time, docstring changes via synth. (#6462)

  • Assorted synth fixups / cleanups (#6400)

  • Fix client_info bug, update docstrings and timeouts. (#6421)

  • Re-generate library using speech/synth.py (#5979)

Dependencies

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

Documentation

  • Document Python 2 deprecation (#6910)

  • Clarify passed arguments in speech examples. (#6857)

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

  • Fix client library URL. (#6052)

  • Prep docs for repo split. (#6017)

Internal / Testing Changes

  • Synth.metadata. (#6868)

  • 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 / fix badges for PyPI / versions. (#6158)

  • Use new Nox (#6175)

0.36.0

New Features

  • Re-generate the library to pick up changes and new features in the underlying API. (#5915)

Documentation

  • Fix broken links to description of ‘Beta’ (#5917)

  • Replace links to ‘/stable/’ with ‘/latest/’. (#5901)

0.35.0

Implementation Changes

  • Re-generated the library to pick up new API features. (#5577)

Internal / Testing Changes

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

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

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

0.34.0

Implementation Changes

  • Regenerate GAPIC to account for the removal of GoogleDataCollectionConfig and google_data_collection_opt_in (#5235)

0.33.0

New Features

  • Add Audio Logging and Recognition Metadata. (#5123)

Internal / Testing Changes

  • Fix bad trove classifier

0.32.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)

0.31.1

Bugfixes

  • Fix speech helpers to properly pass retry and timeout args. (#4828, #4830)

0.31.0

This is the (hopefully) final release candidate before 1.0.

Breaking Changes

  • The deprecated Speech layer (deprecated since 0.27.0) has been removed. If you are still using it, the migration guide is still available.

  • The following changes are technically breaking but very unlikely to affect you directly:

    • google.cloud.gapic.speech.v1 moved to google.cloud.speech_v1.gapic, in accordance with more recent clients.

    • google.cloud.proto.speech.v1 moved to google.cloud.speech_v1.proto, in accordance with more recent clients.

Dependencies

  • Removed dependency on google-gax.

  • Added dependency on google-api-core, its replacement.

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-protosdependencies (#4096, #4098)

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