What's Changed
- Update minimum Go version from 1.25.0 to 1.26.0 by @johanbrandhorst in https://github.com/grpc-ecosystem/grpc-gateway/pull/7269
- fix(openapiv2): omit oneof siblings of path parameters from query parameters by @hsdfat in https://github.com/grpc-ecosystem/grpc-gateway/pull/7207
- fix: import response type package when response_body is set by @MicBun in https://github.com/grpc-ecosystem/grpc-gateway/pull/7225
- openapiv3: add extension (x-*) support by @Abmun in https://github.com/grpc-ecosystem/grpc-gateway/pull/7237
- docs: add a security considerations page by @cleitonaugusto in https://github.com/grpc-ecosystem/grpc-gateway/pull/7282
- fix(openapiv2): emit map key type in query parameter names by @iamrajiv in https://github.com/grpc-ecosystem/grpc-gateway/pull/7307
- Fix template_test format strings by @skitt in https://github.com/grpc-ecosystem/grpc-gateway/pull/7323
- Add edition 2026 support by @printfn in https://github.com/grpc-ecosystem/grpc-gateway/pull/7352
- fix(openapiv2): emit a primitive type for well-known object query parameters by @iamrajiv in https://github.com/grpc-ecosystem/grpc-gateway/pull/7351
- reject out-of-range numeric enum query values in parseField by @itecz26 in https://github.com/grpc-ecosystem/grpc-gateway/pull/7369
- feat(protoc-gen-openapiv3): support response_body binding by @tobiaskohlbau in https://github.com/grpc-ecosystem/grpc-gateway/pull/7371
- clamp overflowing grpc-timeout to max duration by @itecz26 in https://github.com/grpc-ecosystem/grpc-gateway/pull/7382
- validate forwarded header values before adding to grpc metadata by @itecz26 in https://github.com/grpc-ecosystem/grpc-gateway/pull/7390
- reject out-of-range enum numbers in jsonpb non-proto decoder by @itecz26 in https://github.com/grpc-ecosystem/grpc-gateway/pull/7397
- fix(openapiv2): emit minItems and maxItems on query parameters by @wofiporia in https://github.com/grpc-ecosystem/grpc-gateway/pull/7389
- reject grpc-metadata headers mapping into reserved grpcgateway- namespace by @itecz26 in https://github.com/grpc-ecosystem/grpc-gateway/pull/7401
- parse integer and enum path params as base 10 in convert.go by @itecz26 in https://github.com/grpc-ecosystem/grpc-gateway/pull/7405
- protoc-gen-openapiv2: allow proto files without a go_package option by @cipherprofessor in https://github.com/grpc-ecosystem/grpc-gateway/pull/7409
- runtime: deep wildcard (**) must not match zero segments after a preceding literal by @cipherprofessor in https://github.com/grpc-ecosystem/grpc-gateway/pull/7412
New Contributors
- @MicBun made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7225
- @Abmun made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7237
- @cleitonaugusto made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7282
- @skitt made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7323
- @itecz26 made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7369
- @tobiaskohlbau made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7371
- @wofiporia made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7389
- @cipherprofessor made their first contribution in https://github.com/grpc-ecosystem/grpc-gateway/pull/7409
Full Changelog: https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.30.0...v2.31.0