Skip to main content

Release: 3.18

· 4 min read
Pierre Martin
CTO & Co-founder @ Front-Commerce

React 19, Gezy features, and major dependency upgrades

Front-Commerce 3.18 followed the path started by 3.17. It upgrades the platform to React 19 and modernizes key dependencies including payment SDKs (Stripe, Adyen) and the GraphQL Codegen toolchain. Gezy users benefit from new B2B capabilities with negotiable quotes and back order management. We've also added new configuration options for URL trailing slashes (SEO) and containerized environments, alongside bug fixes that improve overall stability.

Let's dive into the details!

Gezy: Negotiable quotes

Gezy users now have access to negotiable quotes. Customers can view their quote list, see quote details, and merchants can manage both public and private quotes.

Gezy Negotiable Quotes

Gezy: Back orders & restock information

Gezy users can now manage customer expectations for out-of-stock products. When a product is unavailable, customers can see estimated restock dates and place back orders. The theme displays restock information clearly to shoppers.

Major dependency upgrades

This release includes significant dependency upgrades across the platform.

React 19: Front-Commerce now uses React 19, bringing performance improvements and new features. Related packages have been updated accordingly: react-cookie 7 → 8, react-responsive 9 → 10, and @testing-library/react 14 → 16.

GraphQL Codegen: The entire @graphql-codegen package collection has been upgraded to their latest major versions, including @graphql-codegen/cli 5 → 6, @graphql-codegen/client-preset 4 → 5, @graphql-codegen/typescript 4 → 5, and related packages.

Payment SDKs: Both Stripe and Adyen integrations received major upgrades. Stripe packages have been updated: @stripe/react-stripe-js 2 → 5, @stripe/stripe-js 3 → 8, and stripe 14 → 20. Adyen packages have been updated: @adyen/adyen-web 5 → 6, and @adyen/api-library 15 → 30. Additionally, the shopper email is now included in Adyen payment method requests to improve fraud detection accuracy.

Trailing slash configuration

For better URL consistency and SEO, you can now configure how your storefront handles trailing slashes. Choose to either enforce trailing slashes on all URLs or remove them entirely. This replaces the previous FRONT_COMMERCE_SERVER_DISABLE_TRAILING_SLASH_REDIRECT environment variable.

Other changes

Features

  • Algolia:
    • Add configuration for request timeouts in Algolia client
    • Add support for custom price sorting index
  • Gezy:
    • Display negotiable quote list and details
    • Add compatibility for public and private quotes
    • Add profile information in the user session data
  • Core:
    • Add loopbackUrl store option for containerized environments
    • Add trailing slash configuration (deprecates FRONT_COMMERCE_SERVER_DISABLE_TRAILING_SLASH_REDIRECT)

Improvements

  • Gezy:
    • Implement API error details for better error messages in wishlist modal
  • Theme Chocolatine:
    • Display specific API error messages instead of generic errors in wishlist
  • Adyen:
    • Add guard against invalid order when loading payment status

Bug Fixes

  • Adyen & Payzen:
    • Add missing Content Security Policy directives
  • Gezy:
    • Fix an issue where items could not be removed from wishlists
    • Fix missing X-LMB-Ecommerce-UUID header in playground "Copy as cURL" button
  • Remix:
    • Fix an issue where initial skeleton build could fail
    • Fix a hydration issue caused by cookie-based conditional rendering during SSR
  • CMS:
    • Register editorialToolboxSections extension point to prevent runtime errors when the cms package is not included
  • Compat:
    • Fix ReferenceError: require is not defined in production builds when using Apollo SSR

Fixes from 3.18 have also been backported into previous minor versions. The following patch versions were released: 3.17.1, 3.16.2, 3.15.3, 3.14.4, 3.13.5, 3.12.7, 3.11.8, and 3.10.9.


Upgrade Front-Commerce (Migration guides): 3.18.0
Read the full changelog (Customers only): 3.18.0.