Releases: SAP/cloud-sdk-js
Releases · SAP/cloud-sdk-js
v3.25.0
New Functionalities
- [openapi] Introduce
setBasePath()
method on the OpenAPI request builder, allowing a custom base path URL to be set for a single request. This base path is prepended to the API path parameter for that single request. (2943cd5) - [openapi, openapi-generator, util] Add
basePath
option in theoptions-per-service.json
file in the OpenAPI generator. This option prepends the base URL path to the API path parameter for every request. (2943cd5)
v3.24.0
v3.23.0
Fixed Issues
- [generator-common] Fix ESM client code compilation by allowing the
module
option to be set tonodenext
ornode16
in a customtsconfig.json
file. (745766e) - [mail-client] Fix mail client issue for port 465 with on-premise setup. (ea9b6b5)
- [mail-client] Fix email sending functionality to ensure that emails are sent to all valid addresses. Previously, if an email failed, all subsequent emails were not sent.
- @sap-cloud-sdk/[email protected]
- @sap-cloud-sdk/[email protected] (62eaed5)
v3.22.2
Fixed Issues
- [mail-client] Fix sending e-mails through socks proxies in Node 20 and higher.
- @sap-cloud-sdk/[email protected]
- @sap-cloud-sdk/[email protected] (7f8ce79)
v3.22.1
v3.22.0
Compatibility Notes
- [eslint-config] Remove
import/no-relative-parent-imports
rule that has never worked correctly as provided. (a729a72)
New Functionalities
- [eslint-config] Add
@typescript-eslint/consistent-type-imports
to the ruleset. (252c338) - [openapi-generator] Add support for discriminator properties in schemas that include
oneOf
andanyOf
. Also add support for incorrect usage of the discriminator property with schemas of typeobject
. (d073a48)
Fixed Issues
v3.21.0
Improvements
- [openapi-generator] Update generation of properties with
nullable: true
in the spec to includetype | null
in the output types. (d2a2394) - [openapi-generator] Normalize schemas that have
allOf
,anyOf
, oroneOf
alongside properties defined at the same level. (d2a2394) - [openapi-generator] Configure generated OpenAPI clients to handle
text/plain
,application/octet-stream
, and wildcard*/*
content types in response headers. (89f77cd)
v3.20.0
Compatibility Notes
- [connectivity] Throw an error if a JWT for caching was provided, but doesn't contain tenant information. (39eb88c)
Fixed Issues
- [connectivity] Derive tenant information for destination caching also for IAS tokens.
- @sap-cloud-sdk/[email protected]
- @sap-cloud-sdk/[email protected] (39eb88c)
v3.19.0
v3.18.1
Fixed Issues
- [connectivity] Fix IAS to XSUAA token exchange to have less strict verification.
- @sap-cloud-sdk/[email protected]
- @sap-cloud-sdk/[email protected] (c1bf319)