Spree Commerce

Try It Now

Spree 2.0.0 Released

Posted on May 19, 2013 by John Dyer

Spree 2.0.0 has now been officially released. It’s been exactly five months since the last release -although we have had several minor releases along the way. This has been a massive community effort with 1,412 commits by 35 contributors affecting 2,303 different files.

Let’s go over some of the highlights of this release:

Removing Support for Ruby 1.8.7

In this major Spree release, we are removing support for Ruby 1.8.7. This version of Ruby is no longer supported by the Ruby core team, so if you are still using 1.8.7, it is time to upgrade.

Split Core

Due to numerous request to have the ability to either use the frontend or backend separately from the other, we have split Spree up into the following componenets:

  • Api
  • Backend
  • Core
  • Dash
  • Frontend
  • Sample

The Backend component provides the admin interface for Spree and the Frontend component provides the frontend user-facing checkout interface. These components were extracted out of Core to allow for users of Spree to override the frontend or backend functionality of Spree as they choose. Core now contains just the very basic needs for Spree (primarily the data models.)

Split Shipments

We’ve been grappling with the issue of complex Spree stores that require sophisticated shipping and warehouse logic for several years now. While it has always been manageable to get this to work on individual store basis, a more general solution that would be useful for all stores has always eluded us (until now). We are proud to introduce the new split shipments functionality to Spree.

There are 4 main components that make up split shipments described in this post: Stock Locations, Stock Items, and Stock Movements.

  • Stock locations are the locations where your inventory is shipped from. Each stock location can have many stock items. When creating a new stock location, stock items for that location are automatically created for each variant in your store.
  • Stock items represent the inventory at a stock location for a specific variant.
  • Stock movements allow you to manage the inventory of a stock item for a stock location.
  • Stock transfers allow you to bulk transfer stock from one or more variants between two stock locations.

This feature is discussed more in-depth in our Introducing Split Shipments blog post.

API Updates

The Spree API is always improving and the release of Spree 2.0.0 is no exception. We have introduced new API endpoints to allow for management of more Spree resources including those introduced with Split Shipments.

In addition, we have introduced instance level permissions, custom templates and many other features of which there are too many to list here. Please see the release notes for the complete list of changes to the API.

Miscellaneous Changes

As with every major Spree release, 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.

Spree 2.0.0.rc1 is Now Available

Posted on May 13, 2013 by Sean Schofield

We’re happy to announce Spree 2.0.0.rc1 is now available! We’ve been working around the clock to get the release ready before SpreeConf. Please test out the release candiate and report any showstopping issues you find ASAP. Please report any issues you have in our Github Issue tracker. Remember to indicate the problem is with the 2.0.0 code (as opposed to previous versions of Spree.)

Join Us for the First Ignite SpreeConf Gaming Gala!

Posted on May 08, 2013 by Brian Quinn & Chris Mar

The Spree headquarters in Bethesda has always been a hotbed of gaming activity, but more recently the team has been turning off the consoles and cracking out the cardboard! So to share our love of all things board game and tabletop related we’re starting a new tradition at the upcoming SpreeConf, the Ignite SpreeConf Gaming Gala!

Unlike other conference Ignite events, there’ll be no talks, no costumes, no awkward introductions, just lots of board gaming fun with plenty of beverages and snacks and an opportunity to meet your fellow conference attendees and the Spree team before the serious tech talking starts on Monday.

The Ignite SpreeConf Gaming Gala will take place Sunday, May 19th from 7pm – 10pm at Stoney’s Upstairs located at 1433 P Street NW in Washington, DC, just one block away from the SpreeConf venue.

To get everyone on a level playing field we’re sharing some of the gaming details ahead of time along with the rules and some awesome Tom Vasel YouTube reviews of the games we’d liked to play. We’d also love to hear ideas on other games you’d like to play, so comment below!

The Settlers of Catan

Catan is THE classic euro-game of resource gathering, building and trading. If you’ve never played it before now is your chance. It’s a great game for people who are new to the board gaming hobby.

You can study up on the general rules here. We’ll be playing the 5 to 6 player version which has some extra rules to read up on.


Be sure to check out Tom’s walkthrough and review too:

Ticket to Ride

Ticket to Ride is a cross-country train adventure where you collect and play matching train cards to claim railway routes connecting cities throughout North America. The longer the routes, the more points you earn.

Starting studying the rules now and be ready to race your fellow SpreeConf attendees!

