Release Notes
3.24.0 [Core Modules] - November 27, 2024
New Functionalities
- [connectivity] Add transform function to create OAuth2ClientCredentials destinations from service bindings. (7ccc9a3)
3.23.0 [Core Modules] - November 15, 2024
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/connectivity@3.23.0
- @sap-cloud-sdk/util@3.23.0 (62eaed5)
3.22.2 [Core Modules] - October 11, 2024
Fixed Issues
- [mail-client] Fix sending e-mails through socks proxies in Node 20 and higher.
- @sap-cloud-sdk/connectivity@3.22.2
- @sap-cloud-sdk/util@3.22.2 (7f8ce79)
3.22.1 [Core Modules] - October 07, 2024
Fixed Issues
- [eslint-config] Fix incorrect reference of the stylistic plugin in the flat config. (c1d53d2)
3.22.0 [Core Modules] - October 04, 2024
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
- [eslint-config] Fix incorrect resolution of imports for TypeScript. This may result in a lot more findings. (a729a72)
- [openapi-generator] Ignore charset parameter in media types given in OpenAPI specification. (c4153b9)
3.21.0 [Core Modules] - September 18, 2024
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)
3.20.0 [Core Modules] - August 27, 2024
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/resilience@3.20.0
- @sap-cloud-sdk/util@3.20.0 (39eb88c)
3.19.0 [Core Modules] - August 23, 2024
Fixed Issues
- [openapi-generator] Prevent query parameters from being optional when header parameters are required in signature. (a566fdd)
3.18.1 [Core Modules] - August 16, 2024
Fixed Issues
- [connectivity] Fix IAS to XSUAA token exchange to have less strict verification.
- @sap-cloud-sdk/resilience@3.18.1
- @sap-cloud-sdk/util@3.18.1 (c1bf319)
3.18.0 [Core Modules] - August 07, 2024
New Functionalities
- [connectivity] Support IAS tokens without the need to pass
iss
in the destination fetch options. (06e5c72) - [openapi-generator, generator-common] Introduce option
generateESM
in OpenAPI generator to generate ESM compatible code. (3a93e38)
Fixed Issues
- [connectivity] Fix the JwtPayload import.
- @sap-cloud-sdk/resilience@3.18.0
- @sap-cloud-sdk/util@3.18.0 (c23ccfd)
- [mail-client] Fix the type of
replyTo
property in theMailConfig
interface. (00fa35d)
3.17.0 [Core Modules] - July 30, 2024
New Functionalities
- [connectivity] Add
getTenantId()
function for convenience. (dbad36f) - [mail-client] Add support for multi-tenancy for on-premise mail destinations. (68a07d6)
Improvements
- [connectivity] Use tenant ID instead of tenant-aware authentication URL for the client credentials cache. (54a46a3)
- [connectivity] Retrieve service token for OAuth2ClientCredentials authentication only once. (99b5009)
- [openapi-generator] Generated OpenAPI clients support
application/merge-patch+json
media type for patch requests. (e9a243a)
Fixed Issues
- [connectivity] Fix token fetching for mail multi-tenancy scenarios.
- @sap-cloud-sdk/resilience@3.17.0
- @sap-cloud-sdk/util@3.17.0 (86f4158)
- [mail-client] Fix token fetching for mail multi-tenancy scenarios. (86f4158)
3.16.0 [Core Modules] - June 27, 2024
Compatibility Notes
- [connectivity] The JKU header in JWTs is no longer verified. Instead the signature of the JWT is verified, which is more secure. (4f29615)
- [generator] Generation of OData clients does no longer fail if
basePath
value cannot be determined. It will be set to/
by default. (ef3a800)
New Functionalities
-
[connectivity] Add convenience function
transformServiceBindingToDestination()
to create destination from service bindings. The following service bindings are supported:- business-logging
- destination
- s4-hana-cloud
- saas-registry
- workflow
- service-manager
- xsuaa
- aicore (efa75d3)
Improvements
- [connectivity] Expose
getServiceBinding()
. This was previously an internal function. (efa75d3) - [generator] Generated clients support
noImplicitOverride
config option intsconfig.json
. (022adae) - [generator] If
basePath
cannot be determined, it is set to/
, and generation no longer fails. (28ab1a4) - [openapi-generator] Generate OpenAPI clients with header parameters. (aa0b849)
Fixed Issues
- [generator] Fix incorrect warning logs for operation imports that have a matching operation in the service specification. (9efe37e)
3.15.0 [Core Modules] - May 02, 2024
Improvements
- [openapi] Expose custom type for addCustomRequestConfiguration method of Openapi Request Builder (4b3ebfd)
- [eslint-config] Add a config based on the new Eslint flat config format. The new config can be used inside a
eslint.config.js
file. (7760692)
3.14.0 [Core Modules] - April 17, 2024
Fixed Issues
- [openapi-generator] Fix nested array type in generated OpenAPI schemas such that array wraps the whole object. (ff3ede6)
- [openapi-generator] Fix serialization of path params that contain quotes to avoid syntax error and failing client generation (b4bc9ad)
3.13.0 [Core Modules] - March 21, 2024
New Functionalities
- [connectivity] Support the AI Core Service Binding when creating destinations from service bindings (f72986a)