npm @sap-cloud-sdk/core 1.48.0
v1.48.0

latest releases: 1.54.2, 1.54.1, 1.54.0...
2 years ago

Compatibility Notes

  • [generator] Consider the Nullable property on action and function import parameters and return types correctly.
    For parameters, this is uncritical because the type is extended from T to T | null if the property is nullable.
    For return types, the same extension could lead to compile errors after client regeneration because the is broadened including null.

New Functionality

  • [core] Support additional headers and query parameters, that are set on destinations.
  • [core] Support authentication type OAuth2Password.
  • [core] Support DestinationOptions on OpenAPI request builders.
  • [K8s] Support for Kubernetes, check our migration guide.

Improvements

  • [generator] Add underlying type and value information as part of the API documentation for enums.
  • [generator] Disallow invalid enum entries or random string parameters when building filters on enum properties.
  • [openapi-generator] Add additional information to the schema documentation, e.g. maxLength, minimum.

Fixed Issues

  • [core] Fix parsing of proxy environment variables to allow - in the hostname.
  • [core] Fix URL encoding for GetByKey, Update, and Delete request builders, when a key of the entity contains special characters like /.
  • [generator] Fix generation errors, when the Enum type field is used as a key of an entity.
  • [generator] Fix action and function import typing, when parameter or return types are nullable.

Don't miss a new core release

NewReleases is sending notifications on new releases.