Mr. Vasel’s video covers both the U.S. and European versions of Ticket to Ride. We’ll be playing the U.S. version.

River Dragons

For those more well versed gamers, we’re including this recent Rver Dragons release where you must cross the Mekon delta by building bridges with planks and stones.

To arrive safely on the opposite bank, care must be taken to avoid your opponents and those pesky dragons.

You can grab the rules here. Tom also provides some interesting thoughts on this release in his walkthrough.



We hope this will be a great warm up event for SpreeConf so if you’re in Washington, DC on Sunday night, this is the place to be! And if you haven’t registered yet for SpreeConf, there are still tickets available. Get yours now!

Get to Know SpreeConf DC Speaker: Clarke Brunsdon

Posted on May 07, 2013 by Lynne Brehmer

Last Thursday we introduced you to SpreeConf speaker, John Feminella who will be talking about about better, faster, smarter cloud deployments with Docker at SpreeConf DC May 20th – 21st in Washington, DC. Today we’d like to introduce you to Clarke Brunsdon. Clarke is a Founding Partner and CTO at FreeRunning Technologies and will be speaking at SpreeConf with his colleague Gregor MacDougall about his experience migrating a large scale PHP based e-commerce store to Spree.

Clarke Brunsdon

Clarke Brunsdon

Founding Partner and CTO at FreeRunning Technologies
Clarke is a programmer with over 13 years experience with the last 5 primarily focused on working in Ruby and Rails. He founded FreeRunning Technologies in 2008 and focuses on how to provide the most value to his clients and making sure the technology fits their real-world business priorities. Clarke’s SpreeConf talk will discuss how he and his colleagues at FreeRunning Technologies took a large, custom built, error prone, unmaintainable PHP ecommerce platform, and made a gradual transition to the Spree cart, checkout process and models. He’ll explain how they avoided a single, large switchover date, opting instead for a series of small incremental improvements leading towards the end goal. You’ll learn how these techniques can be applied to your own e-commerce migration projects in order to help you make a similar smooth transition.

Getting to Know Clarke

We asked Clarke to give us his thoughts on the latest happenings in the Ruby space and some of the interesting projects he’s working on right now.

What trends are most exciting to you right now?

The same things that excite me today are the same things that excited me about programming ten years ago, but we now do them so much better. For me, programming and technology have always been about putting awesome people with great ideas together, and seeing what we can build. Now we’ve got amazing tools like git/github, gerrit, rspec, bundler and Google+ hangouts that let us build and share ideas, collaborating with fantastic ease and efficiency.

Any interesting projects you are working on that others might be interested in?

We always joke at FreeRunning technologies about how much we “hate code.” Before we start any projects ourselves, we look to see if there are any other open source projects we can extend and improve upon, rather than starting a project ourselves. While we have created some Spree extensions that people might be interested in (spree-pre-order, spree-flexible-weight-rate, spree-license-key, spree-custom-store-email), there isn’t much for public repos I’d show people.

As far as ‘private’ projects go, we’re currently migrating a private company that currently manages the e-commerce of dozens of high-profile sites onto Spree. They’ve been an e-commerce provider for the last 6 years and have an incredible technological debt as well as entrenched business practices that is making the rollout very tricky, but so far very successful.

What are you most looking forward to at SpreeConf this year?

Face to face communication! We’re incredibly enthusiastic about the state of Spree and where its going, but that doesn’t always communicate well over IRC. I want to let all the Spree developers know now much we appreciate the project and that we want to do everything we can to help it grow and mature.

What do you hope SpreeConf attendees remember about your talk when they get home?

Our talk centers around doing a large scale store migration to Spree. I think the most important thing to remember is that tasks like this are never quick, and never easy. It’s very easy to convince yourself that it’s going to be easier and quicker than it is, and that’s a mistake you learn to stop making.

I want everyone to leave our talk looking at Spree is a living, breathing project. I want them to understand that the incredible features and platform it provides should not be taken lightly.

Do you have any interesting picks – blogs, technology, books, new companies to follow?

I’m personally a huge fan of the collected works of Tim Pope. He writes so many useful vim plugins and ruby gems, I’m unsure if he’s just one man or a front man for a group of programmers. The book that has changed the most about how I worked was Rapid Development by Steve McConnell, a book not about programming but about the ecosystem and environment of software development.

It’s hard to believe – there are less than two weeks until SpreeConf! Hurry and get your tickets now!