Skip to content

Releases: SAP/cloud-sdk-js

v3.18.1

16 Aug 10:42

Choose a tag to compare

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)

v3.18.0

07 Aug 14:17

Choose a tag to compare

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 the MailConfig interface. (00fa35d)

v3.17.0

30 Jul 14:37

Choose a tag to compare

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)

v3.16.0

27 Jun 14:25

Choose a tag to compare

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 in tsconfig.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)

v3.15.0

02 May 09:59

Choose a tag to compare

Improvements

  • [openapi] Expose custom type for the addCustomRequestConfiguration() method of the 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)

v3.14.0

17 Apr 07:50

Choose a tag to compare

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)

v3.13.0

21 Mar 15:41

Choose a tag to compare

New Functionalities

  • [connectivity] Support the AI Core Service Binding when creating destinations from service bindings (f72986a)

v3.12.1

08 Mar 15:17

Choose a tag to compare

Fixed Issues

  • [connectivity] Fix fetchDestinationWithoutTokenRetrieval to correctly return instance and subaccount destinations.
    • @sap-cloud-sdk/resilience@3.12.1
    • @sap-cloud-sdk/util@3.12.1 (60fdc04)
  • [openapi, odata-common] Fix type in addCustomRequestConfiguration method to accept values of type any. (60fdc04)

v3.12.0

09 Feb 09:53

Choose a tag to compare

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

23 Jan 14:24

Choose a tag to compare

Improvements

  • [mail-client] Add optional logger property to enable console logs. Defaults to false. (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)