Releases: SAP/cloud-sdk-js
Releases · SAP/cloud-sdk-js
v3.15.0
v3.14.0
v3.13.0
v3.12.1
Fixed Issues
v3.12.0
New Functionalities
- [connectivity] Support certificates in PEM format for
ClientCertificateAuthentication
. (36be489)
Fixed Issues
- [openapi] Fix incorrect encoding of query parameters in OpenAPI requests. Query parameters (except for additional custom parameters) are now encoded by default. To change this behavior overwrite the
parameterEncoder
in the request options. (d6b1c5b) - [openapi-generator] Fix types in generated OpenAPI schemas to have proper types instead of type
any
. (6bbdd4d)
v3.11.0
Improvements
- [mail-client] Add optional
logger
property to enable console logs. Defaults tofalse
. (7ec62fa)
Fixed Issues
- [mail-client] Fix "Hostname/IP does not match certificate's altnames" issues with "localhost" when sending e-mails OnPremise. Always pass the host and port of the MAIL destination explicitly to the underlying
nodemailer
instead of falling back to the default.- @sap-cloud-sdk/connectivity@3.11.0
- @sap-cloud-sdk/util@3.11.0 (62f31fb)
v3.10.0
Compatibility Notes
- [connectivity] The SAP Cloud SDK used to get all subaccount and instance destinations, that are available with your JWT (without potentially required token retrieval), through two requests to the destination service (
/subaccountDestinations
and/instanceDestinations
). While this approach can have advantages when caching, it can cause severe performance issues without caching. Therefore, from now on, only one destination is retrieved per requested destination through/destinations
.
You can no longer rely on the SDK to automatically cache all destinations on the first request. If needed, you can callgetAllDestinationsFromDestinationService()
with cache enabled instead. (c721bbd) - [connectivity] Using Principal Propagation through authentication type
NoAuthentication
is no longer supported. This resulted in erroneous behavior for destinations with authentication typeNoAuthentication
. If you need to use Principal Propagation use authentication typePrincipalPropagation
. (28c9cb7)
New Functionalities
- [util] Add support for setting log level for newly created logger using environment variable
SAP_CLOUD_SDK_LOG_LEVEL
. (4d2b49b)
Improvements
- [connectivity] Retrieve only one destination per requested destination instead of all subaccount and instance destinations. (See compatibility notes.) (c721bbd)
Fixed Issues
- [connectivity] Allow the use of authentication type
NoAuthentication
with proxy typeOnPremise
without requiring theSAP-Connectivity-Authentication
header. (28c9cb7)
v3.9.0
v3.8.1
v3.8.0
Compatibility Notes
- [connectivity] Remove unused internal functionality around JWT property access, like
userFromJwt
(removed) andaudiences
(changed). (693cd65)
New Functionalities
- [mail-client] Add Support for
Location ID
in destinations of typeMAIL
(8516b7f)
Fixed Issues
- [generator] Don't generate
delete()
,update()
, andgetByKey()
methods in the RequestBuilder of an entity without keys.- @sap-cloud-sdk/generator-common@3.8.0
- @sap-cloud-sdk/odata-common@3.8.0
- @sap-cloud-sdk/odata-v2@3.8.0
- @sap-cloud-sdk/odata-v4@3.8.0
- @sap-cloud-sdk/util@3.8.0 (34ef77a)