Skip to content

Releases: google/gnostic

v0.7.0

01 Oct 20:29
ee84fd2
Compare
Choose a tag to compare
fix: Stop lying how GRPC renders durations (#401)

by reporting the data types and formats that are actually used

Fixes: #351

protoc-gen-openapi and export improvements.

05 Apr 03:08
563c490
Compare
Choose a tag to compare

This contains several improvements to protoc-gen-openapi from @jeffsawatzky , including the ability to use proto annotations to add fragments to generated OpenAPI documents (#324). It also adds some missing OpenAPI compiler code that Jeff uncovered when testing the new fragment overlay feature - maps of strings were not properly exported in ToRawInfo() methods in both OpenAPI packages (v2 and v3). Thanks, Jeff!

Module cleanup

22 Jan 19:42
46bcbfd
Compare
Choose a tag to compare

We had a series of problems related to a multi-module configuration and its reversion that all now appear to be fixed in this release. Individual components in the cmd directory are now (again) part of the main module and can be independently installed with the following:

go install github.com/google/gnostic/cmd/disco@latest
go install github.com/google/gnostic/cmd/parse-linter-output@latest
go install github.com/google/gnostic/cmd/petstore-builder@latest
go install github.com/google/gnostic/cmd/protoc-gen-jsonschema@latest
go install github.com/google/gnostic/cmd/protoc-gen-openapi@latest
go install github.com/google/gnostic/cmd/report@latest
go install github.com/google/gnostic/cmd/report-messages@latest
go install github.com/google/gnostic/cmd/vocabulary-operations@latest

Verified with Go 1.16, 1.17, and 1.18beta1.

Single-module repo with retraction of v0.6.0 multimodule experiment

08 Jan 18:40
a91282f
Compare
Choose a tag to compare

This adds a retract statement to go.mod to exclude v0.6.0 from dependency updates. Thanks @morphar and @shenqidebaozi for quickly catching and fixing problems with the multimodule configuration!

Single-module repo

08 Jan 07:29
baf81ea
Compare
Choose a tag to compare
v0.6.1

Reverse multi-module changes (#284)

Multimodule repo: apps are in "cmd". protoc-gen-openapi improvements. protoc-gen-jsonschema.

07 Jan 06:28
94bcf11
Compare
Choose a tag to compare

This renames the former apps directory to cmd and adds a go.mod for each cmd subdirectory. These directories contain demonstrations and various gnostic-related applications, and putting each in a separate module clarifies dependencies and reduces the apparent dependencies of gnostic itself (as listed in the top-level go.mod). Thanks @shenqidebaozi for making this change and @morphar for advising.

This also includes significant improvements to protoc-gen-openapi from @morphar and @tonybase and a new protoc-gen-jsonschema pluigin contributed by @morphar.

Update protos for Go protoc plugin compatibility, add some fields previously dropped by gnostic-generator

27 Apr 16:05
1550ae2
Compare
Choose a tag to compare
v0.5.5

Upgrade protobuf and Generate OpenAPI v3 responseBody content example…

apps/protoc-gen-openapi and JSON marshaling improvements

24 Oct 00:02
42aec32
Compare
Choose a tag to compare

This adds a gnostic-based protoc plugin that generates OpenAPI for transcoded gRPC APIs. See AIP-127 for a description of transcoding.

It also includes JSON marshaling improvements and tests from @bvwells.

Vocabulary Analysis, Error messages include line numbers

12 Oct 21:53
52a6193
Compare
Choose a tag to compare

This update includes API vocabulary analysis features developed during the Summer of 2020 and improvements to error reporting that include line/column numbers for errors and more concise reporting of unmatched schemas. A few corner-case crashes were also fixed.

Fix problem reading Google Discovery Documents

17 Jul 00:06
3e1e1bd
Compare
Choose a tag to compare

This fixes a minor error that caused Google Discovery Documents to fail to load after the yaml.v3 update.