🛒 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_page
field usage in dashboard analytics
Developer Experience
- New extensions created with Brakeman enabled by default
- Fixed
.rubocop.yml
in 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
void
order payment state - Fixed orders export functionality
- Removed incompatible
add_breadcrumb
usage (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
HttpOnly
flag for enhanced security