Spree Commerce
Open-source headless ecommerce platform with a REST API and Next.js storefront
Alternative to: Shopify, Magento, WooCommerce, Salesforce Commerce Cloud
About
Versions (100)
v5.0.4
2025-05-22π Spree 5.0.4 Release Notes
β Release Date: May 22, 2025
π Compare v5.0.3β¦v5.0.4
β¨ Enhancements
Admin Interface Improvements
- Improved permissions guard for exporting/creating customers
- Added missing admin partial injection points
- Fixed customer orders tab for custom user classes
- Improved management of webhook subscribers
Page Builder Upgrades
- Added the ability to add more blocks within sections
- General usability and flexibility improvements
- Quantity picker controller is now customizable via Stimulus
Storefront Enhancements
- Automatically injects theme CSS class into
<body> - Added fallback βNo resultsβ message for product searches
- Improved product list performance (N+1 query fix for brand names)
- CSRF protection is enabled for the wished items endpoint
- Improved handling of backordered variants in checkout
- Explicit font weights used to resolve Google Fonts API issues
SEO and URL Improvements
- Replaced hardcoded URLs
- Fixed
landing_pagefield usage in dashboard analytics
Developer Experience
- New extensions created with Brakeman enabled by default
- Fixed
.rubocop.ymlin the extension template - API factories now included in admin test suite
π Bug Fixes
- Fixed checkout for products with untracked inventory
- Removed duplicate visits calculation in dashboard controller
- Corrected display of
voidorder payment state - Fixed orders export functionality
- Removed incompatible
add_breadcrumbusage (was 5.1-specific) - Fixed boolean translation display issues (
say_yes,say_no)
π¦ Dependency Updates
- β¬οΈ Bootstrap JS upgraded to
4.6.2 - β¬οΈ dompurify upgraded to
3.2.5
π Security
- Order token cookie is now set with
HttpOnlyflag for enhanced security