Releases: grpc-ecosystem/grpc-gateway
Releases · grpc-ecosystem/grpc-gateway
v1.14.7
The grpc-gateway v1 is in maintenance mode, you are encouraged to migrate to v2.
See #1223 for more information and check out our v2 migration guide.
v1.14.7 (2020-08-12)
Fixed bugs:
- Flaky Timeout test #1258
Closed issues:
- CVE-2020-14001: Unintended read access in kramdown gem #1579
- [v2] expose defaultHTTPErrorHandler (and perhaps defaultStreamErrorHandler) #1576
- protoc-gen-swagger: Add prefix to all paths #1567
- Generate Swagger description using proto comments. #1552
- incorrect field mask generated for deeply nested struct #1549
- connection error occurs if the grpc server restarts #1547
- Log spam during attempt to append remote address to the XFF header when the transport is a unix domain socket #1538
- Can not use evans cli or other grpc gui tool when using http annotations #1535
- reverse gateway file not getting generated (.pb.gw.go) not getting generated no error just warning #1530
- does this support grpc-node? #1525
- With v2 we should be able to detect real NotFound responses from gRPC service NotFound responses #1513
- runtime.MarshalerForRequest: Content-Type should have been parsed before querying mimeMap #1505
- Invalid test cases for runtime.Marshaler #1501
- Need help in enabling log in grpc-gateway application #1495
- WithForwardResponseOption can't cast proto.Message when response_body is defined on the rpc method #1493
- should it support jsonp? #1480
- Any option to set per route middleware instead of using the global route/handler/mux middleware? #1473
- How to JSON Transcode Protos With Naming Equal to Generated Typescript Repeated Fields #1465
- Boolean type should not have a format (OAS) #1463
- Performance implications of using the grpc-gateway for a REST API #1458
- Trying to generate properties using the camelCase from underscores #1426
- question: tensorflow serving #1425
- Documentation: clarify RegisterXXXHandlerServer compromises #1398
- errors when building with bazel #1392
- Enums from other packages as path parameters is missing package name in front of enumValMap. #1203
- Reference not imported properly #1190
- Merging swagger specs fails to use rpc comments #664
Merged pull requests:
- chore(deps): update golang docker tag to v1.15.0 (master) #1585 (renovate[bot])
- Update github-pages #1581 (johanbrandhorst)
- chore(deps): update golang docker tag to v1.14.7 (master) #1571 (renovate[bot])
- Only canonicalize header key once in each iteration #1564 (ziyi-yan)
- chore(deps): update module google.golang.org/grpc to v1.31.0 (master) #1561 (renovate[bot])
- fix slice appendings in generating field mask paths #1555 (houz42)
- chore(deps): update dependency com_github_bazelbuild_buildtools to v3.4.0 (master) #1544 (renovate[bot])
- Eliminate log messages resulting from requests being sent over a Unix Domain Socket #1543 (janzantinge)
- docs: fix broken screenshot paths #1540 (dufcrule)
- Update golang Docker tag to v1.14.6 (master) #1531 (renovate[bot])
- Adds fqn_for_swagger_name to bazel defs #1528 (chriserickson)
- Update golang Docker tag to v1.14.5 (master) #1521 (renovate[bot])
- protoc-gen-swagger: add example similar to AIP-133 #1514 (jonathaningram)
- Parse media type for inbound marshaler #1506 (movsb)
- Corrects an invalid test #1502 (yugui)
- forward trailers on error only if client send TE header #1499 (strobil)
- docs: fix broken season of docs links #1497 (dufcrule)
- docs: clean up cygwin instructions #1490 (dufcrule)
- Add
descriptor
todeps
ofgo\_gen\_grpc\_gateway
. #1487 (bartle-stripe) - Update dependency com_github_bazelbuild_buildtools to v3.3.0 (master) #1481 (renovate[bot])
- Standardize way GitHub is written in CONTRIBUTING.md #1479 (dufcrule)
- Update module google.golang.org/grpc to v1.30.0 (master) #1476 (renovate[bot])
- protoc-gen-swagger: Update internal mapping for boolean type #1466 (ozraza)
- Update dependency com_github_bazelbuild_buildtools to v3.2.1 (master) #1460 (renovate[bot])
- Fix for referenced enums in field params #1453 (sgtsquiggs)
- fix rpc comment generation against allow_merge #1445 (kentdotn)
- protoc-gen-swagger: Fix message recursion detection #1437 (doylezdead)
- chore(deps): update dependency com_github_bazelbuild_buildtools to v3.2.0 (master) #1434 (renovate[bot])
- chore(deps): update golang docker tag to v1.14.4 (master) #1430 (renovate[bot])
- Add openapi protobuf documentation examples #1427 (bvwells)
- Enable auto merge and automate updates #1416 (johanbrandhorst)
- added issue template of various forms #1411 (iamrajiv)
- fix documentation error introduced by #1399 #1402 (joesonw)
- Add module generator option [#1400](https://github.com/grpc-ecosystem/g...
v2.0.0-beta.4
v2.0.0-beta.4 (2020-08-10)
Fixed bugs:
- Flaky Timeout test #1258
Closed issues:
- [v2] expose defaultHTTPErrorHandler (and perhaps defaultStreamErrorHandler) #1576
- protoc-gen-swagger: Add prefix to all paths #1567
- Generate Swagger description using proto comments. #1552
- incorrect field mask generated for deeply nested struct #1549
- connection error occurs if the grpc server restarts #1547
- Log spam during attempt to append remote address to the XFF header when the transport is a unix domain socket #1538
- Can not use evans cli or other grpc gui tool when using http annotations #1535
- reverse gateway file not getting generated (.pb.gw.go) not getting generated no error just warning #1530
- does this support grpc-node? #1525
- With v2 we should be able to detect real NotFound responses from gRPC service NotFound responses #1513
- runtime.MarshalerForRequest: Content-Type should have been parsed before querying mimeMap #1505
- Invalid test cases for runtime.Marshaler #1501
- Need help in enabling log in grpc-gateway application #1495
- WithForwardResponseOption can't cast proto.Message when response_body is defined on the rpc method #1493
- should it support jsonp? #1480
- Any option to set per route middleware instead of using the global route/handler/mux middleware? #1473
- How to JSON Transcode Protos With Naming Equal to Generated Typescript Repeated Fields #1465
- Boolean type should not have a format (OAS) #1463
- Performance implications of using the grpc-gateway for a REST API #1458
- Trying to generate properties using the camelCase from underscores #1426
- question: tensorflow serving #1425
- Documentation: clarify RegisterXXXHandlerServer compromises #1398
- errors when building with bazel #1392
- Enums from other packages as path parameters is missing package name in front of enumValMap. #1203
- Reference not imported properly #1190
- Merging swagger specs fails to use rpc comments #664
Merged pull requests:
- chore(deps): update google.golang.org/genproto commit hash to a062522 (v2) #1574 (renovate[bot])
- chore(deps): update golang docker tag to v1.14.7 (v2) #1573 (renovate[bot])
- chore(deps): update dependency io_bazel_rules_go to v0.23.7 (v2) #1572 (renovate[bot])
- chore(deps): update google.golang.org/genproto commit hash to 86f49bd (v2) #1569 (renovate[bot])
- chore(deps): update google.golang.org/genproto commit hash to 45615f5 (v2) #1568 (renovate[bot])
- Only canonicalize header key once in each iteration #1565 (ziyi-yan)
- chore(deps): update google.golang.org/genproto commit hash to 8145dea (v2) #1563 (renovate[bot])
- chore(deps): update module google.golang.org/grpc to v1.31.0 (v2) #1562 (renovate[bot])
- chore(deps): update google.golang.org/genproto commit hash to 007c33d (v2) #1560 (renovate[bot])
- protoc-gen-openapiv2: Fix so that FieldMasks descriptions are correctly generated #1558 (krosen040)
- chore(deps): update google.golang.org/genproto commit hash to 053ba62 (v2) #1557 (renovate[bot])
- chore(deps): update google.golang.org/genproto commit hash to 3dc8dca (v2) #1554 (renovate[bot])
- fix slice appending in generating field mask paths #1553 (houz42)
- chore(deps): update google.golang.org/genproto commit hash to da3ae01 (v2) #1551 (renovate[bot])
- chore(deps): update google.golang.org/genproto commit hash to 43cab47 (v2) #1550 (renovate[bot])
- chore(deps): update dependency io_bazel_rules_go to v0.23.6 (v2) #1548 (renovate[bot])
- Removed the "invalid remote addr" log (#1543) #1546 (janzantinge)
- chore(deps): update dependency com_github_bazelbuild_buildtools to v3.4.0 (v2) #1545 (renovate[bot])
- docs: change back name of file to OpenAPI #1542 (dufcrule)
- docs: fix broken screenshot paths #1541 (dufcrule)
- Update google.golang.org/genproto commit hash to 88e3419 (v2) #1539 (renovate[bot])
- Update module google/go-cmp to v0.5.1 (v2) #1537 (renovate[bot])
- Update google.golang.org/genproto commit hash to 5044d0e (v2) #1536 (renovate[bot])
- Update google.golang.org/genproto commit hash to 1244ee2 (v2) #1534 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.23.5 (v2) #1533 (renovate[bot])
- Update golang Docker tag to v1.14.6 (v2) #1532 (renovate[bot])
- Adds fqn_for_swagger_name to bazel defs #1529 (chriserickson)
- Update google.golang.org/genproto commit hash to 11fb19a (v2) #1526 (renovate[bot])
- protoc-gen-openapiv2: add example for AIP-133 #1524 (jonathaningram)
- Update golang Docker tag to v1.14.5 (v2) #1523 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.23.4 (v2) #1522 (renovate[bot])
- Update google.golang.org/genproto commit hash to f631a03 (v2) #1520 (renovate[bot])
- Add http routing errors handler #1517 (octo47)
- Update google.golang.org/genproto commit hash to 8698661 (v2) [#1...
v2.0.0-beta.3
v2.0.0-beta.3 (2020-05-25)
Merged pull requests:
- utilities: move package to public API #1395 (johanbrandhorst)
v2.0.0-beta.1
This release marks the completion of all the must-haves for v2.0.0, as detailed in #1223. We still wait for a few external dependencies before we can seriously consider a stable v2 release, but at this point we invite users to try out v2 and give feedback on the changes.
If you are trying out v2, please consult the migration guide before raising issues.
v2.0.0-beta.1 (2020-05-25)
Implemented enhancements:
- Feature request: support of go protocol buffer v2 #1147
Fixed bugs:
- Bazel tests are flaky #968
Closed issues:
- Merging swagger specs (for multiple protos belonging to same package) fails to emit summary for some RPCs #1387
- Remove result/error envelope in streaming RPC response #1254
- cleanup: rename 'swagger' references to 'openapi' #675
- Swagger: JSON definitions aren't CamelCased #375
- Support emitting default values in JSON #233
Merged pull requests:
- Generate changelog for v2.0.0-beta1 #1393 (johanbrandhorst)
- Rename protoc-gen-swagger to protoc-gen-openapi #1390 (johanbrandhorst)
- Update docs for v2 #1388 (johanbrandhorst)
- runtime: remove DisallowUnknownFields() #1386 (johanbrandhorst)
- runtime: make HTTPBodyMarshaler the default #1385 (johanbrandhorst)
- Implement last-match-wins behaviour in mux #1384 (johanbrandhorst)
- Fix various misspellings (#1381) #1383 (bvwells)
- Remove usage of deprecated grpc.Errorf API (#1380) #1382 (bvwells)
- Add missing documentation for openapiv2 proto definition (#1375) #1378 (bvwells)
- runtime: make default marshaler emit default values #1377 (johanbrandhorst)
- Turn off UseProtoNames in default marshaler #1376 (johanbrandhorst)
- cherry-picked the commit from master to v2 in customizingyourgateway.md #1374 (iamrajiv)
- Update google.golang.org/genproto commit hash to e9a78aa (v2) #1372 (renovate[bot])
- PR and Issue template added to v2 branch #1371 (iamrajiv)
- Update google.golang.org/genproto commit hash to 08726f3 (v2) #1369 (renovate[bot])
- Improve README.md #1363 (amanjain97)
- all: replace all uses of golang/protobuf/proto #1358 (johanbrandhorst)
- Update module google/go-cmp to v0.4.1 (v2) #1357 (renovate[bot])
- chore(deps): update golang docker tag to v1.14.3 (v2) #1356 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.23.1 (v2) #1355 (renovate[bot])
- remove unused PKGMAP #1353 (johanbrandhorst)
- internal/descriptor: move to generated apiconfig test #1352 (johanbrandhorst)
- Update google.golang.org/genproto commit hash to fc4c6c6 (v2) #1349 (renovate[bot])
- Renovate changes from master #1348 (johanbrandhorst)
- docs: add example customizing unmarshal options (#1335) #1341 (srenatus)
- chore(deps): update module golang/protobuf to v1.4.2 (v2) #1333 (renovate[bot])
- Update google.golang.org/genproto commit hash to 8feb7f2 (v2) #1331 (renovate[bot])
- all: correct use of go_package #1329 (johanbrandhorst)
- Update dependency io_bazel_rules_go to v0.23.0 (v2) #1328 (renovate[bot])
- Update dependency bazel_gazelle to v0.21.0 (v2) #1327 (renovate[bot])
- Renovate: run go mod tidy after updates #1324 (johanbrandhorst)
- Update google.golang.org/genproto commit hash to 09dca8e (v2) #1322 (renovate[bot])
- fixed typo in docs/_docs/usage.md in v2 branch #1320 (iamrajiv)
- improved docs/_docs/season_of_docs.md in v2 branch #1319 (iamrajiv)
- Add Bazel CI caching #1314 (johanbrandhorst)
- Update module antihax/optional to v1 (v2) #1311 (renovate[bot])
- Update dependency com_github_bazelbuild_buildtools to v3 (v2) #1310 (renovate[bot])
- runtime: rewrite fieldmask logic with protoreflect #1309 (johanbrandhorst)
- Update module google.golang.org/grpc to v1.29.1 (v2) #1307 (renovate[bot])
- Update module golang/protobuf to v1.4.1 (v2) #1306 (renovate[bot])
- Update golang Docker tag to v1.14.2 (v2) #1305 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.22.4 (v2) #1301 (renovate[bot])
- Update dependency com_github_bazelbuild_buildtools to v0.29.0 (v2) #1300 (renovate[bot])
- Update dependency bazel_gazelle to v0.20.0 (v2) #1299 (renovate[bot])
- Update google.golang.org/genproto commit hash to 43844f6 (v2) #1298 (renovate[bot])
- Update golang.org/x/oauth2 commit hash to bf48bf1 (v2) #1297 (renovate[bot])
- Add more instructions on the GitHub releases UI #1277 (achew22)
- HttpBody mesage feature for stream RPC #1273 (adasari)
- Consolidate error handling configuration #1265 (johanbrandhorst)
v1.14.6
v1.14.6 (2020-05-25)
Implemented enhancements:
- Feature request: support of go protocol buffer v2 #1147
Fixed bugs:
- Bazel tests are flaky #968
Closed issues:
- Merging swagger specs (for multiple protos belonging to same package) fails to emit summary for some RPCs #1387
- Remove result/error envelope in streaming RPC response #1254
- cleanup: rename 'swagger' references to 'openapi' #675
- Swagger: JSON definitions aren't CamelCased #375
- Support emitting default values in JSON #233
Merged pull requests:
- Tidy up docs #1389 (johanbrandhorst)
- Fix various misspellings #1381 (bvwells)
- Remove usage of deprecated grpc.Errorf API #1380 (bvwells)
- Add missing documentation for openapiv2 proto definition #1375 (bvwells)
- deleted ISSUE_TEMPLATE.md file from _docs which was left by mistake #1368 (iamrajiv)
- added Pull Request Template for grpc-gateway #1366 (iamrajiv)
- Improve comments, fix indentation and add new line #1362 (amanjain97)
- Improve README.md #1361 (amanjain97)
- Fix typo in CONTRIBUTING.md #1360 (amanjain97)
- improved customizingyourgateway.md #1359 (iamrajiv)
- Update golang Docker tag to v1.14.3 (master) #1354 (renovate[bot])
- Globally ignore jekyll updates #1347 (johanbrandhorst)
- Further renovate tweaks #1345 (johanbrandhorst)
- Attempt to ignore golang/protobuf updates on master #1338 (johanbrandhorst)
- docs: add example customizing unmarshal options #1335 (srenatus)
- Renovate: run go mod tidy after updates #1323 (johanbrandhorst)
- Update google.golang.org/genproto commit hash to 09dca8e (master) #1321 (renovate[bot])
- fixed typo and grammar in docs/_docs/usage.md #1318 (iamrajiv)
- improved docs/_docs/season_of_docs.md #1317 (iamrajiv)
- Add bazel CI caching #1312 (johanbrandhorst)
- Update module antihax/optional to v1 (master) #1296 (renovate[bot])
- Update dependency com_github_bazelbuild_buildtools to v3 (master) #1295 (renovate[bot])
- Update module google.golang.org/grpc to v1.29.1 (master) #1294 (renovate[bot])
- Update golang Docker tag to v1.14.2 (master) #1292 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.22.4 (master) #1288 (renovate[bot])
- Update dependency com_github_bazelbuild_buildtools to v0.29.0 (master) #1287 (renovate[bot])
- Update dependency bazel_gazelle to v0.20.0 (master) #1286 (renovate[bot])
- Update google.golang.org/genproto commit hash to 43844f6 (master) #1285 (renovate[bot])
- Move renovate.json back to root #1284 (johanbrandhorst)
- Configure Renovate to run on master and v2 #1281 (johanbrandhorst)
- Update golang.org/x/oauth2 commit hash to bf48bf1 #1279 (renovate[bot])
- Add more instructions on the GitHub releases UI #1276 (achew22)
- Configure Renovate #1275 (renovate[bot])
v1.14.5
v1.14.5 (2020-05-07)
Fixed bugs:
- Regeneration commands don't regenerate all files #1229
Closed issues:
- bug in protoc-gen-swagger with put method and field_mask #1271
- How to change title and version in generated swagger json file #1269
- Error when using oneof name in response body selector #1264
- httpbody.proto has incorrect go_package #1263
- How to implement field validation for optional parameter #1256
- HTTP GET with query params error #1245
- how to get customezing header #1244
- proto function not define in yaml then grpc-gateway_out err #1233
- ll #1232
- Add WithUnmarshaler NewServeMux option. #1226
- Feature request: Reject call if there are parameters/fields that don't exist in the protobuf #1210
- Migrate away from using the protoc-gen-go/generator package #1209
- Swagger doc generation got stuck for infinite time if a message refers itself. #1167
- Remove "error" field from errors. #1098
Merged pull requests:
- Generate release notes for 1.14.5 #1270 (achew22)
- protoc-gen-swagger, Fix for infinite loop on circular references in query parameters #1266 (Romeren)
- Remove uses of protoc-gen-go/generator #1260 (johanbrandhorst)
- Use public key to authenticate for docker registry #1259 (johanbrandhorst)
- Add Chef and Scaleway to ADOPTERS.md #1255 (johanbrandhorst)
- Add user testimonials and ADOPTERS.md #1250 (johanbrandhorst)
- Remove duplicate regeneration documentation #1248 (johanbrandhorst)
- Change build env to git repo package #1246 (johanbrandhorst)
- Move section about google protobufs #1241 (thecodejunkie)
- Fix generating helloworld.proto #1230 (johanbrandhorst)
- Fix testproto generation, add to CI #1221 (johanbrandhorst)
- docs: fix some broken links and change godoc.org links to pkg.go.dev #1219 (AyushG3112)
- Add season of docs project ideas page #1214 (johanbrandhorst)
- remove deprecated usage of github.com/golang/protobuf/protoc-gen-go/generator #1213 (yinzara)
- fix query params for invoked in-process local request #1212 (hb-chen)
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