npm @sap-cloud-sdk/core 1.42.0
v1.42.0

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

Compatibility Notes

  • [core] Use HEAD instead of GET when fetching CSRF tokens. Change the URL for CSRF token fetching in OData requests from the service URL to the request URL.
  • [test-util] Use HEAD for mockHeaderRequest() to align with the core behaviour.
  • [core] Remove experimental Exclude type, which was accidentally exposed as non-experimental.
  • [openapi-generator] Rename the CLI generator command from generate-openapi-client to openapi-generator.
  • [openapi-generator] Rename some generator options and default behavior of those options (details).

New Functionality

  • [openapi-generator] Release the SAP Cloud SDK OpenAPI generator.
  • [core] Support custom axios options for all request builders.
  • [core] Support disabling csrf token request as an option for all request builders.
  • [odata] Support unary operator not in the filter() of OData request builders.

Improvements

  • [odata] Allow using filter functions with boolean return types directly in the filter() of OData request builders without equals(true).
  • [odata-generator] Disable the execute function, when an entity type is shared by multiple entity sets and is used as the return type of function/action imports.
  • [openapi-generator] Introduce verbose option to enable verbose logging.
  • [openapi-generator] Introduce overwrite option to allow overwriting of existing files.
  • [openapi-generator] Introduce include option to allow copying files to the generated clients.

Don't miss a new core release

NewReleases is sending notifications on new releases.