Skip to content

Conversation

release-please[bot]
Copy link
Contributor

🤖 I have created a release beep boop

0.39.1 (2022-01-27)

Features

  • add 'from_service_account_info' factory to clients (#706) (94d5f0c), closes #705
  • add credentials_file and scopes via client_options (#461) (b5e1b1e)
  • Add x-goog-api-client header to rest clients (#888) (2d1d3ae)
  • add api key support (#969) (7c72739)
  • add async samples (#861) (e385ffd)
  • add autogenerated snippets (#845) (abdf5ec)
  • add bazel support for gapic metadata (#811) (7ced24a)
  • add flag for gapic metadata (#795) (9cd7664)
  • add fragment tests (#1056) (9d9b33d)
  • add gapic metadata file (#781) (5dd8fcc)
  • add GOOGLE_API_USE_MTLS support (#420) (41fa725)
  • add iam methods to templates (#545) (3f42c3c)
  • add interceptor-like functionality to REST transport (#1142) (fe57eb2)
  • add mtls feature to rest transport (#731) (524dbab)
  • add mTLS to ads template (#384) (1e76096)
  • add proper handling of query/path/body parameters for rest transport (#702) (6b2de5d)
  • add rest transport generation for clients with optional transport flag (#688) (af59c2c)
  • add retry config passed to bazel rule (#526) (9e96151)
  • add snippet index (#1121) (55d2bc6)
  • add support for common resource paths (#622) (15a7fde)
  • add support for context manager in client (#987) (4edabcf)
  • add support for long-running operations with rest transport. (#1094) (e89fd23)
  • allow user-provided client info (#573) (b2e5274)
  • allow warehouse name to be customized (#717) (7c185e8), closes #605
  • bypass request copying in method calls (#557) (3a23143)
  • dev: Add Git pre-commit hooks [gapic-generator-python] (#908) (298db39)
  • enable self signed jwt for grpc (#920) (da119c7)
  • enable self signed jwt for http (#1000) (5f87973)
  • file_level and indirectly used resources generate helper methods (#642) (42e224c), closes #637
  • forward compatible diregapic LRO support (#1085) (aa7f4d5)
  • generate code snippets by default (#1044) (e46f443)
  • generate snippet metadata (#1129) (9e46031)
  • implement grpc transcode for rest transport and complete generated tests (#999) (ccdd17d)
  • implement grpc transcode for rest transport and complete generated tests. (ccdd17d)
  • Initial draft of GAPIC Bazel Extensions gapic-generator-python (#342) (cc7ab0b)
  • Make GAPIC Bazel rules production ready (#402) (d18ed41)
  • port REST transport to Ads templates (#1003) (d2ab9da)
  • precache wrapped rpcs (#553) (2f2fb5d)
  • provide AsyncIO support for generated code (#365) (305ed34)
  • Raise GoogleAPICallError on REST response errors (#891) (edb8c63)
  • snippetgen: generate mock input for required fields (#941) (b2149da)
  • snippetgen: turn resource path strings into f-strings (#1012) (a110e1d)
  • Support alternative http bindings in the gapic schema. (#993) (041a726)
  • Support field presence for query parameters in REST clients (#866) (5339db1)
  • support for proto3 optional fields (#519) (1aa729c)
  • support mtls env variables (#589) (b19026d)
  • support protobuf method deprecation option [gapic-generator-python] (#875) (5a5a839)
  • support quota project override via client options (#496) (bbc6b36)
  • support self-signed JWT flow for service accounts (#774) (89d6f35)
  • tests: Add integration test framework, goldens for 4 APIs [gapic-generator-python] (#905) (48db1e6)
  • update templates to permit enum aliases (#809) (2e7ea11)

Bug Fixes

  • 'id' should not be a reserved name (#602) (c43c574)
  • add 'dict' type annotation to 'request' (#966) (49205d9)
  • add 'dict' type annotation to 'request' for async_client (#1051) (08cc2c4)
  • add 'type: ignore' comment for 'google.auth' (#579) (af17501)
  • add a separate DEFAULT_CLIENT_INFO for rest clients (#988) (22ac400)
  • add additional reserved names for disambiguation (#1114) (1cffd8d)
  • add async client to %name_%version/init.py (#859) (391fdb8)
  • add certain raw imports to RESERVED_NAMES (#824) (04bd8aa)
  • add enums to types/init.py (#695) (e1d4a4a)
  • add field headers for other http verbs (#443) (f8e9712), closes #401
  • add google.api_core.retry import to base.py (#555) (1d08e60)
  • add name and version info to fixup script name (#490) (16fe7e7)
  • add oneof fields to generated protoplus init (#485) (be5a847), closes #484
  • add system tests and cert/key (#394) (87fe58f)
  • Adjust Field Names in URI Templates (#1041) (06cd7b6)
  • also add the async client to all (#869) (09c90fa)
  • always use dataclasses 0.6 (#481) (066d04e)
  • bazel: Re-enable Python µgen integration tests post monolith rule removal (#926) (13a6b3a)
  • bazel: Remove monolith imports from Python µgen Bazel rules (#923) (4a2afa7)
  • body encoding for rest transport (#768) (cc55a18)
  • Check for default value presence for non-optional fields in REST (#868) (5748001)
  • consistently use _pb2 identifier (#883) (d789c84)
  • consolidate dependencies in setup.py (#422) (10403bb)
  • convert datetime back to proto for unit tests (#511) (e1c787d)
  • corner case fix for empty request generated test (#801) (039dc71)
  • correctly instantiates client (#338) (7a46524), closes #337
  • disable always_use_jwt_access (#939) (1302352)
  • don't enable snippetgen by default (#1078) (8bdb709)
  • don't use integer for enums in json encoding (#761) (6d37a73)
  • enable GAPIC metadata generation (#843) (697816c)
  • enable self signed jwt for grpc (#958) (af02a9c)
  • ensure rest unit tests have complete coverage (#1098) (0705d9c)
  • exclude 'input' from reserved names list (#788) (da2ff71)
  • expose ssl credentials from transport (#677) (da0ee3e)
  • expose transport property for clients (#645) (13cddda), closes #640
  • fix case for expected field names in required fields test. (#1107) (6a593f9)
  • Fix client template type hints (#593) (93f34e8)
  • fix datetime comparison unit tests (#898) (81932a2)
  • fix docstring for first attribute of protos (#1004) (383f655)
  • fix incorrectly referenced exceptions, add missing port to tests (#873) (40078c4), closes #872
  • fix missing .coveragerc and the broken bazel build (#723) (7f8235f)
  • fix missing http schema (http/https) for REST clients (#1063) (e3aa7a0)
  • fix mTLS logic (#374) (e3c079b)
  • Fix namespace packages conflict issue (#757) (8035662)
  • fix resource path args for paths with =** (#1089) (309cc66)
  • Fix rest transport logic (#1039) (50d61af)
  • fix rest transport tests (#772) (ce110a3)
  • fix rest transport unit test and required query prams handling (#951) (b793017)
  • fix rest transport unit test template (#741) (54b9806)
  • fix rest unit test (#1074) (3b2918e)
  • fix sphinx identifiers (#714) (39be474)
  • fix style-check error (#416) (93ff10b)
  • fix syntax errors and failing unit tests (#849) (9046261), closes #848
  • fix syntax for Deprecationwarning (#942) (82dbddb)
  • fix tests generation logic (#1049) (8f213ad)
  • fix types on server and bidi streaming callables (#641) (d92c202)
  • fix typo attribue -> attribute (#627) (729146f), closes #626
  • fix wrong scopes for self signed jwt (#935) (e033acd)
  • fix wrong unit test (#502) (c95bd45)
  • generated unit tests live in the 'tests/gapic' subdir (#456) (1ed7c9d)
  • handle message bodies (#1117) (36e3236)
  • handle repeated fields in method signatures (#445) (3aae799)
  • handle required fields properly in query_params (#1068) (0e379ca)
  • ignore types for imports generated from 'google.api_core' (#597) (8440e09)
  • ignore unknown fields returned from server for REST (#777) (a70b078)
  • import warnings when needed (#930) (d4270ae)
  • improper types in pagers generation (#970) (bba3eea)
  • install gcc by hand (#571) (e224a03)
  • leave a newline between field description and oneof line (#1071) (4d0e365)
  • lint issue (#396) (98c544d)
  • list oneofs in docstring (#1030) (a0e25c8)
  • make # after alpha/beta optional (#540) (f86a47b)
  • Make gapic-generator-python compatible with protobuf 3.14.0 (packaged as native namespace package) (#753) (45212af)
  • methods returning Operation w/o operation_info are now allowed. (#1047) (6b640af)
  • minor typo in ads template (#664) (816f965)
  • module names can no longer collide with keywords or builtins (#595) (960d550)
  • modules referenced in MapField message type are properly aliased (#654) (2c79349), closes #618
  • more fixes for rest transport (#1042) (13d5f77)
  • mypy 0.800 update errors (#754) (608275a)
  • non-string required fields provide correct values (#1108) (bc5f729)
  • numerous small fixes to allow bigtable-admin (#660) (09692c4)
  • only require dataclases if python<3.7 (#475) (9597695)
  • only set unset fields if they are query params (#1130) (9ad98ca)
  • operation module is properly aliased if necessary (#615) (8f92fd9)
  • paged code and templates are no longer message centric (#527) (00ba77c)
  • pass metadata to pagers (#470) (c43c6d9), closes #469
  • preserve hyperlinks with hyphens (#1140) (b091bfc), closes #1131
  • primitive repeated fields are now correctly auto paginated (#517) (61a2cc0)
  • raise for rest transport http error (#738) (7d24f3d)
  • refactor mtls logic to standalone method (#1123) (d528223)
  • remove 'property' from reserved names (#613) (8338a51)
  • remove auth, policy, and options from the reserved names list (#851) (d3f31a0)
  • remove client recv msg limit (#704) (80147ce)
  • remove duplicate assignment of certain flattened, repeated fields (#760) (cdbc221)
  • remove duplicate field entries (#786) (9f4dfa4)
  • remove extra space before_pb_options (#863) (f0532e7)
  • remove support for google-api-core<1.26.0 (#893) (ce558ac)
  • remove typo from py_gapic.bzl (#532) (2975c2d)
  • rename init.py to init.py.j2 (#550) (71a7062)
  • rename local var page in generated tests (#577) (075f9e8)
  • rendering mock values for recursive messages no longer crashes (#587) (c2a83e5)
  • require min google-api-core version of 1.21.0 (#506) (bf787bd)
  • resource messages in method response types generate helpers (#629) (52bfd6d)
  • retriable exceptions are deterministically ordered in GAPICs (#619) (f7b1164)
  • s/grpcAsync/grpc-async for gapic metadata (#803) (96f7864)
  • samplegen always produces sample dicts with "response" (#914) (0b168f2)
  • snippetgen: don't create duplicate requests for required oneofs (#1088) (5531795)
  • snippetgen: fix client streaming samples (#1061) (64b9ad6)
  • snippetgen: use f-strings in print statements (#975) (122e85c)
  • sort subpackages in %namespace/%name/init.py (#836) (90cf882)
  • stabilize order of query_params (#742) (2835ddb)
  • stabilize the order of resource helper methods and (#582) (7d2adde)
  • suppress type error for fallback def of OptionalRetry (#1065) (e47faa6)
  • syntax fix and test for multiple required fields (#1105) (4e5fe2d)
  • syntax fix for required_fields struct in rest transport (#1103) (3d7128c)
  • Temporarily define a fixed testing event loop (#493) (2d22d91)
  • temporarily disable code coverage in showcase_unit tests (#925) (0dfac03)
  • the common resources are not targets for lookup (#650) (8e1b384)
  • timeouts are handled by rest clients, retries silently ignored (#976) (a62463c)
  • tweak oneof detection (#505) (1632e25)
  • unignore 'google.api_core' imports (#1066) (13f764c)
  • unknown resources do not cause a generator crash (#675) (2d23d7d)
  • update dependencies (#393) (161e486)
  • Update gapic-generator-python to gracefully handle internal google inconsistencies (#721) (b984295)
  • update GOOGLE_API_USE_MTLS value (#453) (7449ad5)
  • update GOOGLE_API_USE_MTLS values (#449) (b737ea0)
  • Update module alias to resolve naming conflict (#820) (f5e9f36), closes #819
  • update paging implementation to handle unconventional pagination (#750) (eaac3e6)
  • update protobuf version [gapic-generator-python] (#696) (ea3e519)
  • updating testing, rest-only generation, & minor bug-fixes (#716) (56c31de)
  • use (new) typing for 'gapic_v1.method.DEFAULT' (#1032) (d85dfad)
  • use context manager for mtls env var (#548) (d19e180)
  • use correct retry deadline in publisher methods (#814) (92a2cfc)
  • use correct typing for retries / operations_client (#1026) (acb3ea8)

Performance Improvements

  • collisions don't contain reserved names by default (#684) (2ec6ea6)
  • reduce unnecessary copies, optimize Address comparison (#855) (e843540)

Miscellaneous Chores

Documentation


This PR was generated with Release Please. See documentation.

@release-please release-please bot requested review from a team as code owners January 27, 2022 19:29
@trusted-contributions-gcf trusted-contributions-gcf bot added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Jan 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment