Releases: grpc-ecosystem/grpc-gateway
Releases · grpc-ecosystem/grpc-gateway
v2.25.1
Support the new Opaque API in openapiv2 generated files
This release contains breaking changes from v2.25.0, in that the previously deprecated EnumDescriptor
and Descriptor
methods on the struct types in the openapiv2 options package have been removed. This seems to be a requirement to generate the new Hybrid API. Please open an issue if you were depending on these functions and we'll see what we can do about it.
What's Changed
- protoc-gen-openapiv2: generate hybrid files by @johanbrandhorst in #5088
Full Changelog: v2.25.0...v2.25.1
v2.25.0
What's Changed
- Extend google.protobuf.EnumOptions for Schema by @hown3d in #4931
- fix(deps): Relax the minimum required go version by @nhhagen in #5022
- Correctly expand path variables for Update Methods. by @nullaus in #5041
- Use org_golang_x_tools as module extension by @mering in #5043
- fix: update to protobuf 1.36.0 and exclude synthetic oneofs during populateFieldValueFromPath by @aerialls in #5072
New Contributors
- @hown3d made their first contribution in #4931
- @nhhagen made their first contribution in #5022
- @nullaus made their first contribution in #5041
- @mering made their first contribution in #5043
- @aerialls made their first contribution in #5072
Full Changelog: v2.24.0...v2.25.0
v2.24.0
What's Changed
- feat: skip calling http Write method when response is of empty type by @reversearrow in #4902
- docs: update
customizing_your_gateway.md
reference by @emmanuel-ferdman in #4940 - Optional specification of stream content type by @huin in #4926
- Add bzlmod support by @AlejoAsd in #4937
- chore: reduce number of empty lines in generated code by @mmorel-35 in #4965
- Fix Bazel module dependencies by @AlejoAsd in #4974
- chore: use standard httpMethod in generated code by @mmorel-35 in #4970
- chore: use errors.Is to compare errors in generated code by @mmorel-35 in #4971
- Fix marshaler interface function name in examples in docs by @o-nix in #4978
- Errors on valid timestamps by @jakec-github in #4973
- Fix Bazel
buildtools
dependency by @AlejoAsd in #4980
New Contributors
- @reversearrow made their first contribution in #4902
- @emmanuel-ferdman made their first contribution in #4940
- @huin made their first contribution in #4926
- @AlejoAsd made their first contribution in #4937
- @mmorel-35 made their first contribution in #4965
- @o-nix made their first contribution in #4978
- @jakec-github made their first contribution in #4973
Full Changelog: v2.23.0...v2.24.0
v2.23.0
What's Changed
- Remove extra $ to avoid copy-and-run failure. by @pkusunjy in #4639
- Fix doc for responseEnvelope example by @renatocribeiro in #4750
- Fix typos by @NathanBaulch in #4762
- Upgrade buf grpc protobuf by @johanbrandhorst in #4818
- Updates buf example from v1 to v2. by @iFurySt in #4347
- Fixed required body parameter when part of the proto message is path param by @MahikaJaguste in #4850
- feat: expose invalid argument error to clients in bidirectional streaming (#4795) by @ianbbqzy in #4819
- feat: add expand_slashed_path_patterns flag by @czabaj in #4813
- feat: use StreamErrorHandler to send back invalid argument error in bidirectional streaming by @ianbbqzy in #4864
- fix: path parametrs of type number by @czabaj in #4866
New Contributors
- @pkusunjy made their first contribution in #4639
- @renatocribeiro made their first contribution in #4750
- @NathanBaulch made their first contribution in #4762
- @iFurySt made their first contribution in #4347
- @MahikaJaguste made their first contribution in #4850
- @ianbbqzy made their first contribution in #4819
- @czabaj made their first contribution in #4813
Full Changelog: v2.22.0...v2.23.0
v2.22.0
What's Changed
- docs: add example to fully override http responses by @nguyentranbao-ct in #4564
- stop printing error logs in handleForwardResponseOptions by @taichimaeda in #4594
- Add some documenation for CustomQueryParser with examples by @texzone in #4602
- Fix #4614 Unique Items placement by @sebaraj in #4619
- all: fix test lint warnings by @johanbrandhorst in #4632
- ci: update go versions supported by @johanbrandhorst in #4634
- feat: Add WithForwardResponseRewriter to allow easier/more useful response control by @nkcmr in #4622
New Contributors
- @nguyentranbao-ct made their first contribution in #4564
- @taichimaeda made their first contribution in #4594
- @texzone made their first contribution in #4602
- @sebaraj made their first contribution in #4619
- @nkcmr made their first contribution in #4622
Full Changelog: v2.21.0...v2.22.0
v2.21.0
What's Changed
- feat: Use version info from runtime/debug:BuildInfo when installed by go build by @MakDon in #4359
- feat: add mux middlewares and inject http pattern by @nikitaksv in #4290
- Fixes #3917: Add package openapi naming strategy. by @jgiles in #4372
- feat: use buildInfo.Main.Version as version when installed by go install by @MakDon in #4390
- Add support for method's deprecated option by @vajexal in #4373
- adding gRPC gateway generator script by @akoserwal in #4426
- fix url gen-grpc-gateway-api by @akoserwal in #4434
- ci: upgrade to goreleaser v2 by @johanbrandhorst in #4437
- docs: add grpc-starter transcoding to related projects by @DanielLiu1123 in #4456
- Fix build on 32bit systems by @gibmat in #4557
New Contributors
- @nikitaksv made their first contribution in #4290
- @vajexal made their first contribution in #4373
- @akoserwal made their first contribution in #4426
- @DanielLiu1123 made their first contribution in #4456
- @gibmat made their first contribution in #4557
Full Changelog: v2.20.0...v2.21.0
v2.20.0
What's Changed
- api_visibility option now transitively hides request/response messages by @Place1 in #3966
- Marshal non proto fields with indents by @gknw in #4027
- chore: fix some comments by @avoidalone in #4092
- chore(examples): add one example to log request body when the status code is non 200 by @richzw in #4108
- feat(bazel): surface --disable_default_responses in rule def by @rajukrishnamurthy in #4126
- integration: fix wrapping of response writer causing endless test loop by @johanbrandhorst in #4131
- Omit enum field when value is empty by @jeromefroe in #4180
- docs/mapping/examples.md: update CoreOS example GitHub branch to
master
branch by @mohamedawnallah in #4198 - chore: remove repetitive word by @mountcount in #4183
- Fix Typo in examples.md by @umakantv in #4212
- Write Content-Length header if doForwardTrailers is not set by @joshgarnett in #4259
- Fixing TestOutgoingTrailerMatcher, which was non-deterministic by @joshgarnett in #4265
- Update README.md by @MakDon in #4322
- fix(4245): setting appropriate log level for error logs by @rajeshkarnena in #4327
- fix: handle
X-Forwarded-*
headers correctly by @haines in #4334
New Contributors
- @Place1 made their first contribution in #3966
- @avoidalone made their first contribution in #4092
- @richzw made their first contribution in #4108
- @rajukrishnamurthy made their first contribution in #4126
- @jeromefroe made their first contribution in #4180
- @mohamedawnallah made their first contribution in #4198
- @mountcount made their first contribution in #4183
- @umakantv made their first contribution in #4212
- @joshgarnett made their first contribution in #4259
- @rajeshkarnena made their first contribution in #4327
Full Changelog: v2.19.1...v2.20.0
v2.19.1
What's Changed
- (fix) remove internal comments from generated protoComments by @kiambogo in #3864
- fix(protoc-gen-openapiv2): exclude from query params oneof fields in the same group as the one used in the body by @ovargas in #3862
- If no subfields are set in a map, add the field to fieldMask by @sbansal7 in #3879
- Parse request body when using X-HTTP-Method-Override header by @eyasy1217 in #3918
- fix path param override by query params by @ljmsc in #3946
New Contributors
- @kiambogo made their first contribution in #3864
- @ovargas made their first contribution in #3862
- @sbansal7 made their first contribution in #3879
- @eyasy1217 made their first contribution in #3918
Full Changelog: v2.19.0...v2.19.1
v2.19.0
What's Changed
- fix: use req.Body instead of IOReaderFactory when possible by @leungster in #3727
- runtime: Add outgoing trailer matching by @adriansmares in #3725
- Add openapiv2_opt support for passing values to go templates via cli by @500poundbear in #3764
- [Bug #3829] [protoc-gen-openapiv2] consider openapiv2_tag.name attribute when generating ope… by @omrikiei in #3830
- feat: partial message created as named definitions by @nkcr in #3743
- Fix name tags in methods by @omrikiei in #3843
- Revert 4c79b45 by @johanbrandhorst in #3856
New Contributors
- @leungster made their first contribution in #3727
- @adriansmares made their first contribution in #3725
- @500poundbear made their first contribution in #3764
- @omrikiei made their first contribution in #3830
- @nkcr made their first contribution in #3743
Full Changelog: v2.18.1...v2.19.0
v2.18.1
What's Changed
- Sort tags by explicit Swagger annotation first by @same-id in #3587
- Use go templates on tag descriptions too by @same-id in #3595
- LICENSE.txt got 404 replace to LICENSE by @yuta-hidaka in #3627
- Fix docs build by pinning remote_theme value by @adambabik in #3664
- Upgrade to 1.19 at least by @johanbrandhorst in #3668
- Remove glog dependency by @ash2k in #3652
New Contributors
- @yuta-hidaka made their first contribution in #3627
- @ash2k made their first contribution in #3652
Full Changelog: v2.18.0...v2.18.1