diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d95536ac0..8d0ea31d57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,209 @@ # Changelog +### [0.39.1](https://github.com/googleapis/gapic-generator-python/compare/v0.59.1...v0.39.1) (2022-01-18) + + +### Features + +* add 'from_service_account_info' factory to clients ([#706](https://github.com/googleapis/gapic-generator-python/issues/706)) ([94d5f0c](https://github.com/googleapis/gapic-generator-python/commit/94d5f0c11b8041cbae8e4a89bb504d6c6e200a95)), closes [#705](https://github.com/googleapis/gapic-generator-python/issues/705) +* add `credentials_file` and `scopes` via `client_options` ([#461](https://github.com/googleapis/gapic-generator-python/issues/461)) ([b5e1b1e](https://github.com/googleapis/gapic-generator-python/commit/b5e1b1e8991159dc176da889e9bdf12e3eebdb1e)) +* Add `x-goog-api-client` header to rest clients ([#888](https://github.com/googleapis/gapic-generator-python/issues/888)) ([2d1d3ae](https://github.com/googleapis/gapic-generator-python/commit/2d1d3ae135a75bbfff13df7703de5d0dad44695c)) +* add async samples ([#861](https://github.com/googleapis/gapic-generator-python/issues/861)) ([e385ffd](https://github.com/googleapis/gapic-generator-python/commit/e385ffd7f012c6a38c9fcd7c5f36ce090311032b)) +* add autogenerated snippets ([#845](https://github.com/googleapis/gapic-generator-python/issues/845)) ([abdf5ec](https://github.com/googleapis/gapic-generator-python/commit/abdf5ec00261e5500dbdd190c23b0b2b05836799)) +* add bazel support for gapic metadata ([#811](https://github.com/googleapis/gapic-generator-python/issues/811)) ([7ced24a](https://github.com/googleapis/gapic-generator-python/commit/7ced24a0b20cb6505587b946c03b1b038eef4b4a)) +* add flag for gapic metadata ([#795](https://github.com/googleapis/gapic-generator-python/issues/795)) ([9cd7664](https://github.com/googleapis/gapic-generator-python/commit/9cd7664141835edcd8970629d9cf3abe4b7fd7c4)) +* add fragment tests ([#1056](https://github.com/googleapis/gapic-generator-python/issues/1056)) ([9d9b33d](https://github.com/googleapis/gapic-generator-python/commit/9d9b33dadf587a6d0b09031edeea597d6d2eae62)) +* add gapic metadata file ([#781](https://github.com/googleapis/gapic-generator-python/issues/781)) ([5dd8fcc](https://github.com/googleapis/gapic-generator-python/commit/5dd8fccf6b4da57edef0347beb07102634daa992)) +* add GOOGLE_API_USE_MTLS support ([#420](https://github.com/googleapis/gapic-generator-python/issues/420)) ([41fa725](https://github.com/googleapis/gapic-generator-python/commit/41fa725a304792b3470d2be079e59f577387e5bb)) +* add iam methods to templates ([#545](https://github.com/googleapis/gapic-generator-python/issues/545)) ([3f42c3c](https://github.com/googleapis/gapic-generator-python/commit/3f42c3cf8aae432a9bda0953fbabd7f0c8d774de)) +* add mtls feature to rest transport ([#731](https://github.com/googleapis/gapic-generator-python/issues/731)) ([524dbab](https://github.com/googleapis/gapic-generator-python/commit/524dbab16d248198ca10a08ecede4600fd36cefc)) +* add mTLS to ads template ([#384](https://github.com/googleapis/gapic-generator-python/issues/384)) ([1e76096](https://github.com/googleapis/gapic-generator-python/commit/1e760960df4e80e4f8d50291b872341e80eaa7f1)) +* add proper handling of query/path/body parameters for rest transport ([#702](https://github.com/googleapis/gapic-generator-python/issues/702)) ([6b2de5d](https://github.com/googleapis/gapic-generator-python/commit/6b2de5dd9fbf15e6b0a42b428b01eb03f1a3820a)) +* add rest transport generation for clients with optional transport flag ([#688](https://github.com/googleapis/gapic-generator-python/issues/688)) ([af59c2c](https://github.com/googleapis/gapic-generator-python/commit/af59c2c3c3d6b7e1f626c3fbc2c03f99ca31b4a4)) +* add retry config passed to bazel rule ([#526](https://github.com/googleapis/gapic-generator-python/issues/526)) ([9e96151](https://github.com/googleapis/gapic-generator-python/commit/9e96151d702786912fcf033f7535efad8ae754ee)) +* add snippet index ([#1121](https://github.com/googleapis/gapic-generator-python/issues/1121)) ([55d2bc6](https://github.com/googleapis/gapic-generator-python/commit/55d2bc6580e5db0f837de1b245533a8f1f2e9beb)) +* add support for common resource paths ([#622](https://github.com/googleapis/gapic-generator-python/issues/622)) ([15a7fde](https://github.com/googleapis/gapic-generator-python/commit/15a7fdeb966cb64a742b6305d2c71dd3d485d0f9)) +* add support for context manager in client ([#987](https://github.com/googleapis/gapic-generator-python/issues/987)) ([4edabcf](https://github.com/googleapis/gapic-generator-python/commit/4edabcf6791cfb0874a951b695b39672036760d4)) +* add support for long-running operations with rest transport. ([#1094](https://github.com/googleapis/gapic-generator-python/issues/1094)) ([e89fd23](https://github.com/googleapis/gapic-generator-python/commit/e89fd23609625c5aa49acd6c6ee67f87fce324fd)) +* allow user-provided client info ([#573](https://github.com/googleapis/gapic-generator-python/issues/573)) ([b2e5274](https://github.com/googleapis/gapic-generator-python/commit/b2e52746c7ce4b983482fb776224b30767978c79)) +* allow warehouse name to be customized ([#717](https://github.com/googleapis/gapic-generator-python/issues/717)) ([7c185e8](https://github.com/googleapis/gapic-generator-python/commit/7c185e87cb4252b1f99ed121515814595f9492c4)), closes [#605](https://github.com/googleapis/gapic-generator-python/issues/605) +* bypass request copying in method calls ([#557](https://github.com/googleapis/gapic-generator-python/issues/557)) ([3a23143](https://github.com/googleapis/gapic-generator-python/commit/3a2314318de229a3353c984a8cb2766ae95cc968)) +* **dev:** Add Git pre-commit hooks [gapic-generator-python] ([#908](https://github.com/googleapis/gapic-generator-python/issues/908)) ([298db39](https://github.com/googleapis/gapic-generator-python/commit/298db39064e29de764537f25dc38f9e5ac301390)) +* enable self signed jwt for grpc ([#920](https://github.com/googleapis/gapic-generator-python/issues/920)) ([da119c7](https://github.com/googleapis/gapic-generator-python/commit/da119c72c82d04e168c4b41e5bf910a0c1609ce3)) +* enable self signed jwt for http ([#1000](https://github.com/googleapis/gapic-generator-python/issues/1000)) ([5f87973](https://github.com/googleapis/gapic-generator-python/commit/5f8797396a2477b772b7bfb827499db32e28710e)) +* file_level and indirectly used resources generate helper methods ([#642](https://github.com/googleapis/gapic-generator-python/issues/642)) ([42e224c](https://github.com/googleapis/gapic-generator-python/commit/42e224cb100f6e2aa9370bc6a5179d62979b5c4d)), closes [#637](https://github.com/googleapis/gapic-generator-python/issues/637) +* forward compatible diregapic LRO support ([#1085](https://github.com/googleapis/gapic-generator-python/issues/1085)) ([aa7f4d5](https://github.com/googleapis/gapic-generator-python/commit/aa7f4d568f7f43738ab3489fc84ce6bc5d6bda18)) +* generate code snippets by default ([#1044](https://github.com/googleapis/gapic-generator-python/issues/1044)) ([e46f443](https://github.com/googleapis/gapic-generator-python/commit/e46f443dbeffe16b63f97668801b06189769e972)) +* generate snippet metadata ([#1129](https://github.com/googleapis/gapic-generator-python/issues/1129)) ([9e46031](https://github.com/googleapis/gapic-generator-python/commit/9e46031d01edc3a461140fe3b29d8d400f5ddf86)) +* implement grpc transcode for rest transport and complete generated tests ([#999](https://github.com/googleapis/gapic-generator-python/issues/999)) ([ccdd17d](https://github.com/googleapis/gapic-generator-python/commit/ccdd17d6133274a34dd727fab0576e6c63238833)) +* implement grpc transcode for rest transport and complete generated tests. ([ccdd17d](https://github.com/googleapis/gapic-generator-python/commit/ccdd17d6133274a34dd727fab0576e6c63238833)) +* Initial draft of GAPIC Bazel Extensions gapic-generator-python ([#342](https://github.com/googleapis/gapic-generator-python/issues/342)) ([cc7ab0b](https://github.com/googleapis/gapic-generator-python/commit/cc7ab0ba59634771daf1d4034f3f0b25872da9df)) +* Make GAPIC Bazel rules production ready ([#402](https://github.com/googleapis/gapic-generator-python/issues/402)) ([d18ed41](https://github.com/googleapis/gapic-generator-python/commit/d18ed416240a064fffac0fd7915b61f6415fe140)) +* port REST transport to Ads templates ([#1003](https://github.com/googleapis/gapic-generator-python/issues/1003)) ([d2ab9da](https://github.com/googleapis/gapic-generator-python/commit/d2ab9da2d0d9353f7289be1b1b1b7492d6d98066)) +* precache wrapped rpcs ([#553](https://github.com/googleapis/gapic-generator-python/issues/553)) ([2f2fb5d](https://github.com/googleapis/gapic-generator-python/commit/2f2fb5d3d9472a79c80be6d052129d07d2bbb835)) +* provide AsyncIO support for generated code ([#365](https://github.com/googleapis/gapic-generator-python/issues/365)) ([305ed34](https://github.com/googleapis/gapic-generator-python/commit/305ed34cfc1607c990f2f88b27f53358da25c366)) +* Raise GoogleAPICallError on REST response errors ([#891](https://github.com/googleapis/gapic-generator-python/issues/891)) ([edb8c63](https://github.com/googleapis/gapic-generator-python/commit/edb8c63e8a331f5e08ea19202d8de42de7051299)) +* **snippetgen:** generate mock input for required fields ([#941](https://github.com/googleapis/gapic-generator-python/issues/941)) ([b2149da](https://github.com/googleapis/gapic-generator-python/commit/b2149da5e6873e1f71871bfecd899bb9aa0b6439)) +* **snippetgen:** turn resource path strings into f-strings ([#1012](https://github.com/googleapis/gapic-generator-python/issues/1012)) ([a110e1d](https://github.com/googleapis/gapic-generator-python/commit/a110e1d8387ea37b85ab0621bacd30da175fe85b)) +* Support alternative http bindings in the gapic schema. ([#993](https://github.com/googleapis/gapic-generator-python/issues/993)) ([041a726](https://github.com/googleapis/gapic-generator-python/commit/041a726b818cd67812d689c23757f31ec9964d66)) +* Support field presence for query parameters in REST clients ([#866](https://github.com/googleapis/gapic-generator-python/issues/866)) ([5339db1](https://github.com/googleapis/gapic-generator-python/commit/5339db1308326d91a05a34d38e31cf91b79a9225)) +* support for proto3 optional fields ([#519](https://github.com/googleapis/gapic-generator-python/issues/519)) ([1aa729c](https://github.com/googleapis/gapic-generator-python/commit/1aa729cc8d2f7f0de25c8348fdbf9d6dd96f5847)) +* support mtls env variables ([#589](https://github.com/googleapis/gapic-generator-python/issues/589)) ([b19026d](https://github.com/googleapis/gapic-generator-python/commit/b19026d9cca26ebd1cd0c3e73f738c4d1870d987)) +* support protobuf method deprecation option [gapic-generator-python] ([#875](https://github.com/googleapis/gapic-generator-python/issues/875)) ([5a5a839](https://github.com/googleapis/gapic-generator-python/commit/5a5a839b99d78ec5a5c52452e57c289b55ad1db5)) +* support quota project override via client options ([#496](https://github.com/googleapis/gapic-generator-python/issues/496)) ([bbc6b36](https://github.com/googleapis/gapic-generator-python/commit/bbc6b367f50526312e8320f0fc668ef88f230dbd)) +* support self-signed JWT flow for service accounts ([#774](https://github.com/googleapis/gapic-generator-python/issues/774)) ([89d6f35](https://github.com/googleapis/gapic-generator-python/commit/89d6f35c54b0a9b81c9b5f580d2e9eb87352ed93)) +* **tests:** Add integration test framework, goldens for 4 APIs [gapic-generator-python] ([#905](https://github.com/googleapis/gapic-generator-python/issues/905)) ([48db1e6](https://github.com/googleapis/gapic-generator-python/commit/48db1e644badc2180253e11d9a3d3657e8f9aeed)) +* update templates to permit enum aliases ([#809](https://github.com/googleapis/gapic-generator-python/issues/809)) ([2e7ea11](https://github.com/googleapis/gapic-generator-python/commit/2e7ea11f80210459106f9780e5f013e2a0381d29)) + + +### Bug Fixes + +* 'id' should not be a reserved name ([#602](https://github.com/googleapis/gapic-generator-python/issues/602)) ([c43c574](https://github.com/googleapis/gapic-generator-python/commit/c43c5740db099be19c5f6e52b3a917a631003411)) +* add 'dict' type annotation to 'request' ([#966](https://github.com/googleapis/gapic-generator-python/issues/966)) ([49205d9](https://github.com/googleapis/gapic-generator-python/commit/49205d99dd440690b838c8eb3f6a695f35b061c2)) +* add 'dict' type annotation to 'request' for async_client ([#1051](https://github.com/googleapis/gapic-generator-python/issues/1051)) ([08cc2c4](https://github.com/googleapis/gapic-generator-python/commit/08cc2c4c85297759892782e307bcaa63dff41212)) +* add 'type: ignore' comment for 'google.auth' ([#579](https://github.com/googleapis/gapic-generator-python/issues/579)) ([af17501](https://github.com/googleapis/gapic-generator-python/commit/af17501d258c7c37fc1081fcad5fe18f7629f4c3)) +* add a separate DEFAULT_CLIENT_INFO for rest clients ([#988](https://github.com/googleapis/gapic-generator-python/issues/988)) ([22ac400](https://github.com/googleapis/gapic-generator-python/commit/22ac40097ab50bb2d3a7f1a2d35d659c391e0927)) +* add additional reserved names for disambiguation ([#1114](https://github.com/googleapis/gapic-generator-python/issues/1114)) ([1cffd8d](https://github.com/googleapis/gapic-generator-python/commit/1cffd8d99936cd10649faf05e0288b693e718f81)) +* add async client to %name_%version/__init__.py ([#859](https://github.com/googleapis/gapic-generator-python/issues/859)) ([391fdb8](https://github.com/googleapis/gapic-generator-python/commit/391fdb84b13c5628c21d81ad311c689da8971f6a)) +* add certain raw imports to RESERVED_NAMES ([#824](https://github.com/googleapis/gapic-generator-python/issues/824)) ([04bd8aa](https://github.com/googleapis/gapic-generator-python/commit/04bd8aaf0fc2c2c0615105cab39dc33266b66775)) +* add enums to types/__init__.py ([#695](https://github.com/googleapis/gapic-generator-python/issues/695)) ([e1d4a4a](https://github.com/googleapis/gapic-generator-python/commit/e1d4a4ae768a631f6e6dc28f2acfde8be8dc4a8f)) +* add field headers for other http verbs ([#443](https://github.com/googleapis/gapic-generator-python/issues/443)) ([f8e9712](https://github.com/googleapis/gapic-generator-python/commit/f8e971280c23e1dbde4d51f9a64973bf439e8ab3)), closes [#401](https://github.com/googleapis/gapic-generator-python/issues/401) +* add google.api_core.retry import to base.py ([#555](https://github.com/googleapis/gapic-generator-python/issues/555)) ([1d08e60](https://github.com/googleapis/gapic-generator-python/commit/1d08e60cea4c5b3fa2555a4952161b0115d686f2)) +* add name and version info to fixup script name ([#490](https://github.com/googleapis/gapic-generator-python/issues/490)) ([16fe7e7](https://github.com/googleapis/gapic-generator-python/commit/16fe7e7885b7e17bf16b4f1f8f8844b9f5d0bdfe)) +* add oneof fields to generated protoplus init ([#485](https://github.com/googleapis/gapic-generator-python/issues/485)) ([be5a847](https://github.com/googleapis/gapic-generator-python/commit/be5a847aeff6687679f7bca46308362d588f5c77)), closes [#484](https://github.com/googleapis/gapic-generator-python/issues/484) +* add system tests and cert/key ([#394](https://github.com/googleapis/gapic-generator-python/issues/394)) ([87fe58f](https://github.com/googleapis/gapic-generator-python/commit/87fe58fef32d4aa16b0df7c132bb056e199baec7)) +* Adjust Field Names in URI Templates ([#1041](https://github.com/googleapis/gapic-generator-python/issues/1041)) ([06cd7b6](https://github.com/googleapis/gapic-generator-python/commit/06cd7b66f0f303b066f7f1f510332ae19aa9de8e)) +* also add the async client to __all__ ([#869](https://github.com/googleapis/gapic-generator-python/issues/869)) ([09c90fa](https://github.com/googleapis/gapic-generator-python/commit/09c90fa48515cb7da1d0ebf1d93a0d49fc6448e8)) +* always use dataclasses 0.6 ([#481](https://github.com/googleapis/gapic-generator-python/issues/481)) ([066d04e](https://github.com/googleapis/gapic-generator-python/commit/066d04e7d53301024106f244280502f16af46b79)) +* **bazel:** Re-enable Python µgen integration tests post monolith rule removal ([#926](https://github.com/googleapis/gapic-generator-python/issues/926)) ([13a6b3a](https://github.com/googleapis/gapic-generator-python/commit/13a6b3aed35b5af85aea047922aa219258460a58)) +* **bazel:** Remove monolith imports from Python µgen Bazel rules ([#923](https://github.com/googleapis/gapic-generator-python/issues/923)) ([4a2afa7](https://github.com/googleapis/gapic-generator-python/commit/4a2afa78455817e7e6c058d21857326867fe3f21)) +* body encoding for rest transport ([#768](https://github.com/googleapis/gapic-generator-python/issues/768)) ([cc55a18](https://github.com/googleapis/gapic-generator-python/commit/cc55a182b878d78f92aba259c067d47ab1d01e5b)) +* Check for default value presence for non-optional fields in REST ([#868](https://github.com/googleapis/gapic-generator-python/issues/868)) ([5748001](https://github.com/googleapis/gapic-generator-python/commit/57480019c3e77c6b3a85bdaf8441334170b318e8)) +* consistently use _pb2 identifier ([#883](https://github.com/googleapis/gapic-generator-python/issues/883)) ([d789c84](https://github.com/googleapis/gapic-generator-python/commit/d789c84d0d686bdb2d88179041b4c04cc32a3e66)) +* consolidate dependencies in setup.py ([#422](https://github.com/googleapis/gapic-generator-python/issues/422)) ([10403bb](https://github.com/googleapis/gapic-generator-python/commit/10403bb034954afd2952bb1cb3701d271bd6ecd3)) +* convert datetime back to proto for unit tests ([#511](https://github.com/googleapis/gapic-generator-python/issues/511)) ([e1c787d](https://github.com/googleapis/gapic-generator-python/commit/e1c787d3b6fe09dc0b4e00f07a7bd77fb5f1e6a3)) +* corner case fix for empty request generated test ([#801](https://github.com/googleapis/gapic-generator-python/issues/801)) ([039dc71](https://github.com/googleapis/gapic-generator-python/commit/039dc713fed291142058741e1138da5a4bec542f)) +* correctly instantiates client ([#338](https://github.com/googleapis/gapic-generator-python/issues/338)) ([7a46524](https://github.com/googleapis/gapic-generator-python/commit/7a46524bc7f2eabd7dab27313bb752c27afc358b)), closes [#337](https://github.com/googleapis/gapic-generator-python/issues/337) +* disable always_use_jwt_access ([#939](https://github.com/googleapis/gapic-generator-python/issues/939)) ([1302352](https://github.com/googleapis/gapic-generator-python/commit/130235220849987df572c1840735b3c199b85dfc)) +* don't enable snippetgen by default ([#1078](https://github.com/googleapis/gapic-generator-python/issues/1078)) ([8bdb709](https://github.com/googleapis/gapic-generator-python/commit/8bdb70931a9ecb1c89fda9608697b0762770bc12)) +* don't use integer for enums in json encoding ([#761](https://github.com/googleapis/gapic-generator-python/issues/761)) ([6d37a73](https://github.com/googleapis/gapic-generator-python/commit/6d37a7388995b90428ee6293bcce5d48cd9a48f8)) +* enable GAPIC metadata generation ([#843](https://github.com/googleapis/gapic-generator-python/issues/843)) ([697816c](https://github.com/googleapis/gapic-generator-python/commit/697816ce7d5b201d6ced85fadd89f9140da67b37)) +* enable self signed jwt for grpc ([#958](https://github.com/googleapis/gapic-generator-python/issues/958)) ([af02a9c](https://github.com/googleapis/gapic-generator-python/commit/af02a9cae522ff2cdc8e97cfffe2ba2bb84d6b6a)) +* ensure rest unit tests have complete coverage ([#1098](https://github.com/googleapis/gapic-generator-python/issues/1098)) ([0705d9c](https://github.com/googleapis/gapic-generator-python/commit/0705d9c5dbbea793867551e64991be37d8339c6b)) +* exclude 'input' from reserved names list ([#788](https://github.com/googleapis/gapic-generator-python/issues/788)) ([da2ff71](https://github.com/googleapis/gapic-generator-python/commit/da2ff717b82357359baeeafad9a3e48a70e194cb)) +* expose ssl credentials from transport ([#677](https://github.com/googleapis/gapic-generator-python/issues/677)) ([da0ee3e](https://github.com/googleapis/gapic-generator-python/commit/da0ee3eab4f80bf3d70fa5e06a2dcef7e1d4d22e)) +* expose transport property for clients ([#645](https://github.com/googleapis/gapic-generator-python/issues/645)) ([13cddda](https://github.com/googleapis/gapic-generator-python/commit/13cddda0623bd4d24ae7973752b1be0eaa40523a)), closes [#640](https://github.com/googleapis/gapic-generator-python/issues/640) +* fix case for expected field names in required fields test. ([#1107](https://github.com/googleapis/gapic-generator-python/issues/1107)) ([6a593f9](https://github.com/googleapis/gapic-generator-python/commit/6a593f9807141aaf6c13a8843804e9fa9b300c91)) +* Fix client template type hints ([#593](https://github.com/googleapis/gapic-generator-python/issues/593)) ([93f34e8](https://github.com/googleapis/gapic-generator-python/commit/93f34e8a2a351a24a49424c1722baec2893dc764)) +* fix datetime comparison unit tests ([#898](https://github.com/googleapis/gapic-generator-python/issues/898)) ([81932a2](https://github.com/googleapis/gapic-generator-python/commit/81932a2b71e6ca5f424ddc5c52933ad1d452583a)) +* fix docstring for first attribute of protos ([#1004](https://github.com/googleapis/gapic-generator-python/issues/1004)) ([383f655](https://github.com/googleapis/gapic-generator-python/commit/383f6555a1d850889b2aa74be28c8d06465399e5)) +* fix incorrectly referenced exceptions, add missing port to tests ([#873](https://github.com/googleapis/gapic-generator-python/issues/873)) ([40078c4](https://github.com/googleapis/gapic-generator-python/commit/40078c46b21a0dfa489d4cd80ed7d95bb542f3c3)), closes [#872](https://github.com/googleapis/gapic-generator-python/issues/872) +* fix missing .coveragerc and the broken bazel build ([#723](https://github.com/googleapis/gapic-generator-python/issues/723)) ([7f8235f](https://github.com/googleapis/gapic-generator-python/commit/7f8235f6dfbd309a879895701aeb5e73c6425483)) +* fix missing http schema (http/https) for REST clients ([#1063](https://github.com/googleapis/gapic-generator-python/issues/1063)) ([e3aa7a0](https://github.com/googleapis/gapic-generator-python/commit/e3aa7a0b23bc4bfd5170753f74bdeac219902d1a)) +* fix mTLS logic ([#374](https://github.com/googleapis/gapic-generator-python/issues/374)) ([e3c079b](https://github.com/googleapis/gapic-generator-python/commit/e3c079bab907ac183628d8805e6966af9ca2083f)) +* Fix namespace packages conflict issue ([#757](https://github.com/googleapis/gapic-generator-python/issues/757)) ([8035662](https://github.com/googleapis/gapic-generator-python/commit/8035662bdcfbdffd1c294c5d28479733358407ca)) +* fix resource path args for paths with =** ([#1089](https://github.com/googleapis/gapic-generator-python/issues/1089)) ([309cc66](https://github.com/googleapis/gapic-generator-python/commit/309cc66e880e07940866864b03c744310ef56762)) +* Fix rest transport logic ([#1039](https://github.com/googleapis/gapic-generator-python/issues/1039)) ([50d61af](https://github.com/googleapis/gapic-generator-python/commit/50d61afd30b021835fe898e41b783f4d04acff09)) +* fix rest transport tests ([#772](https://github.com/googleapis/gapic-generator-python/issues/772)) ([ce110a3](https://github.com/googleapis/gapic-generator-python/commit/ce110a35894aa1a838649f9782294b3b8446be5c)) +* fix rest transport unit test and required query prams handling ([#951](https://github.com/googleapis/gapic-generator-python/issues/951)) ([b793017](https://github.com/googleapis/gapic-generator-python/commit/b7930177da9a8be556bf6485febcc0a9bdef897b)) +* fix rest transport unit test template ([#741](https://github.com/googleapis/gapic-generator-python/issues/741)) ([54b9806](https://github.com/googleapis/gapic-generator-python/commit/54b98060f881c8f0424c7e146488d3adc19fec7a)) +* fix rest unit test ([#1074](https://github.com/googleapis/gapic-generator-python/issues/1074)) ([3b2918e](https://github.com/googleapis/gapic-generator-python/commit/3b2918ecaeb90229f22834438dc31755498ee2d0)) +* fix sphinx identifiers ([#714](https://github.com/googleapis/gapic-generator-python/issues/714)) ([39be474](https://github.com/googleapis/gapic-generator-python/commit/39be474b4419dfa521ef51927fd36dbf257d68e3)) +* fix style-check error ([#416](https://github.com/googleapis/gapic-generator-python/issues/416)) ([93ff10b](https://github.com/googleapis/gapic-generator-python/commit/93ff10b9add58dbc045c6656715bf67409a51404)) +* fix syntax errors and failing unit tests ([#849](https://github.com/googleapis/gapic-generator-python/issues/849)) ([9046261](https://github.com/googleapis/gapic-generator-python/commit/90462617e3e2b90eb8684210b6a70e890bdc0d96)), closes [#848](https://github.com/googleapis/gapic-generator-python/issues/848) +* fix syntax for Deprecationwarning ([#942](https://github.com/googleapis/gapic-generator-python/issues/942)) ([82dbddb](https://github.com/googleapis/gapic-generator-python/commit/82dbddb6a9caf1227c4b335345f365dd01025794)) +* fix tests generation logic ([#1049](https://github.com/googleapis/gapic-generator-python/issues/1049)) ([8f213ad](https://github.com/googleapis/gapic-generator-python/commit/8f213add4cb02366bb370ef46a686c6f0c37a575)) +* fix types on server and bidi streaming callables ([#641](https://github.com/googleapis/gapic-generator-python/issues/641)) ([d92c202](https://github.com/googleapis/gapic-generator-python/commit/d92c2029398c969ebf2a68a5bf77c5eb4fff7b31)) +* fix typo attribue -> attribute ([#627](https://github.com/googleapis/gapic-generator-python/issues/627)) ([729146f](https://github.com/googleapis/gapic-generator-python/commit/729146fd53edf1e4ae4d3c9a90640a7520b1ba9d)), closes [#626](https://github.com/googleapis/gapic-generator-python/issues/626) +* fix wrong scopes for self signed jwt ([#935](https://github.com/googleapis/gapic-generator-python/issues/935)) ([e033acd](https://github.com/googleapis/gapic-generator-python/commit/e033acd44763f7cf65eabb6b35f66093022b1bcb)) +* fix wrong unit test ([#502](https://github.com/googleapis/gapic-generator-python/issues/502)) ([c95bd45](https://github.com/googleapis/gapic-generator-python/commit/c95bd45506df7973758b9e1249586597d8214985)) +* generated unit tests live in the 'tests/gapic' subdir ([#456](https://github.com/googleapis/gapic-generator-python/issues/456)) ([1ed7c9d](https://github.com/googleapis/gapic-generator-python/commit/1ed7c9d6fe9595c390387d72113d741ebf28538d)) +* handle message bodies ([#1117](https://github.com/googleapis/gapic-generator-python/issues/1117)) ([36e3236](https://github.com/googleapis/gapic-generator-python/commit/36e3236b3832993331d8d99c10e72797a8851390)) +* handle repeated fields in method signatures ([#445](https://github.com/googleapis/gapic-generator-python/issues/445)) ([3aae799](https://github.com/googleapis/gapic-generator-python/commit/3aae799f62a1f5d3b0506d919cc6080ee417f14b)) +* handle required fields properly in query_params ([#1068](https://github.com/googleapis/gapic-generator-python/issues/1068)) ([0e379ca](https://github.com/googleapis/gapic-generator-python/commit/0e379ca6c0aee9d79d11a14074b7e9343e9e6af2)) +* ignore types for imports generated from 'google.api_core' ([#597](https://github.com/googleapis/gapic-generator-python/issues/597)) ([8440e09](https://github.com/googleapis/gapic-generator-python/commit/8440e09855d399d647b62238a9697e04ea4d0d41)) +* ignore unknown fields returned from server for REST ([#777](https://github.com/googleapis/gapic-generator-python/issues/777)) ([a70b078](https://github.com/googleapis/gapic-generator-python/commit/a70b0787f7e3d40642a4f68574f0cc493cc4e054)) +* import warnings when needed ([#930](https://github.com/googleapis/gapic-generator-python/issues/930)) ([d4270ae](https://github.com/googleapis/gapic-generator-python/commit/d4270ae5805f44ab8ee30bb11fe42a0da6d79755)) +* improper types in pagers generation ([#970](https://github.com/googleapis/gapic-generator-python/issues/970)) ([bba3eea](https://github.com/googleapis/gapic-generator-python/commit/bba3eea5d45fe57c0395ceef30402ad7880013d7)) +* install gcc by hand ([#571](https://github.com/googleapis/gapic-generator-python/issues/571)) ([e224a03](https://github.com/googleapis/gapic-generator-python/commit/e224a0365a2d3ed20d69cf4d1298a3f022f8da76)) +* leave a newline between field description and oneof line ([#1071](https://github.com/googleapis/gapic-generator-python/issues/1071)) ([4d0e365](https://github.com/googleapis/gapic-generator-python/commit/4d0e36528a8eb23ea3893b0bbcca10b679867445)) +* lint issue ([#396](https://github.com/googleapis/gapic-generator-python/issues/396)) ([98c544d](https://github.com/googleapis/gapic-generator-python/commit/98c544da9c285a52f72d1f4e070a9bdf1e762078)) +* list oneofs in docstring ([#1030](https://github.com/googleapis/gapic-generator-python/issues/1030)) ([a0e25c8](https://github.com/googleapis/gapic-generator-python/commit/a0e25c8c00391b99a351e667eddc8b4fecad30d8)) +* make # after alpha/beta optional ([#540](https://github.com/googleapis/gapic-generator-python/issues/540)) ([f86a47b](https://github.com/googleapis/gapic-generator-python/commit/f86a47b6431e374ae1797061511b49fe6bf22daf)) +* Make gapic-generator-python compatible with protobuf 3.14.0 (packaged as native namespace package) ([#753](https://github.com/googleapis/gapic-generator-python/issues/753)) ([45212af](https://github.com/googleapis/gapic-generator-python/commit/45212afb9f523a416d86272798d71ce05dc292f0)) +* methods returning Operation w/o operation_info are now allowed. ([#1047](https://github.com/googleapis/gapic-generator-python/issues/1047)) ([6b640af](https://github.com/googleapis/gapic-generator-python/commit/6b640afbd93ea8c861b902211dc34e188234d072)) +* minor typo in ads template ([#664](https://github.com/googleapis/gapic-generator-python/issues/664)) ([816f965](https://github.com/googleapis/gapic-generator-python/commit/816f965c8560bf65d8043bd67672c660a2b1300b)) +* module names can no longer collide with keywords or builtins ([#595](https://github.com/googleapis/gapic-generator-python/issues/595)) ([960d550](https://github.com/googleapis/gapic-generator-python/commit/960d550c4a8fd09b052cce785d76243a5d4525d7)) +* modules referenced in MapField message type are properly aliased ([#654](https://github.com/googleapis/gapic-generator-python/issues/654)) ([2c79349](https://github.com/googleapis/gapic-generator-python/commit/2c79349e7b89435bc45e499885f7b12ac0bc2d9f)), closes [#618](https://github.com/googleapis/gapic-generator-python/issues/618) +* more fixes for rest transport ([#1042](https://github.com/googleapis/gapic-generator-python/issues/1042)) ([13d5f77](https://github.com/googleapis/gapic-generator-python/commit/13d5f77f8b6d4ce1181b29f2335d7584783be753)) +* mypy 0.800 update errors ([#754](https://github.com/googleapis/gapic-generator-python/issues/754)) ([608275a](https://github.com/googleapis/gapic-generator-python/commit/608275aa923f495520dea8ebddb94a99f26e27a5)) +* non-string required fields provide correct values ([#1108](https://github.com/googleapis/gapic-generator-python/issues/1108)) ([bc5f729](https://github.com/googleapis/gapic-generator-python/commit/bc5f729cf777d30e1053e23a1d115460952478af)) +* numerous small fixes to allow bigtable-admin ([#660](https://github.com/googleapis/gapic-generator-python/issues/660)) ([09692c4](https://github.com/googleapis/gapic-generator-python/commit/09692c4e889ccde3b0ca31a5e8476c1679804beb)) +* only require dataclases if python<3.7 ([#475](https://github.com/googleapis/gapic-generator-python/issues/475)) ([9597695](https://github.com/googleapis/gapic-generator-python/commit/959769518ea47df383b23b6e48c5da148f69029e)) +* only set unset fields if they are query params ([#1130](https://github.com/googleapis/gapic-generator-python/issues/1130)) ([9ad98ca](https://github.com/googleapis/gapic-generator-python/commit/9ad98ca6833f1b280bf3c04c858f92276d59ffbe)) +* operation module is properly aliased if necessary ([#615](https://github.com/googleapis/gapic-generator-python/issues/615)) ([8f92fd9](https://github.com/googleapis/gapic-generator-python/commit/8f92fd9999286ef3f916119be78dbeb838a15550)) +* paged code and templates are no longer message centric ([#527](https://github.com/googleapis/gapic-generator-python/issues/527)) ([00ba77c](https://github.com/googleapis/gapic-generator-python/commit/00ba77c3d27ef9a0b8742db3660983b80a68c672)) +* pass metadata to pagers ([#470](https://github.com/googleapis/gapic-generator-python/issues/470)) ([c43c6d9](https://github.com/googleapis/gapic-generator-python/commit/c43c6d943fa99f202014bf4bba795df25d314a63)), closes [#469](https://github.com/googleapis/gapic-generator-python/issues/469) +* primitive repeated fields are now correctly auto paginated ([#517](https://github.com/googleapis/gapic-generator-python/issues/517)) ([61a2cc0](https://github.com/googleapis/gapic-generator-python/commit/61a2cc0d4c08064d442fd4d7aa4b1b9e56158eaa)) +* raise for rest transport http error ([#738](https://github.com/googleapis/gapic-generator-python/issues/738)) ([7d24f3d](https://github.com/googleapis/gapic-generator-python/commit/7d24f3d81499ad714e57c7c9562b842c09e49d20)) +* refactor mtls logic to standalone method ([#1123](https://github.com/googleapis/gapic-generator-python/issues/1123)) ([d528223](https://github.com/googleapis/gapic-generator-python/commit/d528223e3221487f86a3d82c92cd2e2cf04bec4a)) +* remove 'property' from reserved names ([#613](https://github.com/googleapis/gapic-generator-python/issues/613)) ([8338a51](https://github.com/googleapis/gapic-generator-python/commit/8338a51a81f5f5b8ebacf68c8e46d3e1804d3f8b)) +* remove auth, policy, and options from the reserved names list ([#851](https://github.com/googleapis/gapic-generator-python/issues/851)) ([d3f31a0](https://github.com/googleapis/gapic-generator-python/commit/d3f31a0d33411b3248871ddbe51135e83b699a73)) +* remove client recv msg limit ([#704](https://github.com/googleapis/gapic-generator-python/issues/704)) ([80147ce](https://github.com/googleapis/gapic-generator-python/commit/80147ce177ce435dcb1b611181e80dc35f915293)) +* remove duplicate assignment of certain flattened, repeated fields ([#760](https://github.com/googleapis/gapic-generator-python/issues/760)) ([cdbc221](https://github.com/googleapis/gapic-generator-python/commit/cdbc22130a176e733c529f60a6b8b1d224e82e89)) +* remove duplicate field entries ([#786](https://github.com/googleapis/gapic-generator-python/issues/786)) ([9f4dfa4](https://github.com/googleapis/gapic-generator-python/commit/9f4dfa46cb6a67081563ce096452fedd9e35051d)) +* remove extra space before_pb_options ([#863](https://github.com/googleapis/gapic-generator-python/issues/863)) ([f0532e7](https://github.com/googleapis/gapic-generator-python/commit/f0532e7a88479aeb805c1509239008bdd19e9d85)) +* remove support for google-api-core<1.26.0 ([#893](https://github.com/googleapis/gapic-generator-python/issues/893)) ([ce558ac](https://github.com/googleapis/gapic-generator-python/commit/ce558acef9ec9c9bcc54243cddb708ef168c05f0)) +* remove typo from py_gapic.bzl ([#532](https://github.com/googleapis/gapic-generator-python/issues/532)) ([2975c2d](https://github.com/googleapis/gapic-generator-python/commit/2975c2d76e08b5ee5324730707707d9dd6ced8ae)) +* rename __init__.py to __init__.py.j2 ([#550](https://github.com/googleapis/gapic-generator-python/issues/550)) ([71a7062](https://github.com/googleapis/gapic-generator-python/commit/71a7062b918136b916cc5bfc7dbdf64f870edf6a)) +* rename local var page in generated tests ([#577](https://github.com/googleapis/gapic-generator-python/issues/577)) ([075f9e8](https://github.com/googleapis/gapic-generator-python/commit/075f9e8d50b02ffb5f2f042b84f27a9f634636e2)) +* rendering mock values for recursive messages no longer crashes ([#587](https://github.com/googleapis/gapic-generator-python/issues/587)) ([c2a83e5](https://github.com/googleapis/gapic-generator-python/commit/c2a83e561bf46b4af21e9008c7d67a1c609d7d06)) +* require min google-api-core version of 1.21.0 ([#506](https://github.com/googleapis/gapic-generator-python/issues/506)) ([bf787bd](https://github.com/googleapis/gapic-generator-python/commit/bf787bd36198288d6a40e45e44e43f0098cfec7c)) +* resource messages in method response types generate helpers ([#629](https://github.com/googleapis/gapic-generator-python/issues/629)) ([52bfd6d](https://github.com/googleapis/gapic-generator-python/commit/52bfd6d5d5821b33e78e6b9867a3be2865cdbc74)) +* retriable exceptions are deterministically ordered in GAPICs ([#619](https://github.com/googleapis/gapic-generator-python/issues/619)) ([f7b1164](https://github.com/googleapis/gapic-generator-python/commit/f7b11640b74d8c64747b33783976d6e0ab9c61c4)) +* s/grpcAsync/grpc-async for gapic metadata ([#803](https://github.com/googleapis/gapic-generator-python/issues/803)) ([96f7864](https://github.com/googleapis/gapic-generator-python/commit/96f78640d90cf50c6b525924d14c6afe31874be6)) +* samplegen always produces sample dicts with "response" ([#914](https://github.com/googleapis/gapic-generator-python/issues/914)) ([0b168f2](https://github.com/googleapis/gapic-generator-python/commit/0b168f20f4cbf419131fcc512141fccca8186681)) +* **snippetgen:** don't create duplicate requests for required oneofs ([#1088](https://github.com/googleapis/gapic-generator-python/issues/1088)) ([5531795](https://github.com/googleapis/gapic-generator-python/commit/55317956397370a91b1a06ecd476e55f58789807)) +* **snippetgen:** fix client streaming samples ([#1061](https://github.com/googleapis/gapic-generator-python/issues/1061)) ([64b9ad6](https://github.com/googleapis/gapic-generator-python/commit/64b9ad6e417a15cfbddf0e7a1b57036b8abfc829)) +* **snippetgen:** use f-strings in print statements ([#975](https://github.com/googleapis/gapic-generator-python/issues/975)) ([122e85c](https://github.com/googleapis/gapic-generator-python/commit/122e85c37ff6aa0a99f64361397eb3df5495a3b4)) +* sort subpackages in %namespace/%name/__init__.py ([#836](https://github.com/googleapis/gapic-generator-python/issues/836)) ([90cf882](https://github.com/googleapis/gapic-generator-python/commit/90cf882b20f430499f692e6b9b23497b3555e928)) +* stabilize order of query_params ([#742](https://github.com/googleapis/gapic-generator-python/issues/742)) ([2835ddb](https://github.com/googleapis/gapic-generator-python/commit/2835ddbe62b520e2e4c84f02810b1ac936c9cbb9)) +* stabilize the order of resource helper methods and ([#582](https://github.com/googleapis/gapic-generator-python/issues/582)) ([7d2adde](https://github.com/googleapis/gapic-generator-python/commit/7d2adde3a1ae81ac88ced822d6dfdfb26ffbfdf0)) +* suppress type error for fallback def of OptionalRetry ([#1065](https://github.com/googleapis/gapic-generator-python/issues/1065)) ([e47faa6](https://github.com/googleapis/gapic-generator-python/commit/e47faa6c59a1fadf7dfebc965c962aa05ca30f74)) +* syntax fix and test for multiple required fields ([#1105](https://github.com/googleapis/gapic-generator-python/issues/1105)) ([4e5fe2d](https://github.com/googleapis/gapic-generator-python/commit/4e5fe2db9d0d81929cc1559d3a134c9a38ae595c)) +* syntax fix for required_fields struct in rest transport ([#1103](https://github.com/googleapis/gapic-generator-python/issues/1103)) ([3d7128c](https://github.com/googleapis/gapic-generator-python/commit/3d7128ce8f55523b9aff2e44e2c000450e712ac2)) +* Temporarily define a fixed testing event loop ([#493](https://github.com/googleapis/gapic-generator-python/issues/493)) ([2d22d91](https://github.com/googleapis/gapic-generator-python/commit/2d22d919bc8c08e03f501ff2f23152b761467c80)) +* temporarily disable code coverage in showcase_unit tests ([#925](https://github.com/googleapis/gapic-generator-python/issues/925)) ([0dfac03](https://github.com/googleapis/gapic-generator-python/commit/0dfac03bd3ef8c12b33e6c03e62eab3e7bf2cd69)) +* the common resources are not targets for lookup ([#650](https://github.com/googleapis/gapic-generator-python/issues/650)) ([8e1b384](https://github.com/googleapis/gapic-generator-python/commit/8e1b384e812ef519c421c8c288d5118961d8b4cf)) +* timeouts are handled by rest clients, retries silently ignored ([#976](https://github.com/googleapis/gapic-generator-python/issues/976)) ([a62463c](https://github.com/googleapis/gapic-generator-python/commit/a62463cadee0cdaf861e93998faa27e6a82adab4)) +* tweak oneof detection ([#505](https://github.com/googleapis/gapic-generator-python/issues/505)) ([1632e25](https://github.com/googleapis/gapic-generator-python/commit/1632e250cfc01a17ccad128c3e065008b334473a)) +* unignore 'google.api_core' imports ([#1066](https://github.com/googleapis/gapic-generator-python/issues/1066)) ([13f764c](https://github.com/googleapis/gapic-generator-python/commit/13f764c6513b91e7143a4a4a0bcc661cd19be0d8)) +* unknown resources do not cause a generator crash ([#675](https://github.com/googleapis/gapic-generator-python/issues/675)) ([2d23d7d](https://github.com/googleapis/gapic-generator-python/commit/2d23d7d202099ccf145c01aeb9a03ae46b4e1b00)) +* update dependencies ([#393](https://github.com/googleapis/gapic-generator-python/issues/393)) ([161e486](https://github.com/googleapis/gapic-generator-python/commit/161e48613934058780f82e15f71cbc9f574fdf65)) +* Update gapic-generator-python to gracefully handle internal google inconsistencies ([#721](https://github.com/googleapis/gapic-generator-python/issues/721)) ([b984295](https://github.com/googleapis/gapic-generator-python/commit/b9842952433924a1d8de4ef9cc3ea9e7fa91c01a)) +* update GOOGLE_API_USE_MTLS value ([#453](https://github.com/googleapis/gapic-generator-python/issues/453)) ([7449ad5](https://github.com/googleapis/gapic-generator-python/commit/7449ad5aad4a1fbbf9ca3796e097512fc80991e3)) +* update GOOGLE_API_USE_MTLS values ([#449](https://github.com/googleapis/gapic-generator-python/issues/449)) ([b737ea0](https://github.com/googleapis/gapic-generator-python/commit/b737ea09f004fbd0f160d641ec9f14a6c6c98715)) +* Update module alias to resolve naming conflict ([#820](https://github.com/googleapis/gapic-generator-python/issues/820)) ([f5e9f36](https://github.com/googleapis/gapic-generator-python/commit/f5e9f367ec6a72b4272f559a93f6fbb3d7e54b8b)), closes [#819](https://github.com/googleapis/gapic-generator-python/issues/819) +* update paging implementation to handle unconventional pagination ([#750](https://github.com/googleapis/gapic-generator-python/issues/750)) ([eaac3e6](https://github.com/googleapis/gapic-generator-python/commit/eaac3e69d366b610ae7551d94d4f546819e24bc2)) +* update protobuf version [gapic-generator-python] ([#696](https://github.com/googleapis/gapic-generator-python/issues/696)) ([ea3e519](https://github.com/googleapis/gapic-generator-python/commit/ea3e5198862881f5b142638df6ea604654f81f82)) +* updating testing, rest-only generation, & minor bug-fixes ([#716](https://github.com/googleapis/gapic-generator-python/issues/716)) ([56c31de](https://github.com/googleapis/gapic-generator-python/commit/56c31de4a9f661e3d69b52e19c9a28dddfe9d7dc)) +* use (new) typing for 'gapic_v1.method.DEFAULT' ([#1032](https://github.com/googleapis/gapic-generator-python/issues/1032)) ([d85dfad](https://github.com/googleapis/gapic-generator-python/commit/d85dfadc180e5f218ad582a306c1c441a6c668db)) +* use context manager for mtls env var ([#548](https://github.com/googleapis/gapic-generator-python/issues/548)) ([d19e180](https://github.com/googleapis/gapic-generator-python/commit/d19e1808df9cd2884ae7a449977a479b4829bc1d)) +* use correct retry deadline in publisher methods ([#814](https://github.com/googleapis/gapic-generator-python/issues/814)) ([92a2cfc](https://github.com/googleapis/gapic-generator-python/commit/92a2cfc47b24c4b1a041d5bbb944d69a67a962a2)) +* use correct typing for retries / operations_client ([#1026](https://github.com/googleapis/gapic-generator-python/issues/1026)) ([acb3ea8](https://github.com/googleapis/gapic-generator-python/commit/acb3ea83becf6bf85c142739dede556cae2cebae)) + + +### Performance Improvements + +* collisions don't contain reserved names by default ([#684](https://github.com/googleapis/gapic-generator-python/issues/684)) ([2ec6ea6](https://github.com/googleapis/gapic-generator-python/commit/2ec6ea6835256c0d7b252e035cf4eac1ff442647)) +* reduce unnecessary copies, optimize Address comparison ([#855](https://github.com/googleapis/gapic-generator-python/issues/855)) ([e843540](https://github.com/googleapis/gapic-generator-python/commit/e8435400257707458e83424019c9b1a16fac9a99)) + + +### Miscellaneous Chores + +* add release-please ([#452](https://github.com/googleapis/gapic-generator-python/issues/452)) ([6b35758](https://github.com/googleapis/gapic-generator-python/commit/6b357580bfdc97497a054f26f4063bd766835665)) + ### [0.59.1](https://github.com/googleapis/gapic-generator-python/compare/v0.59.0...v0.59.1) (2022-01-10)