Skip to content

Commit 263e813

Browse files
committed
Update SNAPSHOT to 4.2.1
1 parent 5cf94a4 commit 263e813

File tree

16 files changed

+48
-42
lines changed

16 files changed

+48
-42
lines changed

docs/modules/ROOT/partials/_configprops.adoc

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
|spring.cloud.gateway.default-filters | | List of filter definitions that are applied to every route.
55
|spring.cloud.gateway.discovery.locator.enabled | `+++false+++` | Flag that enables DiscoveryClient gateway integration.
6-
|spring.cloud.gateway.discovery.locator.filters | |
6+
|spring.cloud.gateway.discovery.locator.filters | |
77
|spring.cloud.gateway.discovery.locator.include-expression | `+++true+++` | SpEL expression that will evaluate whether to include a service in gateway integration or not, defaults to: true.
88
|spring.cloud.gateway.discovery.locator.lower-case-service-id | `+++false+++` | Option to lower case serviceId in predicates and filters, defaults to false. Useful with eureka when it automatically uppercases serviceId. so MYSERIVCE, would match /myservice/**
9-
|spring.cloud.gateway.discovery.locator.predicates | |
9+
|spring.cloud.gateway.discovery.locator.predicates | |
1010
|spring.cloud.gateway.discovery.locator.route-id-prefix | | The prefix for the routeId, defaults to discoveryClient.getClass().getSimpleName() + "_". Service Id will be appended to create the routeId.
1111
|spring.cloud.gateway.discovery.locator.url-expression | `+++'lb://'+serviceId+++` | SpEL expression that create the uri for each route, defaults to: 'lb://'+serviceId.
1212
|spring.cloud.gateway.enabled | `+++true+++` | Enables gateway functionality.
@@ -20,7 +20,7 @@
2020
|spring.cloud.gateway.filter.hystrix.enabled | `+++true+++` | Enables the hystrix filter.
2121
|spring.cloud.gateway.filter.json-to-grpc.enabled | `+++true+++` | Enables the JSON to gRPC filter.
2222
|spring.cloud.gateway.filter.local-response-cache.enabled | `+++false+++` | Enables the local-response-cache filter.
23-
|spring.cloud.gateway.filter.local-response-cache.request.no-cache-strategy | `+++skip-update-cache-entry+++` |
23+
|spring.cloud.gateway.filter.local-response-cache.request.no-cache-strategy | `+++skip-update-cache-entry+++` |
2424
|spring.cloud.gateway.filter.local-response-cache.size | | Maximum size of the cache to evict entries for this route (in KB, MB and GB).
2525
|spring.cloud.gateway.filter.local-response-cache.time-to-live | `+++5m+++` | Time to expire a cache entry (expressed in s for seconds, m for minutes, and h for hours).
2626
|spring.cloud.gateway.filter.map-request-header.enabled | `+++true+++` | Enables the map-request-header filter.
@@ -29,15 +29,15 @@
2929
|spring.cloud.gateway.filter.prefix-path.enabled | `+++true+++` | Enables the prefix-path filter.
3030
|spring.cloud.gateway.filter.preserve-host-header.enabled | `+++true+++` | Enables the preserve-host-header filter.
3131
|spring.cloud.gateway.filter.redirect-to.enabled | `+++true+++` | Enables the redirect-to filter.
32-
|spring.cloud.gateway.filter.remove-hop-by-hop.headers | |
33-
|spring.cloud.gateway.filter.remove-hop-by-hop.order | `+++0+++` |
32+
|spring.cloud.gateway.filter.remove-hop-by-hop.headers | |
33+
|spring.cloud.gateway.filter.remove-hop-by-hop.order | `+++0+++` |
3434
|spring.cloud.gateway.filter.remove-request-header.enabled | `+++true+++` | Enables the remove-request-header filter.
3535
|spring.cloud.gateway.filter.remove-request-parameter.enabled | `+++true+++` | Enables the remove-request-parameter filter.
3636
|spring.cloud.gateway.filter.remove-response-header.enabled | `+++true+++` | Enables the remove-response-header filter.
3737
|spring.cloud.gateway.filter.request-header-size.enabled | `+++true+++` | Enables the request-header-size filter.
3838
|spring.cloud.gateway.filter.request-header-to-request-uri.enabled | `+++true+++` | Enables the request-header-to-request-uri filter.
39-
|spring.cloud.gateway.filter.request-rate-limiter.default-key-resolver | |
40-
|spring.cloud.gateway.filter.request-rate-limiter.default-rate-limiter | |
39+
|spring.cloud.gateway.filter.request-rate-limiter.default-key-resolver | |
40+
|spring.cloud.gateway.filter.request-rate-limiter.default-rate-limiter | |
4141
|spring.cloud.gateway.filter.request-rate-limiter.enabled | `+++true+++` | Enables the request-rate-limiter filter.
4242
|spring.cloud.gateway.filter.request-size.enabled | `+++true+++` | Enables the request-size filter.
4343
|spring.cloud.gateway.filter.retry.enabled | `+++true+++` | Enables the retry filter.
@@ -47,16 +47,16 @@
4747
|spring.cloud.gateway.filter.rewrite-request-parameter.enabled | `+++true+++` | Enables the rewrite-request-parameter filter.
4848
|spring.cloud.gateway.filter.rewrite-response-header.enabled | `+++true+++` | Enables the rewrite-response-header filter.
4949
|spring.cloud.gateway.filter.save-session.enabled | `+++true+++` | Enables the save-session filter.
50-
|spring.cloud.gateway.filter.secure-headers.content-security-policy | `+++default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'+++` |
51-
|spring.cloud.gateway.filter.secure-headers.content-type-options | `+++nosniff+++` |
52-
|spring.cloud.gateway.filter.secure-headers.disable | |
53-
|spring.cloud.gateway.filter.secure-headers.download-options | `+++noopen+++` |
50+
|spring.cloud.gateway.filter.secure-headers.content-security-policy | `+++default-src 'self' https:; font-src 'self' https: data:; img-src 'self' https: data:; object-src 'none'; script-src https:; style-src 'self' https: 'unsafe-inline'+++` |
51+
|spring.cloud.gateway.filter.secure-headers.content-type-options | `+++nosniff+++` |
52+
|spring.cloud.gateway.filter.secure-headers.disable | |
53+
|spring.cloud.gateway.filter.secure-headers.download-options | `+++noopen+++` |
5454
|spring.cloud.gateway.filter.secure-headers.enabled | `+++true+++` | Enables the secure-headers filter.
55-
|spring.cloud.gateway.filter.secure-headers.frame-options | `+++DENY+++` |
56-
|spring.cloud.gateway.filter.secure-headers.permitted-cross-domain-policies | `+++none+++` |
57-
|spring.cloud.gateway.filter.secure-headers.referrer-policy | `+++no-referrer+++` |
58-
|spring.cloud.gateway.filter.secure-headers.strict-transport-security | `+++max-age=631138519+++` |
59-
|spring.cloud.gateway.filter.secure-headers.xss-protection-header | `+++1 ; mode=block+++` |
55+
|spring.cloud.gateway.filter.secure-headers.frame-options | `+++DENY+++` |
56+
|spring.cloud.gateway.filter.secure-headers.permitted-cross-domain-policies | `+++none+++` |
57+
|spring.cloud.gateway.filter.secure-headers.referrer-policy | `+++no-referrer+++` |
58+
|spring.cloud.gateway.filter.secure-headers.strict-transport-security | `+++max-age=631138519+++` |
59+
|spring.cloud.gateway.filter.secure-headers.xss-protection-header | `+++1 ; mode=block+++` |
6060
|spring.cloud.gateway.filter.set-path.enabled | `+++true+++` | Enables the set-path filter.
6161
|spring.cloud.gateway.filter.set-request-header.enabled | `+++true+++` | Enables the set-request-header filter.
6262
|spring.cloud.gateway.filter.set-request-host-header.enabled | `+++true+++` | Enables the set-request-host-header filter.
@@ -76,7 +76,7 @@
7676
|spring.cloud.gateway.global-filter.route-to-request-url.enabled | `+++true+++` | Enables the route-to-request-url global filter.
7777
|spring.cloud.gateway.global-filter.websocket-routing.enabled | `+++true+++` | Enables the websocket-routing global filter.
7878
|spring.cloud.gateway.globalcors.add-to-simple-url-handler-mapping | `+++false+++` | If global CORS config should be added to the URL handler.
79-
|spring.cloud.gateway.globalcors.cors-configurations | |
79+
|spring.cloud.gateway.globalcors.cors-configurations | |
8080
|spring.cloud.gateway.handler-mapping.order | `+++1+++` | The order of RoutePredicateHandlerMapping.
8181
|spring.cloud.gateway.httpclient.compression | `+++false+++` | Enables compression for Netty HttpClient.
8282
|spring.cloud.gateway.httpclient.connect-timeout | | The connect timeout in millis, the default is 30s.
@@ -113,7 +113,7 @@
113113
|spring.cloud.gateway.httpclient.websocket.proxy-ping | `+++true+++` | Proxy ping frames to downstream services, defaults to true.
114114
|spring.cloud.gateway.httpclient.wiretap | `+++false+++` | Enables wiretap debugging for Netty HttpClient.
115115
|spring.cloud.gateway.httpserver.wiretap | `+++false+++` | Enables wiretap debugging for Netty HttpServer.
116-
|spring.cloud.gateway.loadbalancer.use404 | `+++false+++` |
116+
|spring.cloud.gateway.loadbalancer.use404 | `+++false+++` |
117117
|spring.cloud.gateway.metrics.enabled | `+++false+++` | Enables the collection of metrics data.
118118
|spring.cloud.gateway.metrics.prefix | `+++spring.cloud.gateway+++` | The prefix of all metrics emitted by gateway.
119119
|spring.cloud.gateway.metrics.tags | | Tags map that added to metrics.
@@ -161,7 +161,7 @@
161161
|spring.cloud.gateway.predicate.weight.enabled | `+++true+++` | Enables the weight predicate.
162162
|spring.cloud.gateway.predicate.xforwarded-remote-addr.enabled | `+++true+++` | Enables the xforwarded-remote-addr predicate.
163163
|spring.cloud.gateway.redis-rate-limiter.burst-capacity-header | `+++X-RateLimit-Burst-Capacity+++` | The name of the header that returns the burst capacity configuration.
164-
|spring.cloud.gateway.redis-rate-limiter.config | |
164+
|spring.cloud.gateway.redis-rate-limiter.config | |
165165
|spring.cloud.gateway.redis-rate-limiter.include-headers | `+++true+++` | Whether or not to include headers containing rate limiter information, defaults to true.
166166
|spring.cloud.gateway.redis-rate-limiter.remaining-header | `+++X-RateLimit-Remaining+++` | The name of the header that returns number of remaining requests during the current second.
167167
|spring.cloud.gateway.redis-rate-limiter.replenish-rate-header | `+++X-RateLimit-Replenish-Rate+++` | The name of the header that returns the replenish rate configuration.
@@ -172,7 +172,7 @@
172172
|spring.cloud.gateway.route-refresh-listener.enabled | `+++true+++` | If RouteRefreshListener should be turned on.
173173
|spring.cloud.gateway.routes | | List of Routes.
174174
|spring.cloud.gateway.set-status.original-status-header-name | | The name of the header which contains http code of the proxied request.
175-
|spring.cloud.gateway.streaming-media-types | |
175+
|spring.cloud.gateway.streaming-media-types | |
176176
|spring.cloud.gateway.x-forwarded.enabled | `+++true+++` | If the XForwardedHeadersFilter is enabled.
177177
|spring.cloud.gateway.x-forwarded.for-append | `+++true+++` | If appending X-Forwarded-For as a list is enabled.
178178
|spring.cloud.gateway.x-forwarded.for-enabled | `+++true+++` | If X-Forwarded-For is enabled.
@@ -186,4 +186,4 @@
186186
|spring.cloud.gateway.x-forwarded.proto-append | `+++true+++` | If appending X-Forwarded-Proto as a list is enabled.
187187
|spring.cloud.gateway.x-forwarded.proto-enabled | `+++true+++` | If X-Forwarded-Proto is enabled.
188188
189-
|===
189+
|===

docs/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.cloud</groupId>
88
<artifactId>spring-cloud-gateway</artifactId>
9-
<version>4.2.1-SNAPSHOT</version>
9+
<version>4.2.1</version>
1010
</parent>
1111
<artifactId>spring-cloud-gateway-docs</artifactId>
1212
<packaging>jar</packaging>

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>org.springframework.cloud</groupId>
88
<artifactId>spring-cloud-gateway</artifactId>
9-
<version>4.2.1-SNAPSHOT</version>
9+
<version>4.2.1</version>
1010
<packaging>pom</packaging>
1111

1212
<name>Spring Cloud Gateway</name>
@@ -15,7 +15,7 @@
1515
<parent>
1616
<groupId>org.springframework.cloud</groupId>
1717
<artifactId>spring-cloud-build</artifactId>
18-
<version>4.2.1-SNAPSHOT</version>
18+
<version>4.2.1</version>
1919
<relativePath/>
2020
</parent>
2121
<scm>
@@ -55,8 +55,8 @@
5555
<blockhound.version>1.0.8.RELEASE</blockhound.version>
5656
<java.version>17</java.version>
5757
<junit-pioneer.version>2.3.0</junit-pioneer.version>
58-
<spring-cloud-circuitbreaker.version>3.2.1-SNAPSHOT</spring-cloud-circuitbreaker.version>
59-
<spring-cloud-commons.version>4.2.1-SNAPSHOT</spring-cloud-commons.version>
58+
<spring-cloud-circuitbreaker.version>3.2.1</spring-cloud-circuitbreaker.version>
59+
<spring-cloud-commons.version>4.2.1</spring-cloud-commons.version>
6060
</properties>
6161

6262
<dependencyManagement>

spring-cloud-gateway-dependencies/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
<parent>
77
<artifactId>spring-cloud-dependencies-parent</artifactId>
88
<groupId>org.springframework.cloud</groupId>
9-
<version>4.2.1-SNAPSHOT</version>
9+
<version>4.2.1</version>
1010
<relativePath/>
1111
</parent>
1212

1313
<artifactId>spring-cloud-gateway-dependencies</artifactId>
14-
<version>4.2.1-SNAPSHOT</version>
14+
<version>4.2.1</version>
1515
<packaging>pom</packaging>
1616

1717
<name>spring-cloud-gateway-dependencies</name>

spring-cloud-gateway-integration-tests/grpc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<groupId>org.springframework.cloud</groupId>
2020
<artifactId>spring-cloud-gateway-integration-tests</artifactId>
21-
<version>4.2.1-SNAPSHOT</version>
21+
<version>4.2.1</version>
2222
<relativePath>..</relativePath> <!-- lookup parent from repository -->
2323
</parent>
2424

spring-cloud-gateway-integration-tests/http2/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<parent>
1717
<groupId>org.springframework.cloud</groupId>
1818
<artifactId>spring-cloud-gateway-integration-tests</artifactId>
19-
<version>4.2.1-SNAPSHOT</version>
19+
<version>4.2.1</version>
2020
<relativePath>..</relativePath> <!-- lookup parent from repository -->
2121
</parent>
2222

spring-cloud-gateway-integration-tests/mvc-failure-analyzer/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<parent>
1717
<groupId>org.springframework.cloud</groupId>
1818
<artifactId>spring-cloud-gateway-integration-tests</artifactId>
19-
<version>4.2.1-SNAPSHOT</version>
19+
<version>4.2.1</version>
2020
<relativePath>..</relativePath> <!-- lookup parent from repository -->
2121
</parent>
2222

spring-cloud-gateway-integration-tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<parent>
1717
<groupId>org.springframework.cloud</groupId>
1818
<artifactId>spring-cloud-gateway</artifactId>
19-
<version>4.2.1-SNAPSHOT</version>
19+
<version>4.2.1</version>
2020
<relativePath>..</relativePath> <!-- lookup parent from repository -->
2121
</parent>
2222

spring-cloud-gateway-mvc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.cloud</groupId>
1313
<artifactId>spring-cloud-gateway</artifactId>
14-
<version>4.2.1-SNAPSHOT</version>
14+
<version>4.2.1</version>
1515
<relativePath>..</relativePath>
1616
</parent>
1717

spring-cloud-gateway-sample/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<parent>
1717
<groupId>org.springframework.cloud</groupId>
1818
<artifactId>spring-cloud-gateway</artifactId>
19-
<version>4.2.1-SNAPSHOT</version>
19+
<version>4.2.1</version>
2020
<relativePath>..</relativePath> <!-- lookup parent from repository -->
2121
</parent>
2222

spring-cloud-gateway-server-mvc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>org.springframework.cloud</groupId>
2424
<artifactId>spring-cloud-gateway</artifactId>
25-
<version>4.2.1-SNAPSHOT</version>
25+
<version>4.2.1</version>
2626
<relativePath>..</relativePath> <!-- lookup parent from repository -->
2727
</parent>
2828
<artifactId>spring-cloud-gateway-server-mvc</artifactId>

spring-cloud-gateway-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.cloud</groupId>
99
<artifactId>spring-cloud-gateway</artifactId>
10-
<version>4.2.1-SNAPSHOT</version>
10+
<version>4.2.1</version>
1111
<relativePath>..</relativePath> <!-- lookup parent from repository -->
1212
</parent>
1313
<artifactId>spring-cloud-gateway-server</artifactId>

spring-cloud-gateway-server/src/test/java/org/springframework/cloud/gateway/filter/factory/SpringCloudCircuitBreakerFilterFactoryTests.java

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,15 @@ public void filterStatusCodeResumeWithoutError() {
246246

247247
@Test
248248
public void filterPostFallback() {
249-
testClient.post().uri("/post").body(BodyInserters.fromValue("hello"))
250-
.header("Host", "www.circuitbreakerfallbackpost.org").exchange().expectStatus()
251-
.isOk().expectBody().json("{\"body\":\"hello\"}");
249+
testClient.post()
250+
.uri("/post")
251+
.body(BodyInserters.fromValue("hello"))
252+
.header("Host", "www.circuitbreakerfallbackpost.org")
253+
.exchange()
254+
.expectStatus()
255+
.isOk()
256+
.expectBody()
257+
.json("{\"body\":\"hello\"}");
252258
}
253259

254260
}

spring-cloud-gateway-webflux/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<parent>
1212
<groupId>org.springframework.cloud</groupId>
1313
<artifactId>spring-cloud-gateway</artifactId>
14-
<version>4.2.1-SNAPSHOT</version>
14+
<version>4.2.1</version>
1515
<relativePath>..</relativePath>
1616
</parent>
1717

spring-cloud-starter-gateway-mvc/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.cloud</groupId>
88
<artifactId>spring-cloud-gateway</artifactId>
9-
<version>4.2.1-SNAPSHOT</version>
9+
<version>4.2.1</version>
1010
<relativePath>..</relativePath> <!-- lookup parent from repository -->
1111
</parent>
1212
<artifactId>spring-cloud-starter-gateway-mvc</artifactId>

spring-cloud-starter-gateway/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.cloud</groupId>
88
<artifactId>spring-cloud-gateway</artifactId>
9-
<version>4.2.1-SNAPSHOT</version>
9+
<version>4.2.1</version>
1010
<relativePath>..</relativePath> <!-- lookup parent from repository -->
1111
</parent>
1212
<artifactId>spring-cloud-starter-gateway</artifactId>

0 commit comments

Comments
 (0)