This repository was archived by the owner on Mar 26, 2026. It is now read-only.
Releases: googleapis/gapic-generator-python
Releases · googleapis/gapic-generator-python
gapic-generator 0.23.0
gapic-generator 0.22.0
gapic-generator 0.21.1
gapic-generator 0.21.0
Features
- Add a parallel set of templates for https://github.com/googleads/google-ads-python/
- Add mutual TLS support
- Implement resource path parsing methods in generated clients
Bugfixes
- Adds type annotation for a nested function
- Option parsing ignores whitespace after tokenization
Documentation
- Removed
proof of conceptand updated ownership in README.md
gapic-generator 0.20.0
Features
- Add support for building GAPICs with Bazel
- Add a naming workaround for certain APIs that require alternative directory structures
Bugfixes
- Generated unit tests that check method flattening properly handle deeply nested fields
- Map fields are properly handled in generated unit tests
- Client classes now have helper functions for resources nested deeply in the request message
- Messages with enum fields whose type is defined subsequently are handled correctly
Documentation
- The
Getting Starteddocumentation correctly describes client default instantiation
gapic-generator 0.19.0
Bugfixes
- Flattened fields can no longer generate naming conflicts with imported modules
- A common case where LRO annotations reference unimported types is permitted
- Modules whose names are python keywords are automatically disambiguated
- Cross package request types with no flattened fields no longer generate crashing GAPIC
- Paginated result types are imported properly for paginated methods
- Syntax errors fixed in doc templates
gapic-generator 0.18.0
Bugfixes
- Generated
setup.pycontains requirement on Google IAM when applicable - Client methods that send IAM messages as requests handled specially
- Generated unit tests that check floating point message fields use
math.isclose - Fix minor naming issue with generated unit tests for resource name methods
gapic-generator 0.17.0
gapic-generator 0.16.0
Features
- Add a WIP optional lazy-import feature. Submodule
__init__.pyfiles use module level__getattr__andimportlibto selectively load sub-submodules, deferring import costs until submodules or types are used. - Streaming method support is improved and fleshed out.
- The semantics of the conversion script have changed: a single script is generated per API instead of one script per service. The script modifies a copy of its input directory and does not change the input source files.
- Nested message types in proto files produce import statements in generated unit tests.
- Generated gRPC transports gain a
create_channelfactory method that passes arbitrary keyword arguments through togrpc_helpers.create_channel
Tests
- Test that nested message types generate import statements.
- Add grpc streaming interceptor tests.
- Add tests for the alternative module import semantics.
Misc
- The
enumssubmodule has been removed from the generated surface.
gapic-generator 0.15.0
Features
- Add generated rst documentation
- Adopt the revised microgenerated flattening semantics for the GAPIC surface
Bugfixes
- Provide generated 'types' and 'enums' submodules in order to replicate the monolithic GAPIC surface
- Duplicate test names from multiple API versions being concurrently generated no longer cause nox to fail
- Add enums to 'all' types import
Tests
- Test that enums are visible through the 'enums' submodule
- Test for method flattening