Releases: elasticpath/composable-frontend
@epcc-sdk/sdks-shopper@0.1.0
Minor Changes
-
a363b78: Regenerate from updated
catalog_viewspec. Adds pricebook segmentation, catalog rule validation and indexing completion types.- New endpoint
validateCatalogRules(POST /catalogs/rules/validate) withmatch_typeoffilter,similarity,conflict, orresolve_for_shopper. - New product fields
available_prices,alternative_prices,available_pricebook_idson shopper-context product responses; component product metadata also gainsalternative_prices. - New
EP-Pricebook-IDs-Of-Available-Prices-To-Showrequest header (comma-delimited pricebook IDs or'all') on release/product endpoints. getRulesfilter now supportspricebook_ids(eq()andin()).- New types:
AvailablePrices,AlternativePrices,RuleMeta,CatalogRuleValidatorRequest,ReleaseIndexingCompleteData.
- New endpoint
Patch Changes
- a363b78: Add
external_reffield on shipping group request and response types (Cart Checkout). Optional string, max 64 characters, accepts alphanumeric/special characters/spaces, not required to be unique.
@epcc-sdk/sdks-pxm@0.1.0
Minor Changes
-
a363b78: Add support for shopper and admin attributes, bundle quantity configuration, and selective column export on products.
- New
ShopperAttributesandAdminAttributestypes (string→string maps, max 100 keys) on products, hierarchies and nodes.shopper_attributesare catalog-visible;admin_attributesare admin-only. - Product list/export endpoints now accept filters using
eq(shopper_attributes.<key>,…)andeq(admin_attributes.<key>,…). - Product import (CSV) supports
shopper_attributes.<key>/admin_attributes.<key>columns, partial updates, and the__REMOVE_ATTRIBUTE__sentinel for deleting a key. - Product export request body supports
data.attributes.columns.includeto cherry-pick exported columns (including wildcards likeadmin_attributes.*). - Bundle component options now expose per-option
min/maxto configure shopper-selectable quantities. - Multi-product responses now include a
linksobject (typed via the newmulti_linksschema).
- New
@elasticpath/catalog-search-instantsearch-adapter@1.0.0
subscriptions@1.0.0
Major Changes
- Initial commit of the subscriptions reference implementation
@epcc-sdk/sdks-shopper@0.0.43
Patch Changes
- d6f7aa3: Add
external_reffield on shipping group request and response types (Cart Checkout). Optional string, max 64 characters, accepts alphanumeric/special characters/spaces, not required to be unique.
@epcc-sdk/sdks-cart-checkout-order@0.0.8
Patch Changes
- b773667: add support for external_ref in shipping groups
@elasticpath/catalog-search-instantsearch-adapter@0.1.0
Minor Changes
-
7698039: Add a typed
includeconfiguration option that forwards to the underlying
postMultiSearchcall as the?include=URL query parameter. When set, EP
returns a top-levelincludedblock alongside hits, and the adapter resolves
each hit'srelationships.<resource>.datareferences against that block —
inliningmain_image,files, and/orcomponent_productsrecords directly
onto the hit so consumers can render rich content without a separate
round-trip per hit (or per page batch via/catalog/products?filter=in(id,…)).new CatalogSearchInstantSearchAdapter({ client, additionalSearchParameters: { query_by: "name,description" }, include: ["main_image"], }) // hit.main_image is now the full record with link.href, mime_type, etc.
main_imageresolves to a single record;filesandcomponent_products
resolve to arrays whose order follows the hit'srelationships.<resource>.data
order. Missing references are skipped silently. If the server omits the
includedblock entirely whileincludewas requested, the adapter logs a
singleconsole.warnper instance to flag the server-side mismatch.Behaviour is fully backward-compatible: when
includeis unset (or an empty
array), the adapter does not add aqueryfield to the SDK call and the
request shape — and resulting hit shape — is byte-for-byte identical to before.
Patch Changes
- Updated dependencies [d6f7aa3]
- @epcc-sdk/sdks-shopper@0.0.43
@epcc-sdk/rule-promotions@0.0.3
Patch Changes
- 38ea71f: add max unit in rule promotion limitation
@epcc-sdk/sdks-catalog-search@0.0.2
Patch Changes
- 2d4d410: Add standalone catalog-search SDK with typed access to the Elastic Path Catalog Search API
@epcc-sdk/commerce-extensions@0.0.3
Patch Changes
- 36fca51: add support for any field in custom api