Skip to content

Releases: SalesforceCommerceCloud/commerce-sdk

v2.5.0

02 Aug 14:52
Compare
Choose a tag to compare

API Changes

  • The endpoints getOrder and getOrders 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

25 Jun 14:37
Compare
Choose a tag to compare

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

22 Apr 16:34
2dd3ecd
Compare
Choose a tag to compare

** 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

26 Feb 20:04
e4c3caf
Compare
Choose a tag to compare

** 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

06 Jan 19:17
fc9b70f
Compare
Choose a tag to compare

API Changes

CDN Zones API

  • Scopes added

Shopper Login

  • Updates made

Security and documentation updates made.

v2.1.0

14 Oct 21:03
b670411
Compare
Choose a tag to compare

v2.1.0

API Changes

CDN Zones API

  • Endpoints Added
    • /organizations/{organizationId}/zones/{zoneId}/speed-settings
      Shopper Baskets
  • Endpoints Added
    • /organizations/{organizationId}/baskets/{basketId}/price-books

Documentation

  • Updated Readme with Security Information.
  • Added examples to retrieve shopper auth token

v2.0.1

16 Sep 19:43
1300c70
Compare
Choose a tag to compare

Enhancements

  • Minor documentation updates

v2.0.0

22 Jul 21:30
fae10b9
Compare
Choose a tag to compare

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

22 Jul 18:30
Compare
Choose a tag to compare

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

22 Jul 14:43
Compare
Choose a tag to compare

v1.6.0-beta.0

API Changes

None

Bug Fixes

Authentication was not being persisted by clients.