Skip to content

Releases: googleapis/gapic-generator-python

gapic-generator 0.15.0

28 Jan 22:44
701eb24
Compare
Choose a tag to compare
Pre-release

release level documentation

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

10 Dec 22:45
36fd9f0
Compare
Choose a tag to compare
gapi-generator 0.14.0 Pre-release
Pre-release

release level documentation

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

22 Aug 20:22
f71fc44
Compare
Choose a tag to compare
Pre-release

release level documentation

Features

  • Samplegen functionality is exposed in docker image (#184 )

Documentation

  • Initial documentation for samplegen (#184 )

gapic-generator 0.12.0

20 Aug 22:42
88ab687
Compare
Choose a tag to compare
Pre-release

release level documentation

Features

  • Generate samples and sample manifests (#167)

Bugfixes

  • Pager modules always import the message being paged (#153)
  • Remove commas after keyword-only parameters in generated methods (#175)
  • Remove various unused imports from generated code (#177)

gapic-generator 0.11.0

19 Jul 18:14
Compare
Choose a tag to compare
Pre-release

release level documentation

Bugfixes

  • Pager modules always import the message being paged (#150)
  • Minor formatting fixes (#155)
  • Fix a bash syntax error in docker entrypoint script (#135)

gapic-generator 0.10.0

13 Jun 16:10
174c508
Compare
Choose a tag to compare
Pre-release

release level documentation

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

23 May 19:49
9dc56ac
Compare
Choose a tag to compare
gapic-generator 0.9.0 Pre-release
Pre-release

release level documentation

Breaking Changes

  • Removed support for package metadata, since this configuration did not make it to stable (#125)

Features

  • Automatic pagination support (#121)

Bugfixes

  • Fixed an issue where generation failed if no default_host was specified (#120)
  • Fixed an incorrect __all__ (#119)

gapic-generator 0.8.0

02 Apr 17:38
9f17e13
Compare
Choose a tag to compare
gapic-generator 0.8.0 Pre-release
Pre-release

release level documentation

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

07 Mar 01:11
6dd7498
Compare
Choose a tag to compare
gapic-generator 0.7.1 Pre-release
Pre-release

release level documentation

Bugfixes

  • Fixed an issue where a proto file with only nested enums lacked an import enum statement. (#107)
  • Minor corrections to documentation. (#108)

gapic-generator 0.7.0

02 Mar 07:50
Compare
Choose a tag to compare
gapic-generator 0.7.0 Pre-release
Pre-release

release level documentation

Features

  • RPCs with a google.protobuf.Empty response value return Python None (#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)

Tests

  • Add integration tests for different input formats. (#97)
  • Add integration tests for CRUD operations. (#98)