Skip to content
Changelog

Company Switcher changelog

July 30, 2026

Infrastructure

  • Drop-in SDK: Rebuilt against Drop-in SDK 2.0.0, including the TypeScript 6.0 and ESLint 9 upgrade. No props, APIs, or behavior changed.

June 10, 2026

New features

  • Configurable company list page size: New optional size prop on CompanySwitcher controls the GraphQL pageSize for customer.companies, defaulting to 100 instead of the API’s typical cap of 20. getCustomerCompanyInfo accepts { size } and caches results per page size. CustomerFragment restored for GraphQL extensibility (#33).

Infrastructure

  • Node.js 22 LTS: The package now builds and distributes using Node.js 22 LTS. The engines.node constraint has been removed as this drop-in targets browser environments exclusively.

March 24, 2026

The Company Switcher drop-in has been updated with the following changes:

  • Language definition merge fix - User-provided langDefinitions passed to the initializer are now correctly merged with the drop-in’s bundled defaults. Label and placeholder overrides now take effect as expected instead of being silently ignored ( #26 ).

February 17, 2026

The Company Switcher drop-in has been updated with the following changes:

  • Drop-in SDK upgrade - Updated to Drop-in SDK ~1.7.0. No user-facing changes in this release.

January 8, 2026

Initial beta release of the Company Switcher drop-in for multi-company B2B scenarios. This drop-in enables B2B users to switch between multiple companies:

Core Features

  • Multi-company context switching - B2B users can switch between multiple companies they belong to, with automatic context updates throughout the storefront ( #701 ).
  • Page reload on company change - Company switching triggers page reloads to ensure complete data consistency and proper context switching across all components ( #976 ).
  • Context-aware redirects - Intelligent redirection system redirects users to appropriate pages when switching companies, handling order details, purchase orders, and quote templates ( #976 ).

Integration

  • Commerce Account Navigation integration - Seamlessly integrates with the Commerce Account Navigation block, updating menu visibility based on company context and permissions ( #797 , #797 ).
  • Automatic navigation updates - Account navigation automatically refreshes when company context changes, showing appropriate menu items for the selected company ( #797 ).

Product Availability

  • Product availability validation - Automatically validates product availability when switching companies, redirecting to 404 when products are not available for the selected company ( #982 ).

Company Filtering

  • Inactive company filtering - Inactive companies are automatically filtered from the company switcher, preventing users from switching to deactivated companies ( #1003 , #1024 ).