Releases: SalesforceCommerceCloud/commerce-sdk
v2.5.0
API Changes
- The endpoints
getOrder
andgetOrders
have been added to the Orders API.
Enhancements
- The SDK now sends a custom user agent with requests,
commerce-sdk@<version>;
.
If you specify your own user agent in the client config, it will be replaced.
If you specify your own user agent when making a request, it will be merged with
the SDK user agent.
v2.4.0
v2.4.0
Moved APIs
- The Shopper Search API is now in the Discovery API family. To maintain
backwards compatibility, the API is also available under the old Search family.
Future changes to the Shopper Search API will only be applied to the version in
the Discovery family.
New APIs
- Shopper Discovery Search has been added to the SDK.
API Changes
Shopper Login
- New endpoints
Endpoint Name | Description |
---|---|
getTrustedSystemAccessToken | Get a shopper JWT/access token, along with a refresh token for registered customers whose credentials are stored using a third party system. |
⚠️ Planned future release will contain breaking changes ⚠️
Due to an issue with the generation of the type definitions, an upcoming release
of the SDK will change type definitions to include namespaces. As this is a
breaking change, a new major version will be released (v3.0.0). Only the names of
the types will change, not their contents or any of the exported code. If you
only use JavaScript, or if you use TypeScript but only import the client classes,
then your usage will not change. You will likely only need to make changes if
you import the type definitions directly.
v2.3.0
** New API **
SLAS (Shopper Login & API Authentication Service) Administration is now supported in the SDK
** API Changes**
Shopper Customers
New operations
registerExternalProfile
getExternalProfile
v2.2.0
** New API **
Shopper Login Authentication Service is now supported in the SDK
** API Changes**
CDN Zones API
- New operations
- getCertificates
- updateCertificates
Shopper Login BETA
-
New operation
- logoutCustomer
-
Operation changed
- authenticateCustomer changed from GET to POST
Catalogs
- New operations
- runCategoryRules
- getCategorizationStatus
- createUpdateRule
- deleteRule
- getCategoryRuleConditions
- deleteCategoryRuleConditions
Products
- New operation
- getCategorizationAttributeDefinitions
v2.1.1
API Changes
CDN Zones API
- Scopes added
Shopper Login
- Updates made
Security and documentation updates made.
v2.1.0
v2.1.0
API Changes
CDN Zones API
- Endpoints Added
- /organizations/{organizationId}/zones/{zoneId}/speed-settings
Shopper Baskets
- /organizations/{organizationId}/zones/{zoneId}/speed-settings
- Endpoints Added
- /organizations/{organizationId}/baskets/{basketId}/price-books
Documentation
- Updated Readme with Security Information.
- Added examples to retrieve shopper auth token
v2.0.1
Enhancements
- Minor documentation updates
v2.0.0
GA
- SDK GA Release
- All APIs are now GA except Shopper Login which is still in Beta
Bug Fixes
- Fixes an issue resolving nested data types
v1.7.0-beta.0
Breaking
- Customer API now includes Shopper Login
- Types have been migrated into their corresponding class, making them easier to import.
v1.6.0-beta.0
v1.6.0-beta.0
API Changes
None
Bug Fixes
Authentication was not being persisted by clients.