npm @sap-cloud-sdk/core 1.46.0
v1.46.0

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

Compatibility Notes

  • [core] Deprecate JWT related interfaces in favor of the interfaces provided by the jsonwebtoken library.
    The following interfaces were deprecated:

    • JWTHeader (use JwtHeader instead, the property typ is now optional)
    • JWTPayload (use JwtPayload instead)
    • CompleteDecodedJWT (use Jwt instead)
    • RegisteredJWTClaims
    • RegisteredJWTClaimsBasic
    • RegisteredJWTClaimsTenant
    • RegisteredJWTClaimsUser
  • [openapi-generator] Change the basis for directory, package, and service names, when generating clients. If not specified otherwise, the default is based on the directory name instead of the service name.

  • [eslint-config] Remove brace-style rule for compatibility with Prettier 2.3.

New Functionality

  • [openapi-generator] Add the -c/--config command line option to specify options through a configuration file instead of on the command line.

Improvements

  • [core] Support setting custom SAP-Connectivity-Authentication headers for Principal Propagation.
  • [core] Improve types in convenience functions for JWT access. See "Compatibility Notes" for details.
  • [openapi-generator] Improve the error message for invalid or unsupported path patterns.
  • [openapi-generator] Improve the error message when detecting invalid Swagger 2.0 specification files.

Fixed Issues

  • [core] Fix type error to allow filtering on one-to-many navigation properties in lambda expressions.
  • [openapi-generator] Base uniqueness check for directory names on directory names in optionsPerService instead of the human readable service name.

Don't miss a new core release

NewReleases is sending notifications on new releases.