Skip to content

Releases: hlxsites/aem-boilerplate-commerce

B2C v5.0.0

20 Jan 17:04
d4b4914

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: october-2025...january-2026

B2B v1.0.0

20 Jan 18:43
f9b249b

Choose a tag to compare

Hot Fix: Headers

29 Oct 20:54
424a5be

Choose a tag to compare

Release Notes: Centralized FetchGraphQL Instance Management

Overview

Link to release notes in the docs: https://experienceleague.adobe.com/developer/commerce/storefront/releases/hotfixes/centralized-fetchgraphql/

FetchGraphQL instance management has been centralized in scripts/commerce.js, enabling developers to manage request headers at the endpoint services level instead of the drop-in level.

What Changed

  1. Centralized Management: FetchGraphQL instances (Catalog Services and Core) are now created and exported from scripts/commerce.js

  2. Instance Assignment: Each drop-in initializer receives its designated instance type:

    • Catalog Services instance for product/catalog operations
    • Core instance for checkout, customer, and other operations
  3. Instance-Level Configuration: Headers and settings can be applied at the instance level, affecting all drop-ins that use that instance

  4. Bug fix: Customer Group ID: Resolves issues with Customer Group ID header handling

  5. Add support to include the viewId field for ACO storefronts.

  6. Fix the Credit Card server error on ACCS checkouts

Benefits

Upgrading to this boilerplate code enables you to:

  • Configure headers once at the service endpoint level rather than per drop-in
  • Reduce configuration duplication across drop-ins
  • Explicitly control which fetcher instance each drop-in uses
  • Simplify authorization header management across Core drop-ins

Usage Examples

Drop-in Initializer

import { CORE_FETCH_GRAPHQL } from '../commerce.js';

// Set Fetch GraphQL (Core)
setEndpoint(CORE_FETCH_GRAPHQL);

Setting Instance-Wide Headers

import { CORE_FETCH_GRAPHQL } from '../commerce.js';

CORE_FETCH_GRAPHQL.setHeader('My-Header', 'Core Rulez!')

Configuring Customer Group ID

import { CS_FETCH_GRAPHQL } from '../commerce.js';

events.on('auth/group-uid', (uid) => {
  CS_FETCH_GRAPHQL.setHeader('Customer-Group-Id', uid);
});

october-2025

14 Oct 15:14
b0ee66a

Choose a tag to compare

What's Changed

Full Changelog: august-2025...october-2025

Product Discovery V2 patch release

18 Aug 15:40
d726c12

Choose a tag to compare

What's Changed

Full Changelog: august-2025...product-discovery-v2

august-2025

12 Aug 16:16
060f85c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: june-2025...august-2025

june-2025

25 Jun 14:02
6988278

Choose a tag to compare

What's Changed

Read more

April 2025

07 Apr 19:59
9da09be

Choose a tag to compare

Starter Content

22 Feb 08:53
5eca7a0

Choose a tag to compare

Please find the corresponding starter content attached. Please copy the extracted contents of the file into your SharePoint or Google Drive folder and update the fstab.yaml file accordingly.