Releases: spring-cloud/spring-cloud-gateway
4.2.0-RC1
⭐ New Features
- Use new Spring Boot http client autoconfiguration framework #3571
- Remove concatMap in lookupRoute to improve throughput #3291
🐞 Bug Fixes
- ProductionConfigurationTests tests failing with framework 6.2.0-RC2 #3562
❤️ Contributors
Thank you to all the contributors who worked on this release:
@dependabot[bot] and @dukbong
4.2.0-M2
⭐ New Features
- Fixes gh-308: ability to turn off a route without removing #3026
- add QPS, Latency etc metrics to grafana template #3014
- Add a method to nest boolean predicates #2598
- [gh-2288] Fix for redis rate limiter not working with multiple routes #2517
📔 Documentation
- Add a note about retry filter behavior in documentation #3534
- add alarm template for spring cloud gateway #3019
❤️ Contributors
Thank you to all the contributors who worked on this release:
@dependabot[bot], @jmilktea, @maoling, @muchnik, @puffnfresh, @qnnn, @sullis, and @usrivastava92
4.2.0-M1
⭐ New Features
- change refresh endpoint to return 202 ACCEPTED #2964
❤️ Contributors
Thank you to all the contributors who worked on this release:
4.1.5
4.1.4
4.1.3
🐞 Bug Fixes
- Remove Origin header when forwarding #3357
- Class 'org.springframework.cloud.gateway.route.builder.RouteDslKt' is compiled by a pre-release version of Kotlin and cannot be loaded by this version of the compiler #3333
📔 Documentation
- add note to discover location documentation about spring cloud load balancer #3348
- server-mvc properties are not included in documentation #3337
❤️ Contributors
Thank you to all the contributors who worked on this release:
@spikymonkey and @wind57
4.1.2
⭐ New Features
- Add properties to disable filters if needed #3310
- Make WeightCalculatorWebFilter random supplier aware of ServerWebExchange #3298
- Spring cloud gateway MVC : add parameters to disable adding Forwarded header #3238
- Make STRATEGY_KEY public in DedupeResonseHeader filter #3203
- Gateway Server MVC support for AOT #3171
- Update dashboard to Grafana 9.x #3136
- Allow forcing order of filters through Java DSL configuration. #3134
- Add a new method that returns a Mono. #2993
- Add option to disable
RouteRefreshListener
#2958 - Fixes gh-2933 GatewayFilter support
@Order
annotation #2934 - Add
@Order
support for GlobalFilter #2805 - [#2720]Improve ReactiveLoadBalancerClientFilter implementation so tha… #2721
🐞 Bug Fixes
- Fix incorrect package identifier in IsoOffsetDateTimeConverter (#3273) #3288
- Using RouterFunctions.route() results in exception #3265
- Gateway MVC: Predicates with multiple values via configuration not working (path, host, etc...) #3252
- Spring gateway MVC - Property : spring.cloud.gateway.x-forwarded.enabled not implemented #3237
- Fix publishEvent RefreshRoutesResultEvent before cache.put #3224
- Declare Bean for the new public KeyValueConverter #3207
- Gateway MVC conflict with spring-boot-devtools #3199
- Allow forward scheme for spring cloud gateway mvc similar to its webflux counterpart for declarative configuration using application properties or yaml #3188
- Changed the constant name representing the default Time-to-Live (TTL)… #3186
- In spring cloud gateway mvc, an exception occurs when the request address contains spaces #3185
- The LocalResponseCacheGatewayFilterFactory is creating a new CacheManager for each Filter #3025
- To fix GH-2304 SaveSessionGatewayFilterFactory didn't work correctly #2997
- Fix Bug : RemoveCachedBodyFilter does not release direct memory correctly resulting in a memory leak #2969 #2971
- Gateway Routes URI of localhost:port without
http://
returns empty body with 200 status code #2919 AddRequestParameterGatewayFilterFactory
Invalid URI query, can not deal with encoded path segment #2726- Listed connection headers not removed #2653
- Fix for ModifyResponseBodyGatewayFilter not setting up response content-type #2649
- remove-hop-by-hop header case sensitivity #2645
- Delete the weight-configured route (-Weight), GroupWeightConfig will not delete, causing the route conflict with the same weightGroup, causing 404 error #922
📔 Documentation
- Update to spring-doc-actions v0.0.15 #3306
- Missing redis-route-definition-repository property metadata #3299
- Document that paths in route uri's are ignored #3292
- Document how to register custom predicates and filters for use in Server MVC configuration #3268
- Gateway-Mvc FormFilter erase all parameters causing retrive parameter return null in later filter or servlet #3244
- Fix documentation sample imports and missing .build() call #3223
- Update gateway-request-predicates.adoc #3208
- Add missing colon #3187
- Fix typo in document #3146
- Fix contribution link in README.adoc and add a link to repository map #3057
- Updates documentation to correct RewriteLocationResponseHeaderGatewayFilterFactory parameters and default value #2754
- Corrected the expression and provided a YAML example #2733
❤️ Contributors
Thank you to all the contributors who worked on this release:
@JesseEstum, @JoeCqupt, @LoggingResearch, @Milkdove, @NilsEngelbach, @Robinson28years, @alexkarezin, @caixunshi, @dadicarlo, @dependabot[bot], @dogglezz, @dsyer, @f-ranieri, @gonmmarques, @ice2shell, @imzhoukunqiang, @jeremy-l-ford, @jongwooo, @liubao68, @manzhizhen, @martamedio, @muchnik, @rwinch, @shivakrishnaah, @tom916, @tony-clarke-amdocs, @trajano, @tungj, @wangYX657211334, and @xjs1919
4.0.9
⭐ New Features
- (4.0.x) Enhance "/actuator/gateway" endpoint #3163
- (4.0.x) Enhance "/actuator/gateway" endpoint #3147
- Add links to child paths for /actuator/gateway endpoint #3128
- Support query parameters in RedirectTo filter #3126
🐞 Bug Fixes
- fixes(gh-3048): Support nullable flag value in ShortcutConfigurable.S… #3049
- Host routing pattern not match when host contains port #3036 #3037
❤️ Contributors
Thank you to all the contributors who worked on this release:
@abelsromero, @ashraf-revo, @fombico, @martamedio, and @muchnik
4.1.1
🐞 Bug Fixes
- Prior to 4.1.0 host predicate match needed port number, now if port is present the match does not match, lost config compatibility. #3190
- Gateway MVC: Path seems not passing through the request body #3183
- Gateway MVC: RewritePath seems not respecting the route URI #3178
- MVC TokenRelay filter fails using config #3176
- Gateway MVC: Retry filter not supported with YAML configuration #3172
- mvc gateway rewritePath filter overwrites GATEWAY_REQUEST_URL_ATTR attribute #3055
📔 Documentation
4.1.0
⭐ New Features
- Deprecate KeyValue configuration from Filter and extract it into a config package #3107
📔 Documentation
- Document how to write filters with Spring Cloud Gateway MVC #3143
- Proposal to clarify in the docs that request size filter acts on Content-Length header #3085
- Fix typo in docs #3061
❤️ Contributors
Thank you to all the contributors who worked on this release:
@AlexejTimonin, @JesseEstum, @VahidRamezaniDB, @abelsromero, @dependabot[bot], and @martamedio