Commit Graph

808 Commits

Author SHA1 Message Date
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
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
spring-builds
0d1cf2774c Going back to snapshots 2025-05-01 13:17:24 +00:00
spring-builds
a57533e373 Update SNAPSHOT to 4.3.0-RC1 2025-05-01 13:14:07 +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
Ryan Baxter
0c5de647c3 Merge pull request #3742 from spring-cloud/dependabot/npm_and_yarn/docs/main/springio/asciidoctor-extensions-1.0.0-alpha.17
Bump @springio/asciidoctor-extensions from 1.0.0-alpha.16 to 1.0.0-alpha.17 in /docs
2025-04-22 10:05:23 -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
spring-builds
e116c07287 Going back to snapshots 2025-04-07 11:54:43 +00:00
spring-builds
7951cef77f Update SNAPSHOT to 4.3.0-M3 2025-04-07 11:52:16 +00:00
spring-builds
fe74519042 Bumping versions 2025-04-05 09:55:18 +00:00
spring-builds
eebfb419b2 Bumping versions 2025-04-04 09:55:19 +00:00
spring-builds
ac8f12573f Bumping versions to 4.2.3-SNAPSHOT after release 2025-04-03 16:39:27 +00:00
spring-builds
c476c92c74 Going back to snapshots 2025-04-03 16:39:26 +00:00
spring-builds
f69de10b9e Update SNAPSHOT to 4.2.2 2025-04-03 16:37:02 +00: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
dependabot[bot]
a2866f99f5 Bump @springio/asciidoctor-extensions in /docs
Bumps [@springio/asciidoctor-extensions](https://github.com/spring-io/asciidoctor-extensions) from 1.0.0-alpha.16 to 1.0.0-alpha.17.
- [Changelog](https://github.com/spring-io/asciidoctor-extensions/blob/main/CHANGELOG.adoc)
- [Commits](https://github.com/spring-io/asciidoctor-extensions/compare/v1.0.0-alpha.16...v1.0.0-alpha.17)

---
updated-dependencies:
- dependency-name: "@springio/asciidoctor-extensions"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 18:04:58 +00: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
50bf1d72a0 Bumping versions to 4.2.2-SNAPSHOT after release 2025-03-18 23:50:00 +00: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
spencergibb
f6f90df404 For lb: scheme, put associated filters last.
This makes sure the lb filter runs after path modifying filters like stripPrefix.

See gh-3443
2025-03-17 16:17:07 -04:00
spencergibb
5cf94a4987 For lb: scheme, put associated filters last.
This makes sure the lb filter runs after path modifying filters like stripPrefix.

See gh-3443
2025-03-17 16:15:20 -04:00
spencergibb
c1c741d022 For lb: scheme, put associated filters last.
This makes sure the lb filter runs after path modifying filters like stripPrefix.

See gh-3443
2025-03-17 16:12:09 -04:00
Ryan Baxter
ec64b05ccc Merge branch '4.2.x' 2025-03-17 14:21:04 -04:00
Ryan Baxter
a830c8e6f9 Merge branch '4.1.x' into 4.2.x 2025-03-17 14:20:50 -04:00
spring-builds
5e4aff5786 Bumping versions 2025-03-16 09:55:41 +00:00
spring-builds
160c82057e Bumping versions 2025-03-15 13:26:33 +00:00
spring-builds
4e0cc2eb76 Bumping versions 2025-03-14 18:54:31 +00:00
Been24
0abe96239a Update developer-guide.adoc
Signed-off-by: Been24 <894661859@qq.com>
2025-03-14 09:33:21 +08:00
Ryan Baxter
9ac4b42daa Merge pull request #3627 from Ebolo1/Doc-spring-api-gateway-server-mvc
small grammatical issue
2025-03-13 14:32:08 -04:00