Releases: grpc-ecosystem/grpc-gateway
Releases · grpc-ecosystem/grpc-gateway
v2.0.0-alpha.2, the first alpha release of v2
No functional changes
v1.14.4
Note that this release changes how we generate Swagger OperationIDs - please review #1193 and #662 for rationale. If you want to re-enable the old generation behaviour, use the flag simple_operation_ids=true
like so:
$ protoc --swagger_out=simple_operation_ids=true:. my_service.proto
v1.14.4 (2020-04-18)
Closed issues:
- custom unmarshal response error #1211
- api annotation placeholder character case #1207
- response_body of http rule is ignored in case of server streaming #1202
- Go gRPC Gateway - Type of one field in JSON is not same as in proto #1201
- 1.14 breaks protoc-gen-go-json #1199
- Use different field name in gateway #1197
- No longer generate register...Server function in pb.gw.go? #1195
- Support for source_relative argument #1180
Merged pull requests:
- Add option to disable new operationID generation #1216 (johanbrandhorst)
- http rule's response_body support to stream rpc #1208 (adasari)
- Add GopherCon UK link to README #1204 (johanbrandhorst)
- Move codegenerator back to public namespace #1200 (johanbrandhorst)
v1.14.4-rc.1
Note that this release changes how we generate Swagger OperationIDs - please review #1193 and #662 for rationale. If this breaks your workflow, we'd like to know, please raise an issue.
v1.14.4-rc.1 (2020-04-01)
Implemented enhancements:
- proto-gen-* --version #649
Closed issues:
- protoc-gen-swagger: json_names_for_fields=true does not respect json_name for *nested* path parameters #1187
- protoc-gen-grpc-gateway-ts plugin for generating Typescript types #1182
- protoc-gen-swagger: support outputting enum parameters as integers #1177
- protoc-gen-grpc-gateway should warn or fail if a selector does not exist #1175
- Enum string values not supported by grpc gateway #1171
- Swagger definition is broken if there's no default error response set #1162
- Using golang/protobuf v1.4.0-rc.3 locks up generators #1158
Merged pull requests:
- Generate Swagger with Unique Operation IDs #1193 (dadgar)
- Xin/support deep levels reserved json name #1191 (xin-au)
- feat: add enumAsInts flag #1186 (rowe0x)
- Use 8088 instead of 8080 in integration test. #1184 (drigz)
- Limit Bazel memory usage in CI. #1183 (drigz)
- fix version spelling #1181 (seriousben)
- Emit error on HTTP rules without a matching selector and log warning on unbound methods #1178 (andrascz)
- genswagger: don't emit default response if there's no Error definition #1166 (utrack)
v1.14.3
v1.14.3 (2020-03-11)
Merged pull requests:
- Move httprule back into the public API #1169 (johanbrandhorst)
Closed issues:
- Missing httprule breaks our module #1168
v1.14.2
v1.14.2 (2020-03-09)
Merged pull requests:
- Move genswagger to public API again #1163 (johanbrandhorst)
Closed issues:
- 1.14.x breaks clay #1161
v1.14.1
v1.14.1 (2020-03-05)
Merged pull requests:
- Move generator and descriptor back to public API #1155 (johanbrandhorst)
- Update build environment to 1.14 #1153 (johanbrandhorst)
- Add gorelease CI step #1152 (johanbrandhorst)
v1.14.0
This release is technically breaking, moving many unintentionally public APIs into internal folders to prevent their use. If you have any APIs you wish to keep accessing, please raise an issue.
v1.14.0 (2020-03-04)
Closed issues:
- Swagger Codegen With Multiple Additional Bindings is resulting in missing Documentation #1149
- google.api.http option not picked up/mapped correctly? #1148
- cannot use multiple different error handlers in one gateway binary #1143
- Is grpc-gateway a stateless application? #1139
- Support for custom query parameters parsers #1128
Merged pull requests:
- Use an interface for ContentTypeFromMessage #1150 (wtlangford)
- Minimize API surface in anticipation of gorelease #1146 (johanbrandhorst)
- Fix #1143: Support multiple error handlers. #1144 (jgiles)
- Fix customizing your gateway documentation CustomMatcher example #1142 (wiliamsouza)
- protoc-gen-swagger: add flag to disable default errors #1141 (johanbrandhorst)
- Bump nokogiri from 1.10.4 to 1.10.8 in /docs #1140 (dependabot[bot])
- Configurable query parameters parser #1138 (wp0pw)
- Improve installation instructions #1132 (johanbrandhorst)
- Add bazel gazelle to CONTRIBUTING #1131 (johanbrandhorst)
- Configure response content type at the method level #1130 (nboukeffa)
v1.13.0
v1.13.0 (2020-02-11)
Implemented enhancements:
- protoc-gen-swagger: add default error response #1127 (johanbrandhorst)
- swagger: Prefix used in nested-field GET params does not respect json_names_for_fields #1125
- protoc-gen-swagger: Support Response-specific examples #1117
Closed issues:
- protoc-gen-swagger: Support for repeated custom message in url params #1119
- [Feature Request] Custom Type conversion #754
- Generated spec missing grpc errors #1122
Merged pull requests:
v1.12.2
v1.12.2 (2020-01-22)
Fixed bugs:
- Gateway does not parse oneof types correctly when using camelCase #1113
Closed issues:
- all SubConns are in TransientFailure, latest connection error: connection error: desc = "transport: Error while dialing dial tcp [::1]:50051: connect: connection refused" #1111
- Streaming responses are put in
x-stream-definitions
rather than/components/schema
, which tools do not support #1109 - Why is metadataAnnotators not []func(metadata.MD, *http.Request) #1107
- protoc_gen_swagger: Why
protobufListValue
type is represented as object? #1106 - The metadata of local_request function's return is always nil #1105
- protoc-gen-swagger: support multiple files #1104
- grpc-gateway is incompatible with --incompatible_load_proto_rules_from_bzl #1101
- Any example or doc of sending large data from Postman (json) to the server using client side streaming? #1100
- Why errors have both "error" and "message" field that contains same (redundant) data? #1098
- Generate java grpc gateway code. #1097
- protoc-gen-swagger gen unsupport http post in query, only support http get in query? #1096
- Cannot generate swagger with generated protobuf #1094
- genswagger fails on Ubuntu on Windows (WSL): value of type genswagger.alias is not assignable to type genswagger.alias #1092
- protoc-gen-swagger: should use json_name values for generating properties in swagger doc #1090
- protoc-gen-swagger: json_names_for_fields=true does not respect json_name for path parameters #1084
- extract protoc-gen-swagger to separate repo #1083
- How do I load balance call grpc service? #1081
Merged pull requests:
- docs: require Jekyll Github Token to be set #1118 (johanbrandhorst)
- fix: protoc-gen-swagger: get wrong second services method comments #1116 (chinaran)
- Bump rubyzip from 1.2.3 to 2.0.0 in /docs #1115 (dependabot[bot])
- #1113 Fix broken parsing of camelCase oneof #1114 (seanlaff)
- #1109 Inline streamingDefinitions in generated swagger to better support codegen tools #1112 (seanlaff)
- Explicitly load rules_proto rules #1102 (achew22)
- [bazel] Correctly handle proto files under _virtual_imports #1095 (Yannic)
- Override operation_id when available #1091 (guilherme-santos)
- Support reserved json name and add tests #1085 (xin-au)
v1.12.1
v1.12.1 (2019-11-06)
Closed issues:
- Unable to create HTTP mapping with "/parent" #1079
Merged pull requests:
- Revert "Fix templateToSwaggerPath generates invalid path" #1078 (johanbrandhorst)
- Support json_names_for_fields in starlark rule protoc_gen_swagger #1077 (prestonvanloon)