Skip to content

Releases: google/gnostic

v0.7.0

Choose a tag to compare

@timburks timburks released this 01 Oct 20:29
ee84fd2
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.

Choose a tag to compare

@timburks timburks released this 05 Apr 03:08
563c490

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

Choose a tag to compare

@timburks timburks released this 22 Jan 19:42
46bcbfd

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

Choose a tag to compare

@timburks timburks released this 08 Jan 18:40
a91282f

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

Choose a tag to compare

@timburks timburks released this 08 Jan 07:29
baf81ea
v0.6.1

Reverse multi-module changes (#284)

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

Choose a tag to compare

@timburks timburks released this 07 Jan 06:28
94bcf11

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

Choose a tag to compare

@timburks timburks released this 27 Apr 16:05
1550ae2
v0.5.5

Upgrade protobuf and Generate OpenAPI v3 responseBody content example…

apps/protoc-gen-openapi and JSON marshaling improvements

Choose a tag to compare

@timburks timburks released this 24 Oct 00:02
42aec32

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

Choose a tag to compare

@timburks timburks released this 12 Oct 21:53
52a6193

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

Choose a tag to compare

@timburks timburks released this 17 Jul 00:06
3e1e1bd

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