Skip to content

Commit

Permalink
Java: Add release notes for release 5.12.0 (#1902)
Browse files Browse the repository at this point in the history
* Add new release notes

* Fix vale

---------

Co-authored-by: Matthias Kuhr <[email protected]>
  • Loading branch information
bot-sdk-js and MatKuhr authored Sep 3, 2024
1 parent fa7e3ee commit ebd8d2b
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
33 changes: 33 additions & 0 deletions docs-java/release-notes/release-notes-0-to-14.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,36 @@
## 5.12.0 - September 03, 2024

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

### ✨ New Functionality

- Timeouts for OAuth2 token retrievals can now be customized.
As part of `ServiceBindingDestinationOptions` the new option `OAuth2Options.TokenRetrievalTimeout` can now be passed to set a custom timeout.
Refer to [this documentation](https://sap.github.io/cloud-sdk/docs/java/features/connectivity/service-bindings#about-the-options) for more details.
- In `DestinationService` class allow for optional argument `DestinationServiceRetrievalStrategy` in method `getAllDestinationProperties`.
This additional API allows for ensuring tenant-specific destination lookups.
Available values are: `CURRENT_TENANT` (default), `ALWAYS_PROVIDER` and `ONLY_SUBSCRIBER`.

### 📈 Improvements

- \[OpenAPI Generator\] Setting the Maven plugin configuration property `openapi.generate.deleteOutputDirectory` to `true` will no longer result in deletion of all files from the `outputDirectory` prior to generation.
Instead, only the `apiPackage`- and `apiPackage`-related directories will be cleaned.
This reduces the risk of deleting files unexpectedly and allows for reusing the same `outputDirectory` for multiple generator plugin invocations.
- \[OpenAPI Generator\] The property accessors of generated model classes now have consistent `@Nullable` and `@Nonnull` annotation.
- \[OpenAPI Generator\] Enable the option `<enumUnknownDefaultCase>` that allows for lenient handling of unknown enum values coming from a server.
- Upgrade to version `1.66.0` of `gRPC` dependencies coming in transitively when using `connectivity-ztis`
- Improve the error handling for OData batch requests.
In case an OData error is given within a batch response it will now be parsed and returned as `ODataServiceErrorException`.
- Reduce the amount of DwC headers sent when communicating via megaclite.
This reduces the risk of exceeding the maximum header size limit of the Cloud Foundry infrastructure.
- Improve the error handling for requests to the destination service.
In case of an error a potential response body will now be logged with the error message.

### 🐛 Fixed Issues

- fix: issue [#557](https:/SAP/cloud-sdk-java/issues/557): DwC Auth Token not available (DwC + IAS) by @jingweiz2017 in #568
- Fix an issue where proxy headers are applied multiple times for On-Premise destinations.

## 5.11.0 - August 01, 2024

[All Release Changes](https:/SAP/cloud-sdk-java/releases/tag/rel%2F5.11.0)
Expand Down
4 changes: 3 additions & 1 deletion styles/config/vocabularies/SAP/accept.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,7 @@ EDM
[Ee]num
unintuitive
Istio
[Mm]egaclite

seldomly
seldomly
lookups

0 comments on commit ebd8d2b

Please sign in to comment.