Skip to content

Commit d9a8de3

Browse files
bot-sdk-jsnewtork
andauthored
Java: Add release notes for release 5.21.0 (#2219)
* Add new release notes * Format --------- Co-authored-by: Alexander Dümont <[email protected]>
1 parent 05e1753 commit d9a8de3

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs-java/release-notes/release-notes-15-to-29.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
## 5.21.0 - August 01, 2025
2+
3+
[All Release Changes](https://github.com/SAP/cloud-sdk-java/releases/tag/rel%2F5.21.0)
4+
5+
### ✨ New Functionality
6+
7+
- Add `TokenCacheParameters` to `OAuth2Options` to configurate token cache duration, expiration delta and cache size.
8+
9+
### 📈 Improvements
10+
11+
- Relax OAuth2 token cache duration to 1hr to avoid unnecessary token refreshes.
12+
- Disable refresh tokens when obtaining user tokens from IAS.
13+
This acts as a workaround for a limitation of IAS, where obtaining a refresh token invalidates the original token.
14+
15+
### 🐛 Fixed Issues
16+
17+
- OData v2 and OData v4: Fix eager HTTP response evaluation for _Create_, _Update_, and _Delete_ request builders in convenience APIs.
18+
Previous change of `5.20.0` may have resulted in the HTTP connection being left open after the request was executed.
19+
- Generic OData Client: Revert behavior change introduced in `5.20.0` that let to HTTP responses not being consumed by default.
20+
If you want to use `disableBufferingHttpResponse()` on `ODataRequestRead` or `ODataRequestReadByKey` please switch to `withoutResponseBuffering()` instead.
21+
122
## 5.20.0 - June 20, 2025
223

324
[All Release Changes](https://github.com/SAP/cloud-sdk-java/releases/tag/rel%2F5.20.0)

0 commit comments

Comments
 (0)