Release Notes
Should I Update?
We highly recommend updating to the latest SAP Cloud SDK version regularly.
It will help you:
- Ensure access to the latest SAP Cloud SDK features
- Keep up with the latest changes on SAP Business Technology Platform
- Update client libraries giving access to the latest SAP services on SAP Business Technology Platform and SAP S/4HANA.
- Protect yourself from bugs and breaking changes in the future
These libraries are free (but not open-source) and distributed under the SAP Developer license through npmjs.com. You can generate a typed client library yourself by using our OData generator and Open API. To easily search for services and get typed client library for them, use our API Business Hub integration.
1.54.1 [Core Modules] - Feb 18, 2022
Improvements
- [core] Announce 2.0 release in the
postinstallscript.
2.0.0 [Client Libraries] - Feb 10, 2022
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest SAP S/4HANA Cloud release 2022.
- The update covers all the changes to existing OData services and introduces new ones.
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2021 FPS1 of SAP S/4HANA On-premise.
- The update covers all the changes to existing OData services and introduces new ones.
2.0.0 [Core Modules] - Feb 03, 2022
We released version 2 :partying_face: Be mindful of breaking changes when upgrading. Enjoy multiple improvements and new features. Check the upgrade guide.
Compatibility Notes
- Upgrade the ES version to
es2019.
New Functionality
- [connectivity] Create a new package with minimal API.
- [connectivity] Add
registerDestinationfunction to create destinations in thedestinationsenvironment variable. - [connectivity] Support the
SamlAssertionflow in destination retrieval. - [http-client] Create a new package with minimal API.
Removed functionality
- [generator] Remove the option:
aggregatorDirectoryNameandaggregatorNpmPackageName - [generator] Remove the option:
generateTypedocJson - [generator] Remove
packageJsonfunction from aggregator-package - [core] Remove some functions
- [analytics] Remove the
@sap-cloud-sdk/analyticspackage
New module structure
- [core] We have split the
corepackage into smaller packages, so functions are moved to the target package.
Changed signatures
- [core]
EdmTypeFieldonly support EDM types, no field types in generics
Changed implementation
- [generator] changed the following implementations
ServiceNameFormatterdeprecated constructor removed, reserverdName parameter from typeNameToFactoryName method removedVdmNavigationpropetymultiplicity, isMultiLink removedVdmFunctionImportReturnTypeisMulti removed
- [openapi] changed the following implementations
executeRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.executeRawRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.
- [odata-common] changed the following implementations
ComplexTypeFielddeprecated constructors removedConstructableSelectable removedCreateRequestBuilderBaseprepare removedEntityBasegetCurrentMapKey, initializeCustomFields removedEnumFieldedmType removedFilter_fieldName property removedFilterFunctiontoString, transformParameter removedLinkclone, selects removedMethodRequestBuilderwithCustomHeaders, withCustomQueryParameters, withCustomServicePath removed, build protectedODataRequestConfigcontentType, deprecated constructor removedODataBatchRequestConfigbatchId, content_type_prefix removedOneToOneLinkclone removedUpdateRequestBuilderBaseprepare, requiredFields, ignoredFields, withCustomVersionIdentifier removedexecuteRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions..executeRawRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.
- [odata-v2] changed the following implementations
executeRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.executeRawRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.
- [odata-v4] changed the following implementations
executeRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.executeRawRequest Builder APIs changed to use a single parameter, either a Destination or DestinationFetchOptions.
- [connectivity] changed the following implementations
getDestinationchanged to use DestinationFetchOptions as single parameter.getProxyRelatedAuthHeaderslegacyNoAuthOnPremiseProxy case removedserviceTokenusesJWTinstead of userJwt now.jwtBearerTokenusesJWTinstead of userJwt now.fetchVerificationKeysmerged withexecuteFetchVerificationKeys, now only accepts URL as parameter
- [http-client] changed the following implementations
executeHttpRequestfetches CsrfToken for non-GET requests by default.
1.54.0 [Core Modules] - Feb 02, 2022
New Functionality
- [core] A new proxy type
PrivateLinkis now supported. This proxy type is used when your destination represents a tunnel created via Private Link Service.
1.53.1 [Core Modules] - Jan 18, 2022
Improvements
- We updated the version of
@sap/edm-convertersto ensure Node 14 compatibility for the OData code generator.
Fixed Issues
- We fixed the missing token in the header issue for
OAuth2Passwordauthentication type.
[CLI] - Jan 5, 2022
- Archive the GitHub repository.
- Deprecate the npm package.
[Sample Projects] - Jan 5, 2022
- Publish the GitHub repository, showcasing the SAP Cloud SDK for JavaScript.
1.53.0 [Core Modules] - December 9, 2021
Fixed Issues
- Fix destination retrieval in multi-tenant use cases and user based authorization flows like
OAuth2UserTokenExchange,OAuth2SAMLBearerAssertionorOAuth2JWTBearer. If the destination is maintained in the provider account and a subscriber JWT is provided theX-user-tokenis set with the subscriber JWT. This is crucial to determine the tenant, if thetokenServiceUrlTypeof the destination is common. - Fix missing X-tenant header, if the authentication flow is
OAuth2ClientCredentialsand thetokenServiceUrlTypeof the destination is common.
1.28.2 [Client Libraries] - November 17, 2021
Compatibility Notes
- We stopped generating API documentation for typed client libraries. You can discover all required API information via your IDE features like autocomplete and IntelliSense.
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2111 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData services and introduces new ones.
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2021 FPS0 of SAP S/4HANA On-premise.
- The update covers all the changes to existing OData services and introduces new ones.
- We released a regular update for pregenerated client libraries for Workflow API for Cloud Foundry.
1.52.0 [Core Modules] - November 5, 2021
Compatibility Notes
- We changed default cache isolation strategy from
IsolationStrategy.TenanttoIsolationStrategy.Tenant_User. This applies when you setuseCachetotruewhile using agetDestinationmethod for a destination lookup.
Fixed Issues
- We now cache a destination only when a
JWTcontains all necessary information about aTenantand aUser. For example, when usingIsolationStrategy.Tenant_User, the JWT has to contain both tenant id and user id. - If
JWThas an expiration time, we'll use it to override the default cache expiration time of 5 minutes. - A provider token won't be used to retrieve a destination from cache from now on.
1.27.0 [Client Libraries] - Aug 20, 2021
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2108 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData services and introduces new ones.
- The service
API_CDR_FILE_DOWNLOAD_SRVis not included and will be released with the next release or on-demand.
1.26.0 [Client Libraries] - June 04, 2021
-
We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2020 FPS2 of SAP S/4HANA On-premise.
- The update covers all the changes to existing OData services and introduces new ones.
-
We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2105 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData services and introduces new ones.
- The missing service
CACREDITWORTHINESS_0001is included.
-
We released a regular update for pregenerated client libraries for Workflow API for Cloud Foundry.
1.25.0 [Client Libraries] - May 20, 2021
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2105 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData services and introduces new ones.
- The service
CACREDITWORTHINESS_0001is not included and will be released later.
1.24.0 [Client Libraries] - January 18, 2021
Compatibility Notes
- A few operations were removed from some SAP S/4HANA Cloud 2102 services. These operations were never supported by the SAP S/4HANA system (like CRUD support for some entities), so no existing functionality is affected. The following services are affected:
- Nota Fiscal – Create, Update -
API_LOGBR_NOTAFISCAL_SRV - Purchase Contracts -
API_PURCHASECONTRACT_PROCESS_SRV - Outbound Delivery (A2X) -
API_OUTBOUND_DELIVERY_SRV_0002
- Nota Fiscal – Create, Update -
- The service
@sap/cloud-sdk-vdm-purchasing-inforecord-servicewas renamed to@sap/cloud-sdk-vdm-purchasing-info-record-service.
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2102 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData services and introduces new ones.
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2020 FPS1 of SAP S/4HANA On-premise.
- The update covers all the changes to existing OData services and introduces new ones.
1.22.0 [Client Libraries] - November 6, 2020
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2011 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData services and introduces new ones.
1.21.0 [Client Libraries] - September 10, 2020
New Functionality
- We released an extracurricular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2008 of SAP S/4HANA Cloud.
- The update introduces new libraries for the SAP S/4HANA OData v4 services.
1.20.0 [Client Libraries] - August 13, 2020
New Functionality
- We released a regular update for pregenerated client libraries (also known as VDM) for the latest RTC release 2008 of SAP S/4HANA Cloud.
- The update covers all the changes to existing OData v2 services and introduces new ones.