136 Commits

Author SHA1 Message Date
spring-builds
48c6021806 Bumping versions 2025-06-16 07:54:32 +00:00
Ryan Baxter
79521676b7 Merge pull request #3751 from jaimesf/support-client-registration-id-token-relay
Support token relay clientRegistrationId on properties
2025-06-03 12:05:24 -04:00
spring-builds
b6623a908d Bumping versions 2025-05-31 18:55:07 +00:00
spring-builds
2abae2bc36 Going back to snapshots 2025-05-29 16:10:51 +00:00
spring-builds
7181ef1448 Update SNAPSHOT to 4.3.0 2025-05-29 16:07:27 +00:00
Ryan Baxter
f649e995fb Merge branch 'main' into pr/3751 2025-05-29 11:36:27 -04:00
spring-builds
be0a9071b5 Going back to snapshots 2025-05-29 01:50:28 +00:00
spring-builds
31f72a779b Update SNAPSHOT to 4.3.0 2025-05-29 01:46:43 +00:00
spencergibb
c4670abc41 Updates for new properties namespaces and polish.
Fixes some merge errors.

Formatting
2025-05-28 18:48:19 -04:00
spencergibb
adede1ecf5 Merge branch '4.2.x' 2025-05-28 18:25:22 -04:00
spencergibb
b60f8db2c7 Escapes curly-braces 2025-05-28 17:31:08 -04:00
spencergibb
98fe0acc3a Adds trusted-proxies config 2025-05-28 17:23:14 -04:00
spencergibb
929293cc28 Merge branch '4.1.x' into 4.2.x 2025-05-28 17:16:32 -04:00
spring-builds
e963342e4c Going back to snapshots 2025-05-28 21:07:05 +00:00
spring-builds
79a413ada8 Update SNAPSHOT to 4.1.8 2025-05-28 21:04:17 +00:00
sgibb
33ea007a6b Adds support for trusted-proxies property.
spring.cloud.gateway.trusted-proxies and spring.cloud.gateway.mvc.trusted-proxies
2025-05-28 16:15:29 -04:00
Oleg Zhurakousky
86b4529ab6 Add documentation for routing to functions (#3767)
* Add documentation for routing to functions

This one specifically refers to using Spring Cloud Function framework

Signed-off-by: Oleg Zhurakousky <ozhurakousky@vmware.com>

* Update java-routes-api.adoc

Signed-off-by: Spencer Gibb <sgibb@pivotal.io>

---------

Signed-off-by: Oleg Zhurakousky <ozhurakousky@vmware.com>
Signed-off-by: Spencer Gibb <sgibb@pivotal.io>
Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2025-05-27 12:24:25 -04:00
Ryan Baxter
19c78ca011 Merge branch 'main' into pr/3751 2025-05-23 11:20:52 -04:00
Ryan Baxter
bde4e3288e Merge branch '4.2.x' 2025-05-23 09:05:14 -04:00
Ryan Baxter
34f38eaf23 Merge branch '4.1.x' into 4.2.x 2025-05-23 09:05:01 -04:00
jiangyuan
989dd6233a update docs
Signed-off-by: jiangyuan <joe469391363@gmail.com>
2025-05-23 14:11:58 +08:00
Ryan Baxter
c9df3036fd Merge branch 'main' into pr/3761 2025-05-22 17:14:49 -04:00
spencergibb
6690c79a2d Migrate server-webmvc properties to new namespace
See gh-3647
2025-05-22 16:22:29 -04:00
Stepan Mikhailiuk
cf8c1eb66a Merge branch 'spring-cloud:main' into setrequesturi 2025-05-22 12:27:12 +08:00
Jaime Sanchez
3bc2267f32 Support token relay clientRegistrationId on properties
Signed-off-by: Jaime Sánchez <jaimesf@gmail.com>
2025-05-15 10:39:25 +02:00
spring-builds
b83915cff2 Bumping versions 2025-05-11 18:54:33 +00:00
Spencer Gibb
eca63cba65 Migrates server-webflux properties to new namespace (#3793)
Currently, prefix is spring.cloud.gateway and this is ambiguous now that server-webmvc exists.

spring.cloud.gateway.server.webflux is the new prefix

Fixes gh-3363
2025-05-09 15:40:33 -04:00
spring-builds
789b661c0b Bumping versions 2025-05-06 18:53:21 +00:00
Ryan Baxter
fe27edfbbb Escape brackets in docs
Signed-off-by: Ryan Baxter <ryan.baxter@broadcom.com>
2025-04-24 10:15:26 -04:00
Ryan Baxter
c4d66a9fd2 Merge branch '4.2.x' 2025-04-22 11:47:17 -04:00
郭付一男
bd8c3cc736 docs: explain spring.webflux.base-path influence on Path Route Predicate
Signed-off-by: 郭付一男 <guofuyinan@gmail.com>
2025-04-22 22:34:49 +08:00
Ryan Baxter
00a6001af8 Merge pull request #3731 from BEF841CA/patch-1
Fix punctuation error in secureheaders-factory.adoc
2025-04-22 10:12:24 -04:00
Spencer Gibb
ac5e8f7cec Allow bean registration of server-webmcv components (#3763)
* Allow bean registration of server-webmcv components

This replaces the spring.factories mechanism.

* Adds support for loading FilterSuppliers via beans

* Adds support for loading PredicateSuppliers via beans

* Use beanFactory conversionService

Fixes gh-3250
2025-04-21 15:28:18 -04:00
Stepan Mikhailiuk
c6ed845557 feat(gateway-filter): add SetRequestUri gateway filter
Signed-off-by: Stepan Mikhailiuk <istepancar@gmail.com>
2025-04-13 22:11:33 +08:00
spring-builds
b883487f72 Bumping versions 2025-04-08 18:55:11 +00:00
Jörg Richter
7bc8f7225f Merge branch 'spring-cloud:main' into #2975-Suggestion-Add-Permissions-Policy-as-configurable-option-to-SecureHeaders-GatewayFilter 2025-04-07 22:22:36 +02:00
Jörg Richter
85ab7d9019 #2975-Suggestion-Add-Permissions-Policy-as-configurable-option-to-SecureHeaders-GatewayFilter
- added Permissions-Policy header as an opt-in header & default value
- updated documentation with Permissions-Policy and resources
- updated tests to include Permissions-Policy
- SecurityHeaders and Permissions-Policy may be configured globally / per route
- updated structure of public methods and class members to match previous version structure

Fixes gh-2975

Signed-off-by: Jörg Richter <96986086+joerg-richter-5234@users.noreply.github.com>
2025-04-07 22:19:10 +02:00
spencergibb
beab6a8a3e Merge branch '4.2.x' 2025-03-28 15:20:44 -04:00
spencergibb
8f534ebfa7 polishing modifyresponsebody.adoc 2025-03-28 15:13:58 -04:00
spencergibb
afd4e0a9ff Merge branch '4.1.x' into 4.2.x 2025-03-28 15:08:04 -04:00
Spencer Gibb
55b3cd0c51 Fixes routing issue with path filters and static uri (#3747)
* Fixes routing issue with path filters and static uri

The problem arises from when MvcUtils.setRequestUrl is called depending on if the route was created via config, using `http(uri)` or having it set in a before filter.

To fix this, the uri is now always set in a before filter and the `http(uri)` methods are deprecated in favor of a BeforeFilterFunctions.uri() method.

A new DefaultHandlerSupplier was created to use an updated HandlerDiscoverer.Result that has fields for lowerPrecedenceFilters and higherPrecedenceFilters as the `http()` family of Handler methods need associated filters.

This results in a more consistent handling of the request url attribute.

Existing methods and constructors are deprecated.

Fixes gh-3736
2025-03-28 14:59:19 -04:00
Ryan Baxter
5456d6dda7 Merge branch '4.2.x' 2025-03-20 10:49:44 -04:00
Ryan Baxter
fe3ea71723 Merge branch '4.1.x' into 4.2.x 2025-03-20 10:10:39 -04:00
Ryan Baxter
c21ea8858c Merge pull request #3713 from JoeCqupt/main
RetryGatewayFilterFactory RetryConfig support Jitter & Timeout
2025-03-20 10:10:08 -04:00
spring-builds
0c1b54926d Bumping versions 2025-03-20 09:57:45 +00:00
BEF841CA
73662ea35d Fix punctuation error in secureheaders-factory.adoc
Signed-off-by: BEF841CA <83743162+BEF841CA@users.noreply.github.com>
2025-03-20 17:10:03 +08:00
spring-builds
0ee6a5d6da Going back to snapshots 2025-03-18 23:49:59 +00:00
spring-builds
263e813558 Update SNAPSHOT to 4.2.1 2025-03-18 23:46:46 +00:00
spring-builds
014a8511e4 Bumping versions 2025-03-18 18:52:12 +00:00
spencergibb
6ce73c6ec7 Changes property to spring.cloud.gateway.forwarded.by.enabled
Defaults to false.

See gh-2658
2025-03-17 16:59:19 -04:00