v2.0.0-beta.5
We've got some really cool new features in this release:
- New support for using YAML to annotate the generated swagger output. See the docs for more information. This was implemented by @jasonewang.
- New support for generating a gateway for completely unannotated proto files. See the docs for more information. The was implemented by @plaflamme.
v2.0.0-beta.5 (2020-09-24)
Closed issues:
- Sending NULL for int64/uint64 types calls gRPC server with zero-value #1681
- protoc-gen-swagger: allow
-output
dir #1679 - Empty json array is passed as nil #1673
- Lightweight support for custom protobuf annotations on RPCs #1666
- undefined: runtime.ServerTransportStream #1664
- Merge swagger definitions generated by swaggo/swag init and protoc --swagger_out command #1651
- Add base_path as constant in generated gateway files #1650
- Support service definitions without any annotations. #1649
- proto directory names preclude using protos in python code #1647
- Generated files contain calls to methods that don't exist #1643
- TestConvertDuration/invalid_duration failure #1630
runtime.WithForwardResponseOption\(\)
is not respected #1625- same field in params #1621
- Use grpc gateway to create rest API whose body is a list #1617
- grpc-gateway equivalent in the grpc python package #1613
- Migrate away from importing
github.com/golang/protobuf/{descriptor,proto}
in generated code (similar to #1260). #1608 - runtime.WithForwardResponseOption compile error #1607
- Apply FiedMask to the GET (and LIST) returns #1605
- code: 32603, message
types.Coin
is neither a v1 or v2 Message #1603 - protoc-gen-swagger map type filed doesn't support options.openapiv2_field #1601
- 🐛HttpRule is stated in unannotated_echo_service.yaml, but warning is still issued #1578
- CVE-2020-14001: Unintended read access in kramdown gem #1579
Merged pull requests:
- Update dependency com_github_bazelbuild_buildtools to v3.5.0 (v2) #1690 (renovate[bot])
- Update google.golang.org/genproto commit hash to 5646d36 (v2) #1688 (renovate[bot])
- Add devcontainer.json #1687 (johanbrandhorst)
- Update dependency io_bazel_rules_go to v0.24.3 (v2) #1686 (renovate[bot])
- Update dependency bazel_gazelle to v0.22.1 (v2) #1685 (renovate[bot])
- Support generating unbound methods #1684 (johanbrandhorst)
- Update google.golang.org/genproto commit hash to b9da36f (v2) #1682 (renovate[bot])
- Fix link in migration doc #1678 (johanbrandhorst)
- Update google.golang.org/genproto commit hash to d0d6055 (v2) #1677 (renovate[bot])
- Update google.golang.org/genproto commit hash to bb4cff5 (v2) #1674 (renovate[bot])
- Update google.golang.org/genproto commit hash to f6a2fa7 (v2) #1672 (renovate[bot])
- Update google.golang.org/genproto commit hash to 9f80d06 (v2) #1671 (renovate[bot])
- Update google.golang.org/genproto commit hash to 75d14da (v2) #1669 (renovate[bot])
- refactor: upgrade protoc-gen-grpc-gateway to use the new Go code generator #1668 (adambabik)
- End default swagger response desc with period - v2 #1667 (rubda)
- Add support for OpenAPI YAML annotations #1665 (jasonewang)
- Update google.golang.org/genproto commit hash to 645f7a4 (v2) #1662 (renovate[bot])
- Update google.golang.org/genproto commit hash to 8ad3c7e (v2) #1661 (renovate[bot])
- Update golang Docker tag to v1.15.2 (v2) #1658 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.24.2 (v2) #1656 (renovate[bot])
- Update module google.golang.org/grpc to v1.32.0 (v2) #1654 (renovate[bot])
- Update google.golang.org/genproto commit hash to 0bd0a95 (v2) #1648 (renovate[bot])
- Update dependency bazel_gazelle to v0.22.0 (v2) #1622 (renovate[bot])
- Update golang.org/x/oauth2 #1645 (johanbrandhorst)
- Update google.golang.org/genproto commit hash to 9bfcb51 (v2) #1642 (renovate[bot])
- fix SendHeader/SetTrailer when use grpc-gateway standalone server (v2) #1638 (ghostiam)
- Change example field #1636 (johanbrandhorst)
- Update golang Docker tag to v1.15.1 (v2) #1635 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.24.1 (v2) #1633 (renovate[bot])
- Update google.golang.org/genproto commit hash to b3bf27a (v2) #1632 (renovate[bot])
- Update google.golang.org/genproto commit hash to d751682 (v2) #1629 (renovate[bot])
- Update google.golang.org/genproto commit hash to 2bf3329 (v2) #1626 (renovate[bot])
- Update google.golang.org/genproto commit hash to 73b5761 (v2) #1624 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.24.0 (v2) #1623 (renovate[bot])
- Update google.golang.org/genproto commit hash to ac2560b (v2) #1620 (renovate[bot])
- Update dependency bazel_skylib to v1.0.3 (v2) #1619 (renovate[bot])
- Update google.golang.org/genproto commit hash to 8632dd7 (v2) #1616 (renovate[bot])
- Update module google.golang.org/grpc to v1.31.1 (v2) #1615 (renovate[bot])
- Update module google/go-cmp to v0.5.2 (v2) #1611 (renovate[bot])
- Cherry-pick #1606 against v2 #1609 (yousseftelda)
- protoc-gen-openapiv2: fix map field options (#1601) #1604 (yangxikun)
- Update google.golang.org/genproto commit hash to f69a880 (v2) #1600 (renovate[bot])
- Update google.golang.org/genproto commit hash to 8c09557 (v2) #1599 (renovate[bot])
- protoc-gen-openapi: remove boolean format #1598 (algas)
- Update google.golang.org/genproto commit hash to 1ccf2a5 (v2) #1596 (renovate[bot])
- Build FieldMasks for proto Structs and Values #1595 (talanknight)
- Update google.golang.org/genproto commit hash to 2e714ab (v2) #1593 (renovate[bot])
- Update dependency io_bazel_rules_go to v0.23.8 (v2) #1591 (renovate[bot])
- chore(deps): update golang docker tag (v2) #1586 (renovate[bot])
- Update gems v2 #1582 (johanbrandhorst)