Spree 1.2.0 has now been officially released. We’ve been working on this release all summer and it’s truly been a group effort. There were 961 commits by 32 different authors. Only a few of those authors actually work for Spree Commerce Inc. so that means our awesome community continues to step up and make invaluable contributions. Keep up the great work!
Special thanks to Ryan Bigg who did a ton of work on this release. The authentication changes and checkout flow in particular represent huge improvements to Spree and were a direct result of close coordination with our users who were struggling on these fronts.
Let’s review some of the highlights of this release:
Authentication Has Been Removed
Spree no longer ships with authentication included. Previous version of Spree have relied on a third pary library known as Devise. By removing the dependency on Devise this allows Spree to be more easily integrated with larger Rails applications that may have their own authentication system. For those that are using Devise (or have no strong preference for which system they use), we still have Devise support for Spree. You’ll just need to add the spree_auth_devise extension to your application.
Please see the Authentication Guide for more details.
Changes to the State Machine
Up until now, it’s been a little to difficult to customize the checkout flow in Spree. It was certainly possible but the workaround for doing so wasn’t particularly elegant and was even more difficult to support. This has all changed now with a new DSL for specifying checkout flow. If you’ve made changes to the checkout flow in your application (or if you have been hesitant to do so until now) then you may want to learn more about how this works.
Please see the Checkout Guide for more details
Introducing the Money Gem
In earlier versions of Spree, we used number_to_currency to display prices for products. This made it difficult to change only the currency symbol for all prices across your store. We have improved this by using the Money gem to handle all of the price formatting. Please note this was a last minute addition to Spree that was not contained in the previous release candidates. You can look forward to many more improvements to international support in future releases.
There are also a ton of commits related to minor bug fixes and other subtle improvements. Please see the Github compare for a complete list of changes in this release. You can also see a written summary of the changes with additional details in the release notes.