From ebd8d2bfc3f1a8101cf6f26e5afdbd8ea47272f4 Mon Sep 17 00:00:00 2001 From: SAP Cloud SDK Bot <107626431+bot-sdk-js@users.noreply.github.com> Date: Tue, 3 Sep 2024 14:46:53 +0200 Subject: [PATCH] Java: Add release notes for release 5.12.0 (#1902) * Add new release notes * Fix vale --------- Co-authored-by: Matthias Kuhr --- .../release-notes/release-notes-0-to-14.mdx | 33 +++++++++++++++++++ styles/config/vocabularies/SAP/accept.txt | 4 ++- 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/docs-java/release-notes/release-notes-0-to-14.mdx b/docs-java/release-notes/release-notes-0-to-14.mdx index 1421d7e43d..18b32e57d6 100644 --- a/docs-java/release-notes/release-notes-0-to-14.mdx +++ b/docs-java/release-notes/release-notes-0-to-14.mdx @@ -1,3 +1,36 @@ +## 5.12.0 - September 03, 2024 + +[All Release Changes](https://github.com/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 `` 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://github.com/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://github.com/SAP/cloud-sdk-java/releases/tag/rel%2F5.11.0) diff --git a/styles/config/vocabularies/SAP/accept.txt b/styles/config/vocabularies/SAP/accept.txt index 2b8bcd7c34..bb41041ab9 100644 --- a/styles/config/vocabularies/SAP/accept.txt +++ b/styles/config/vocabularies/SAP/accept.txt @@ -129,5 +129,7 @@ EDM [Ee]num unintuitive Istio +[Mm]egaclite -seldomly \ No newline at end of file +seldomly +lookups \ No newline at end of file