Releases: googleapis/gapic-generator-python
Releases · googleapis/gapic-generator-python
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
gapi-generator 0.14.0
Breaking Changes
- The template interpolation token is now % instead of $
- Method flattening semantics have changed
Features
- Add support and testing for Python 3.8
- GAPIC clients define helper functions that describe resource paths for types used in request message fields
- Paginated response objects have a 'pages' and 'raw_pages' property that provides an iterator over the paginated response messages
- Generated clients gain an optional, keyword only 'client_options' parameter. Currently, only client endpoint is configurable
Generator now creates a script per service to facilitate user code from the monolithic style flattening to microgenerator style flattening - Sample configs can use resource path syntax in request construction
- Add a command line parameter describing the path of an optional service config
- Duplicate sample configs generate an error
- Sample config response handling can use dictionary references or list-indexed expressions
- Sample config request construction can use primitive values
Bugfixes
- Use absolute paths when invoking generator docker image
- Sample generation works when generator is invoked as a protobuf plugin
Documentation
- All generated files contain copyright and license information
- Showcase dependency is updated
Tests
- Add generated unit tests for reading service config files
- Add generated unit tests for passing 'client_options' and respecting configured endpoint
- Update generated tests for method flattening
- Add generated tests for 'pages' and 'raw_pages' properties
- Add generated tests for resource path methods
- Add system test for pages property
- Add unit tests for duplicate sample configs
- Add unit test for sample configs that use resource paths
- Add unit test for primitive values in sample config request construction
- Add samplegen unit tests for resource based functionality
gapic-generator 0.13.0
gapic-generator 0.12.0
gapic-generator 0.11.0
gapic-generator 0.10.0
Features
- Improved enum support (#127)
- mypy type-checking on the generator (#130)
- mypy type-checking on the generated output (#131)
- Added a CLI option to take the Python module (#126)
Bugfixes
- The Docker entrypoint script preserves any option beginning with
python-gapic
(#129)
Documentation
- Documentation cleanup, largely removing out-of-date material (#132)
gapic-generator 0.9.0
gapic-generator 0.8.0
Breaking Changes
- Removed HTTP/1.1 support. (#114)
- This feature is going away temporarily because of a lack of testing infrastructure to support it. It will return once we can verify correctness.
Features
- Unit tests. (#115)
- The generator now ships unit tests with 100% coverage.
- CI is updated to exercise them.
Documentation
- Fixed the image resource for testing the Vision library (#110, thanks @Jaffrey98)
- Updated the clone instructions to use HTTPS (#112, thanks @AnupKumarPanwar)
gapic-generator 0.7.1
gapic-generator 0.7.0
Features
- RPCs with a
google.protobuf.Empty
response value return PythonNone
(#100) - Altered method signature flattening significantly. (#102)
- Automatic retries. (#103)
Bugfixes
- LRO support now works, and is tested. (#101)
- Generated docstrings are now raw, addressing some escaping issues. (#96)
- Headers now include the client library version. (#104)