Spree Commerce logo

Spree Commerce

Open-source headless ecommerce platform with a REST API and Next.js storefront

Alternative to: Shopify, Magento, WooCommerce, Salesforce Commerce Cloud

Spree Commerce screenshot

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_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