Skip to content

Releases: SAP/cloud-sdk-js

v3.25.0

20 Dec 14:02
Compare
Choose a tag to compare

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 the options-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

27 Nov 14:56
Compare
Choose a tag to compare

New Functionalities

  • [connectivity] Add transform function to create OAuth2ClientCredentials destinations from service bindings. (7ccc9a3)

v3.23.0

15 Nov 10:41
Compare
Choose a tag to compare

Fixed Issues

  • [generator-common] Fix ESM client code compilation by allowing the module option to be set to nodenext or node16 in a custom tsconfig.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.

v3.22.2

11 Oct 12:46
Compare
Choose a tag to compare

Fixed Issues

v3.22.1

07 Oct 11:32
Compare
Choose a tag to compare

Fixed Issues

  • [eslint-config] Fix incorrect reference of the stylistic plugin in the flat config. (c1d53d2)

v3.22.0

04 Oct 13:30
Compare
Choose a tag to compare

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 and anyOf. Also add support for incorrect usage of the discriminator property with schemas of type object. (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)

v3.21.0

18 Sep 13:04
Compare
Choose a tag to compare

Improvements

  • [openapi-generator] Update generation of properties with nullable: true in the spec to include type | null in the output types. (d2a2394)
  • [openapi-generator] Normalize schemas that have allOf, anyOf, or oneOf 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

27 Aug 09:16
Compare
Choose a tag to compare

Compatibility Notes

  • [connectivity] Throw an error if a JWT for caching was provided, but doesn't contain tenant information. (39eb88c)

Fixed Issues

v3.19.0

23 Aug 10:49
Compare
Choose a tag to compare

Fixed Issues

  • [openapi-generator] Prevent query parameters from being optional when header parameters are required in signature. (a566fdd)

v3.18.1

16 Aug 10:42
Compare
Choose a tag to compare

Fixed Issues