Skip to content

Releases: SalesforceCommerceCloud/commerce-sdk

v2.1.1

06 Jan 19:17
fc9b70f

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

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

Choose a tag to compare

Enhancements

  • Minor documentation updates

v2.0.0

22 Jul 21:30
fae10b9

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

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

Choose a tag to compare

v1.6.0-beta.0

API Changes

None

Bug Fixes

Authentication was not being persisted by clients.

v1.5.0-beta.0

16 Jul 18:24
4402938

Choose a tag to compare

API Changes

Shopper Stores API

  • Shopper Stores API has been removed

Customer API

  • Type Name Removed

    • CustomerGroupMember
    • CustomerGroup type removed from Customer API
    • Customer API
    • CustomerGroupMemberSearchResult
    • CustomerGroupMembers
    • CustomerGroupSearchResult
    • Rule
  • Display Name Changed

    • CreateAddressForCustomerInCustomerList renamed to createAddressForCustomerInCustomerList
  • Endpoints Removed

    • /organizations/{organizationId}/sites/{siteId}/customer-groups
    • /organizations/{organizationId}/{customerGroupId}
    • /organizations/{organizationId}/member-search
    • /organizations/{organizationId}/members
    • /organizations/{organizationId}/sites/{siteId}/customer-group-search

Shopper Baskets API

  • Display Name Changed
    • addTaxForBasketItem renamed to addTaxesForBasketItem

Shopper Login SLAS

  • Shopper Login & API Access Service - SLAS renamed to Shopper Login

Bug Fixes

  • Authorization header is not removed for conditional get requests
  • Debug logging now prints working curl commands

Breaking

  • Types have been moved to a types object and 'T' postfix has been removed

v1.4.5-beta.0

24 Jun 14:41
892dc51

Choose a tag to compare

v1.4.5-beta.0

API Changes

  • SDK now contains new Shopper Login API

Shopper APIs

Shopper Baskets API

  • New endpoints
Endpoint Name Description
addTaxForBasket Enables external taxation for the specified basket
addTaxForBasketItem Add tax items in external tax mode
getTaxesFromBasket Retrieves taxes for specified basket

Shopper Orders API

  • New endpoints
Endpoint Name Description
getTaxesFromOrder Retrieves external taxes for the specified order

Bug Fixes

  • Fixed default cache issue when the HTTP response is large

v1.4.3-beta.0

20 May 15:33
1a4f74e

Choose a tag to compare

Core Functionality

  • Exposed logger configuration to user
import { sdkLogger } from "@commerce-sdk"

# To set log level
sdkLogger.setLevel(sdkLogger.levels.INFO);
  • User-agent now defaults to commerce-sdk@${VERSION}
  • Retry settings has been exposed. README.md has more details.
    Example:
    productClient = new Product({
      retrySettings: {
        // This means 3 total calls are made
        retries: 2,
        // Max wait between retries
        maxTimeout: 200,
        // Min wait between retries
        minTimeout: 100
      }
    }
  • Exchange connector has been removed from the commerce-sdk repository
  • Method prototype documentation has been improved

v1.4.1-beta.0

06 May 17:52
0fcacde

Choose a tag to compare

v1.4.1-beta.0

API Changes

Product APIs

Customer API

  • BREAKING: Removed endpoint method changes

    Removed:

    • getCustomerList

Product API

  • BREAKING: Endpoint method name changes

    Changed:

    Existing Method Name New Method Name
    deleteVariationGroupForMaster unassignVariationGroupFromMasterProduct
    updateVariationGroupInMasterProduct updateVariationGroupForMasterProduct
    assignVariationGroupForMasterProduct assignVariationGroupToMasterProduct
    deleteVariationForMaster unassignVariationFromMasterProduct
    updateVariationsInMasterProduct updateVariationForMasterProduct
    createVariationForMasterProduct assignVariationForMasterProduct

Shopper Customer API

  • BREAKING: Removed endpoint method changes

    Removed:

    • getCustomerAddresses
    • getCustomerPaymentInstruments
    • getCustomerProductListItems

    Changed:

    Existing Method Name New Method Name
    postResetPasswordToken getResetPasswordToken

Core Functionality

Enhancements

  • SDK does not set TTL for cached assets based on the HTTP headers
  • Added logging capability
  • Exchange Connector is deprecated on commerce-sdk in favor of the raml-toolkit
  • Examples of client instantiations have been added to APICLIENTS.md