Releases: SAP/cloud-sdk-js
Releases · SAP/cloud-sdk-js
Release list
v1.20.1
Fixed Issues
- Fix the OData client generator to also parse definitions of OpenAPI files with version higher than 3.
v1.20.0
Compatibility Notes
- When executing and building requests with the generic
http-clientcustom request configurations now take precedence over configurations resulting from the given destination. This applies to allhttp-clientrelated functions:buildHttpRequest,addDestinationToRequestConfig,executeandexecuteHttpRequest.
New Functionality
- Support setting log levels for all loggers globally. Use
setGlobalLogLevel('debug')for this. Log levels set individually still take precedence.
Improvements
- Increase the information shown on VDM generation and parallelize the file creation process.
Fixed Issues
- Fix logging of error messages that were logged as
undefinedbefore. - Fix serialization of EDM type Int64 to return a string instead of an instance of
BigNumber. - Fix JWT verification to use the url stored in the
JKUfield of the token's header to fetch the verification key.
v1.19.0
New Functionality
- Allow setting additional query parameters for OData queries, using
withCustomQueryParameters().
v1.18.1
Compatibility Notes
- Due to the intoroduced validation for destination configurations, destinations of type
HTTPare expected to contain aurlorURLproperty. Note that when retrieving a destination from thedestinationsenvironment variable, all destinations are validated. This validation applies even to destinations that are not read.
Improvements
- Introduce validation for destinations retrieved from environment variable or destination service.
- Allow configuring the
destinationsenvironment variable with the same property keys as known from the destination service on SAP Cloud Platform, e.g. nowURLis considered valid in addition to previously onlyurl.
Fixed Issues
- Fix ordering for complex properties including nested complex properties.
- Fix the generator crashing for services containing function imports without a return type.
- Fix the destination processing so that the user can set
PrincipalPropagationas authentication scheme for on-premises connectivity.
v1.18.0
Initial Release of the SAP Cloud SDK for JavaScript / TypeScript as Open Source project.
⚠️ If you have used previous versions of the SAP Cloud SDK, the package names have changed from@sap/cloud-sdk-<package>to@sap-cloud-sdk/<package>
Compatibility Notes
- Some packages of the SAP Cloud SDK for JavaScript have been migrated to external GitHub and are now available as open-source software.
As a result, the packages have been renamed as shown in the list below.
No Breaking changes are made.
The old versions of the packages will not receive further updates, so we heavily encourage switching to the new version of the packages.@sap/cloud-sdk-utilwas renamed to@sap-cloud-sdk/util@sap/cloud-sdk-analyticswas renamed to@sap-cloud-sdk/analytics@sap/cloud-sdk-corewas renamed to@sap-cloud-sdk/core@sap/cloud-sdk-generatorwas renamed to@sap-cloud-sdk/generator@sap/cloud-sdk-test-utilwas renamed to@sap-cloud-sdk/test-util
How to update your project
- Search for all your
dependencies/devDependencies/peerDependenciesin yourpackage.json. - Replace the old package name e.g.,
@sap/cloud-sdk-corewith the new one,@sap-cloud-sdk/core. - Use the stable version of the open source version e.g.,
^1.18.0. - Deleting your
node_modulesand thepackage-lock.json. - Install your dependencies again to reflect the changes via e.g.,
npm i. - Search for your source code that uses the old packages as import and replace it with new names.
Find more details in our quick migration guide
Improvements
- Allow the definition of a custom version for the generated
package.jsonbypassing the desired version to the generator as an argumentversionInPackageJson.
Versions prior to 1.18.0
Changelog
Find the changelog for versions prior to 1.18.0 here.