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
https://
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