Releases: grpc-ecosystem/grpc-gateway
Releases · grpc-ecosystem/grpc-gateway
v2.16.1
What's Changed
- Rename LICENSE.txt to LICENSE by @pgmitche in #3345
- feat: message supports enum field option for query params by @zhb127 in #3352
- remove glog from a bunch of spots by @kn100 in #3361
- Improve AIP support in field_configuration.path_param_name containing by @same-id in #3364
- Hide comments on omitted enum default values by @same-id in #3366
- fix(docs): correcting mux routing error code example by @tjasko in #3409
- Fix the place where format property in placed for repeated fields by @far4599 in #3410
- Handle httpbody not having data to return by @achew22 in #3415
- bazel: bump Bazel repositories versions by @adambabik in #3413
New Contributors
- @pgmitche made their first contribution in #3345
- @zhb127 made their first contribution in #3352
- @kn100 made their first contribution in #3361
- @tjasko made their first contribution in #3409
- @far4599 made their first contribution in #3410
Full Changelog: v2.16.0...v2.16.1
v2.16.0
What's Changed
- Upgrade some deps by @johanbrandhorst in #3214
- add note about incompatibility of remote plugins and external configu… by @DGuhr in #3220
- Fix tests by @johanbrandhorst in #3234
- use_allof_for_refs: extend to example field by @igor-tsiglyar in #3240
- New
ignore_comments
option for excluding proto comments from OpenAPI output by @keyz in #3252 - Only allow POST -> GET path length fallback by @nacx in #3272
- Remove GHA workflow that pushes to BSR by @unmultimedio in #3279
- fix: enum should be int when enums_as_int = true by @hnlq715 in #3167
- doc: Add OpenTelemetry go tracing example by @iamrajiv in #3309
- Switch from aliased field_mask package to canonical package by @liggitt in #3317
- Replace deprecated command with environment file by @jongwooo in #3319
- changed block from code to paragraph by @shashaneRanasinghe in #3330
- feat(#3238):Support map in query parameters by @li31727 in #3323
- A few fixes for streaming responses by @johanbrandhorst in #3335
New Contributors
- @DGuhr made their first contribution in #3220
- @xieyuschen made their first contribution in #3231
- @igor-tsiglyar made their first contribution in #3240
- @KiK0S made their first contribution in #3247
- @keyz made their first contribution in #3252
- @nacx made their first contribution in #3272
- @unmultimedio made their first contribution in #3279
- @hnlq715 made their first contribution in #3167
- @liggitt made their first contribution in #3317
- @jongwooo made their first contribution in #3319
- @shashaneRanasinghe made their first contribution in #3330
Full Changelog: v2.15.2...v2.15.3
v2.15.2
What's Changed
- Switch the use of glog to grpclog. by @jmuk in #3205
- fix: remove
push_bsr_plugins
Github Action job by @gunturaf in #3203 - Add correct comment, remove redundant vars and error, use short form by @sashamelentyev in #3206
New Contributors
Full Changelog: v2.15.1...v2.15.2
v2.15.1
What's Changed
- Clean up use_allof_for_refs flag option by @warrenb95 in #3092
- fix(#3049):add items type for array by @li31727 in #3090
- fix: JSON examples in YAML output [#3095] by @hedhyw in #3106
- feat(3102):update DefaultHeaderMatcher function comment docs by @li31727 in #3114
- Rename root BUILD to BUILD.bazel for consistency by @rsepassi in #3117
- Add
format
in path params by @antgamdia in #3089 - Change verb by @sashamelentyev in #3129
- Remove redundant err and use %w verb for err by @sashamelentyev in #3130
- Use ifshort stmt for err by @sashamelentyev in #3131
- Cleanup by @sashamelentyev in #3137
- Change '%v' with %q verb and small cleanup by @sashamelentyev in #3139
- fix: Partial resource update, no longer generate updateMask field by @csh995426531 in #3093
- Add go1.20 to ci matrix by @sashamelentyev in #3176
- Update README.md by @paulburlumi in #3184
- gateway: Dial -> DialContext by @torkelrogstad in #3190
- Buf version bump by @torkelrogstad in #3189
- Fix bug with non-ASCII HTTP headers by @steinarvk-oda in #3197
New Contributors
- @warrenb95 made their first contribution in #3092
- @li31727 made their first contribution in #3090
- @rsepassi made their first contribution in #3117
- @antgamdia made their first contribution in #3089
- @csh995426531 made their first contribution in #3093
- @paulburlumi made their first contribution in #3184
- @steinarvk-oda made their first contribution in #3197
Full Changelog: v2.15.0...v2.15.1
v2.15.0
What's Changed
- utilities: Add preallocate for encoded by @sashamelentyev in #3024
- chore(logspam): allow_repeated_fields_in_body is deprecated by @alexeagle in #3040
- Various fixes by @johanbrandhorst in #3083
- fix(docs): add protoc-gen-openapiv2 to tutorial by @Fahmadi in #3075
- fix: add check for repeated google.protobuf.Any type by @veith in #3080
- Fix field order in yaml generated OAS file by @same-id in #3084
- fix: include json name to query param filter by @ljmsc in #3072
- Make read_only work with references using AllOf by @same-id in #3082
New Contributors
- @alexeagle made their first contribution in #3040
- @Fahmadi made their first contribution in #3075
- @ljmsc made their first contribution in #3072
Full Changelog: v2.14.0...v2.15.0
v2.14.0
New features
This release contains two significant new OpenAPIv2 generator features, contributed by @krak3n:
- A new option to disable rendering of 200 OK responses. This is useful if you define custom responses for your endpoints and you modify the return code a forward response writer. Note that this does not change the behavior of the gateway itself.
- A new annotation for defining header parameters. This lets to define header parameters you want to be rendered in the swagger.json output in addition to those defined in your API messages. Note that this does not change the behavior of the gateway itself and must be coupled with custom header parsing in your application.
What's Changed
- release: Update release.yml with option to workaround SLSA generator failure by @asraa in #2987
- release: add a workflow_dispatch trigger for testing by @asraa in #2989
- Use io/os instread of ioutil and use suitable verb by @sashamelentyev in #2991
- runtime pkg cleanup by @sashamelentyev in #2993
- mux: fix path components mutation by @jonathaningram in #3001
- fix: set consumes definition per operation by @stomy13 in #2995
- protoc gen oas v2 cleanup by @sashamelentyev in #2996
- Use ReplaceAll instead of Replace with -1 pos by @sashamelentyev in #3003
- Errors cleanup by @sashamelentyev in #3004
- Cleanup by @sashamelentyev in #3012
- Support disabling default response rendering by @krak3n in #3006
- Support request header parameters by @krak3n in #3010
New Contributors
- @asraa made their first contribution in #2987
- @sashamelentyev made their first contribution in #2991
- @stomy13 made their first contribution in #2995
- @krak3n made their first contribution in #3006
Full Changelog: v2.13.0...v2.14.0
v2.13.0
What's Changed
- Updated gRPC code Cancelled replaced with HTTP code 499 by @tech-sumit in #2957
- fix: remove default service tag generation for methods by @kkolur in #2960
- Use tag instead of has pin for SLSA generator by @laurentsimon in #2969
- Add Conduit to adopters by @hariso in #2981
- feat(gen-openapiv2): support trailing comments by @ionling in #2965
- feat(gen-openapiv2): keep fields next to "$ref" fields by @gostajonasson in #2986
New Contributors
- @tech-sumit made their first contribution in #2957
- @hariso made their first contribution in #2981
- @ionling made their first contribution in #2965
Full Changelog: v2.12.0...v2.13.0
v2.12.0
What's Changed
- fix: support for oneof fields in request bodies by @isbang in #2867
- mux: calculate verb correctly for cases like DELETE /foo/bar:archive when user provided wrong method by @jonathaningram in #2870
- Update googleapis dependency by @johanbrandhorst in #2875
- protoc-gen-openapiv2: RPC visibility setting transitively applied to messages by @erademacher in #2880
- protoc-gen-openapiv2: Use json_name when generating required field names by @patrick246 in #2885
- fix: support service tags in OpenAPI config file (#2817) by @y-takuya in #2858
- feat: add option to disable rendering of service tags by @kkolur in #2928
- fix: required properties of message type are required in OpenAPI by @gostajonasson in #2904
- feat: add option to add description to tags by @same-id in #2939
- add extensions for Tag object by @kkolur in #2950
- Make registry load packages deterministically by @gonzaloserrano in #2945
New Contributors
- @erademacher made their first contribution in #2880
- @patrick246 made their first contribution in #2885
- @y-takuya made their first contribution in #2858
- @kkolur made their first contribution in #2928
- @gostajonasson made their first contribution in #2904
- @same-id made their first contribution in #2939
- @gonzaloserrano made their first contribution in #2945
Full Changelog: v2.11.3...v2.12.0
v2.11.3
This release adds signed release binaries with SLSA signatures. Please see the README for more information.
What's Changed
- fix: unnecessary -e arg for echo command in dockerfile by @MakDon in #2840
- Fix identifiers generated from snake-cased enums not matching pb.go definitions by @jbaxx in #2826
- switch ci build env version to 1.19 by @MakDon in #2845
- Signed release binaries with SLSA signatures by @laurentsimon in #2847
- protoc-gen-openapiv2 generating the wrong schema fixing the issue #2635 by @lakshkeswani in #2854
New Contributors
- @jbaxx made their first contribution in #2826
- @laurentsimon made their first contribution in #2847
Full Changelog: v2.11.2...v2.11.3
v2.11.2
This fixes an issue with the openapiv2 generator if there is a colon in the verb, and updates the minimum supported Go version to Go 1.17.
What's Changed
- Fix openapiv2 path parameter parsing when colon in verb by @johanbrandhorst in #2825
- Update minimum supported Go version to 1.17 by @renovate in #2831
Full Changelog: v2.11.1...v2.11.2