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-util
was renamed to@sap-cloud-sdk/util
@sap/cloud-sdk-analytics
was renamed to@sap-cloud-sdk/analytics
@sap/cloud-sdk-core
was renamed to@sap-cloud-sdk/core
@sap/cloud-sdk-generator
was renamed to@sap-cloud-sdk/generator
@sap/cloud-sdk-test-util
was renamed to@sap-cloud-sdk/test-util
How to update your project
- Search for all your
dependencies
/devDependencies
/peerDependencies
in yourpackage.json
. - Replace the old package name e.g.,
@sap/cloud-sdk-core
with the new one,@sap-cloud-sdk/core
. - Use the stable version of the open source version e.g.,
^1.18.0
. - Deleting your
node_modules
and 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.json
bypassing the desired version to the generator as an argumentversionInPackageJson
.