Spree Commerce
Open-source headless ecommerce platform with a REST API and Next.js storefront
Alternative to: Shopify, Magento, WooCommerce, Salesforce Commerce Cloud
v5.4.0.rc3
2026-03-25đȘđș EU omnibus directive support added
Spree now automatically records price changes to comply with the EU Omnibus Directive. When a product goes on sale, EU regulations require that the lowest price in the preceding 30 days be displayed alongside the discounted price. Spree API now exposes Price history, so you can easily implement it on the storefront. Price changes are tracked and persisted in the database automatically.
https://github.com/spree/spree/pull/13817
Other changes
Core
- Gift Card fixes by @damianlegawiec in https://github.com/spree/spree/pull/13819
- Bring back
add_search_scopefor Product to ease migration path by @damianlegawiec in https://github.com/spree/spree/pull/13816
API
- Split discount codes and gift cards into separate cart endpoints. Rename couponCodes to discountCodes and add dedicated giftCards resource https://github.com/spree/spree/commit/be59a63de881334f0db86b0bd97d7b521b541e4f
- Add cart warnings system for out-of-stock/discontinued items https://github.com/spree/spree/commit/332592dd87e28a63b53ae5c14fa8982c683932bb
- Add Store Policies API endpoint https://github.com/spree/spree/commit/f031b80bca6966596680f21f014f97e1bb971388
- Move password resets to top-level Store API route https://github.com/spree/spree/commit/b52e666fb30b8568cea6084d9ae263366e3c4f48
Install
npx create-spree-app@latest my-store
Updating
npx spree update
Full Changelog: https://github.com/spree/spree/compare/v5.4.0.rc2âŠv5.4.0.rc3