-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release note for 1.31.0 #5970
Merged
Merged
Changes from 2 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
2a2bdd1
add release note
jrhee17 3ddae6c
address comments by @ikhoon
jrhee17 9b107c4
address comments by @minwoox
jrhee17 c03dc60
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 c3adc61
address comments by @trustin
jrhee17 967225e
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 dec53b2
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 155e269
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 72301d6
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 42d03e6
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 1b294cb
Update site/src/pages/release-notes/1.31.0.mdx
jrhee17 7696790
address comment by @trustin
jrhee17 f2e717f
Merge branch 'main' into release-note/1.31.0
jrhee17 fe39caa
bump netty
jrhee17 85d60e8
Update site/src/pages/release-notes/1.31.0.mdx
trustin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
@@ -0,0 +1,143 @@ | ||||||
--- | ||||||
date: 2024-11-13 | ||||||
--- | ||||||
|
||||||
## 🌟 New features | ||||||
|
||||||
- You can now set TLS configurations dynamically using `TlsProvider` #5033 #5228 | ||||||
- You can create a <type://TlsProvider> which specifies <type://TlsKeyPair> dynamically. | ||||||
```java | ||||||
// return a TlsKeyPair for host patterns | ||||||
TlsProvider tlsProvider = TlsProvider | ||||||
.builder() | ||||||
.keyPair("*.a.com", TlsKeyPair.of(...)) | ||||||
.keyPair("*.b.com", TlsKeyPair.of(...)) | ||||||
.build(); | ||||||
|
||||||
// return a TlsKeyPair dynamically | ||||||
TlsProvider tlsProvider = hostname -> TlsKeyPair.of(...); | ||||||
``` | ||||||
- The <type://TlsProvider> can be used for both server and clients. | ||||||
jrhee17 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
```java | ||||||
// client-side | ||||||
ClientFactory | ||||||
.builder() | ||||||
.tlsProvider(tlsProvider); | ||||||
|
||||||
// server-side | ||||||
Server | ||||||
.builder() | ||||||
.tlsProvider(tlsProvider); | ||||||
``` | ||||||
- You can access the raw request path via <type://ServiceRequestContext#rawPath()>. #5931 #5932 | ||||||
```java | ||||||
ServiceRequestContext ctx = ...; | ||||||
String rawPath = ctx.rawPath(); | ||||||
``` | ||||||
jrhee17 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- More static factory methods are added for <type://ResponseEntity>. #5954 | ||||||
```java | ||||||
ResponseEntity<Object> response = ResponseEntity.of(200); | ||||||
ResponseEntity<String> response = ResponseEntity.of("Hello!"); | ||||||
``` | ||||||
- You can specify <type://HttpRequest#timeout(Duration)> or <type://HttpResponse#timeout(Duration)> to set a timeout | ||||||
for an <type://HttpRequest> or <type://HttpResponse>. #5744 #5761 | ||||||
```java | ||||||
HttpRequest | ||||||
.streaming(HttpMethod.GET, "/") | ||||||
.timeout(Duration.ofSeconds(1)) // timeout if there is a delay exceeding 1 second between each data chunk | ||||||
``` | ||||||
- You can now register your server to or retrieve <typeplural://Endpoint> from | ||||||
a [Nacos](https://nacos.io/) registry server. #5365 #5409 | ||||||
- Use <type://NacosUpdatingListener> to register the <typeplural://Server> to [Nacos](https://nacos.io/): | ||||||
```java | ||||||
Server server = | ||||||
Server.builder() | ||||||
...; | ||||||
jrhee17 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
server.addListener( | ||||||
NacosUpdatingListener.builder(nacosUri, "my-service") | ||||||
... | ||||||
.build()); | ||||||
jrhee17 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
``` | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
- Use <type://NacosEndpointGroup> for clients: | ||||||
```java | ||||||
EndpointGroup group = NacosEndpointGroup.of(nacosUri, "my-service"); | ||||||
WebClient client = WebClient.of(SessionProtocol.HTTP, group); | ||||||
``` | ||||||
|
||||||
## 📈 Improvements | ||||||
|
||||||
- The GraalVM native image metadata has been updated to reflect recent code changes. #5946 | ||||||
trustin marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- <type://XdsEndpointGroup> now supports `disable_active_health_check` #5879 | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
## 🛠️ Bug fixes | ||||||
|
||||||
- DNS resolver now correctly adds search domains for hostnames with trailing dots. #5963 | ||||||
- CORS headers for failed requests are now correctly set even when a custom <type://ServerErrorHandler> is configured. #5493 #5939 | ||||||
- Fixed a bug where <type://AsyncServerInterceptor> is incompatible with the OpenTelemetry gRPC agent. #5937 #5938 | ||||||
- Spring Actuator correctly collects metrics when using Spring WebFlux integration. #5882 #5884 | ||||||
|
||||||
## ☢️ Breaking changes | ||||||
|
||||||
- ABI compatibility of <type://ResponseEntity#of(ResponseHeaders)> has been broken. #5954 | ||||||
|
||||||
## ⛓ Dependencies | ||||||
|
||||||
- Brotli4j 1.16.0 → 1.17.0 | ||||||
- java-control-plane 1.0.45 → 1.0.46 | ||||||
- Eureka 2.0.3 → 2.0.4 | ||||||
- fastutil 8.5.14 → 8.5.15 | ||||||
- GraphQL Kotlin 7.1.4 → 8.2.1 | ||||||
- Java gRPC 1.65.1 → 1.68.1 | ||||||
- Guava 33.2.1-jre → 33.3.1-jre | ||||||
jrhee17 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
- Jackson 2.17.2 → 2.18.1 | ||||||
- Jetty | ||||||
- 11.0.22 → 11.0.24 | ||||||
- 12.0.12 → 12.0.14 | ||||||
- Kotlin 3.8.0 → 3.8.1 | ||||||
- Kotlin coroutines 1.8.1 → 1.9.0 | ||||||
- Fabric8 Kubernetes Client 6.13.1 → 6.13.4 | ||||||
- Micrometer 1.13.2 → 1.13.6 | ||||||
- Micrometer Tracing 1.3.2 → 1.3.5 | ||||||
- Netty 4.1.112.Final → 4.1.114.Final | ||||||
- prometheus 1.3.1 → 1.3.2 | ||||||
- Protobuf 3.25.1 → 3.25.5 | ||||||
- protobuf-jackson 2.5.0 → 2.6.0 | ||||||
- Reactor 3.6.8 → 3.6.11 | ||||||
- RXJava 3.1.8 → 3.1.9 | ||||||
- Sangria 4.1.1 → 4.2.2 | ||||||
- Scala | ||||||
- 2.12.19 → 2.12.20 | ||||||
- 2.13.14 → 2.13.15 | ||||||
- 3.4.2 → 3.6.1 | ||||||
- Spring 6.1.11 → 6.1.14 | ||||||
- Spring Boot 3.3.2 → 3.3.5 | ||||||
- Tomcat | ||||||
- 9.0.91 → 9.0.96 | ||||||
- 10.1.26 → 10.1.31 | ||||||
|
||||||
## 🗑 Maybe ignore | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove? |
||||||
|
||||||
- !PENDING! Can upgrade websocket request with multiple connection value #5957 #5958 | ||||||
jrhee17 marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
||||||
## 🙇 Thank you | ||||||
|
||||||
<ThankYou usernames={[ | ||||||
'Bue-von-hon', | ||||||
'JiwonKKang', | ||||||
'KarboniteKream', | ||||||
'KonaEspresso94', | ||||||
'Mina-1316', | ||||||
'be-hase', | ||||||
'blue-hope', | ||||||
'chickenchickenlove', | ||||||
'friscoMad', | ||||||
'ikhoon', | ||||||
'jrhee17', | ||||||
'kabigon-sung', | ||||||
'minwoox', | ||||||
'my4-dev', | ||||||
'roderick675', | ||||||
'sjy982', | ||||||
'trustin', | ||||||
'yzfeng2020' | ||||||
]} /> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.