{"id":1294,"date":"2018-06-13T15:20:12","date_gmt":"2018-06-13T13:20:12","guid":{"rendered":"https:\/\/spreecommerce.org\/?p=1294"},"modified":"2026-03-13T09:48:39","modified_gmt":"2026-03-13T09:48:39","slug":"spree-3-5-and-3-6-with-rails-5-2-ruby-2-5-and-activestorage-support-released","status":"publish","type":"post","link":"https:\/\/spreecommerce.org\/spree-3-5-and-3-6-with-rails-5-2-ruby-2-5-and-activestorage-support-released\/","title":{"rendered":"Spree 3.5 and 3.6 with Rails 5.2, Ruby 2.5 and ActiveStorage support released!"},"content":{"rendered":"<p>We&#8217;re proud to announce two new major Spree versions: <strong>Spree 3.5 for Rails 5.1<\/strong> and<strong> Spree 3.6 for Rails 5.2 with ActiveStorage<\/strong> support out of the box.<\/p>\n<p>A <strong>big thanks<\/strong> to all the Spree users for their support, Spree developers for their feedback, Spree contributors for their work, and the core team of Spree Developers, QAs and PMs.<\/p>\n<p><!--more--><\/p>\n<p>Feel free to submit any <a href=\"https:\/\/github.com\/spree\/spree\/issues\">Github Issues<\/a> or improve <a href=\"https:\/\/github.com\/spree\/spree\/\">Spree open-source project<\/a> any way you need. Also, do share this announcement with your dev friends to invite them into our amazing dev community on Github or\u00a0<a href=\"http:\/\/slack.spreecommerce.org\/\">Spree Slack<\/a>.<\/p>\n<p>Also, make sure to submit your Spree <a href=\"https:\/\/spreecommerce.org\/stories\/\">Success Story<\/a> for publication on our website and in social media channels.<\/p>\n<p>Last but not least, check out at the end of this post what&#8217;s planned for the <strong>upcoming Spree releases<\/strong>.\u00a0We&#8217;re very excited to build a front-end inclusive Spree dev community and include more apps in the Spree ecosystem thanks to API V2.<\/p>\n<h2>New Features<\/h2>\n<h3>Rails 5.2<\/h3>\n<p><strong>Spree 3.6<\/strong> is now compatible with <strong>Rails 5.2<\/strong> compared to 3.5 which used to run on Rails 5.1. Thanks to that you can start using all of the <a href=\"http:\/\/edgeguides.rubyonrails.org\/5_2_release_notes.html\" target=\"_blank\" rel=\"noopener noreferrer\">new great features available in Rails 5.2<\/a>.<\/p>\n<h3>ActiveStorage<\/h3>\n<p>Active Storage facilitates uploading files to a cloud storage service like <strong>Amazon S3<\/strong>, <strong>Google Cloud Storage<\/strong>, or <strong>Microsoft Azure<\/strong> <strong>Storage<\/strong> and attaching those files to Active Record objects. It comes with a local disk-based service for development and testing and supports mirroring files to subordinate services for backups and migrations.<\/p>\n<p>ActiveStorage was introduced in <strong>Rails 5.2<\/strong> and with <strong>Spree 3.6<\/strong> release it&#8217;s the default file storage option. We&#8217;ll still support Paperclip until <strong>Spree 4.0<\/strong> when it will be removed from Spree core.<\/p>\n<h3>Ruby 2.5<\/h3>\n<p>Spree now works with Ruby <code>2.5<\/code>, <code> 2.4<\/code>, <code>2.3<\/code> and <code>2.2 (&gt;= 2.2.7)<\/code>.\u00a0<strong>Ruby 2.5<\/strong> introduces many <a href=\"https:\/\/www.ruby-lang.org\/en\/news\/2017\/12\/25\/ruby-2-5-0-released\/\" target=\"_blank\" rel=\"noopener noreferrer\">new features and performance improvements<\/a>.<\/p>\n<h3>Multi-store management<\/h3>\n<p>We&#8217;ve added an ability to manage multiple stores in one Spree instance of your application. Thanks to that you can easily create stores per region \/ language \/ currency. This feature will be enhanced in the next releases.<\/p>\n<h3>Extracted Analytics tracker into a Universal Extension<\/h3>\n<p>Our goal is always to keep the core Spree lean and flexible that&#8217;s why we&#8217;ve moved all of the code of <a href=\"https:\/\/github.com\/spree-contrib\/spree_analytics_trackers\">Analytics Trackers<\/a> to an Extension which you can use with any<strong> Spree 3.1+<\/strong> version.<\/p>\n<p><a href=\"https:\/\/github.com\/spree-contrib\/spree_analytics_trackers\">Spree Analytics Trackers<\/a> extension currently supports <strong>Google Analytics<\/strong> and <strong>Segment.com\u00a0<\/strong>(Google Tag Manager, Facebook pixels, Google Remarketing, Mixpanel, Kissmetrics, Redshift, and <a href=\"https:\/\/segment.com\/catalog\" target=\"_blank\" rel=\"noopener noreferrer\">over 200+ other tools and vendors<\/a>).<\/p>\n<h3>Admin Panel views exporter<\/h3>\n<p>You can easily copy all of the default spree admin Panel into your project with just one command line:<br \/>\n<code>rails g spree:backend:copy_views<\/code><br \/>\nWe hope will make backend customization the Admin Panel a lot easier.<\/p>\n<h2>How to install?<\/h2>\n<h3>Add Spree to your Gemfile<\/h3>\n<h4>Rails 5.2<\/h4>\n<p><code style=\"display: inline-block;\">gem 'spree', '~&gt; 3.6.1'<br \/>\ngem 'spree_auth_devise', '~&gt; 3.3'<br \/>\ngem 'spree_gateway', '~&gt; 3.3'<\/code><\/p>\n<h4>Rails 5.1<\/h4>\n<p><code style=\"display: inline-block;\">gem 'spree', '~&gt; 3.5.0'<br \/>\ngem 'spree_auth_devise', '~&gt; 3.3'<br \/>\ngem 'spree_gateway', '~&gt; 3.3'<\/code><\/p>\n<h3>Run <code>bundle install<\/code><\/h3>\n<h3>Use the install generators to set up Spree<\/h3>\n<p><code style=\"display: inline-block;\">rails g spree:install --user_class=Spree::User<br \/>\nrails g spree:auth:install<br \/>\nrails g spree_gateway:install<\/code><\/p>\n<h2><span class=\"pl-s\"><span class=\"pl-pds\">How to upgrade?<\/span><\/span><\/h2>\n<ul>\n<li><a href=\"https:\/\/guides.spreecommerce.org\/developer\/three-dot-four-to-three-dot-five.html\">Upgrade Spree 3.4 to 3.5<\/a><\/li>\n<li><a href=\"https:\/\/guides.spreecommerce.org\/developer\/three-dot-five-to-three-dot-six.html\">Upgrade Spree 3.5 to 3.6<\/a><\/li>\n<\/ul>\n<h2><span class=\"pl-s\"><span class=\"pl-pds\">What&#8217;s next for Spree?<\/span><\/span><\/h2>\n<p>In the upcoming Spree releases please expect <strong>API V2<\/strong> for:<\/p>\n<p><strong>Storefront<\/strong>\u00a0<strong>API<\/strong> (Spree 3.7)<\/p>\n<ul>\n<li>to be used with modern frontend toolset (React\/Vue\/Angular) and mobile apps<\/li>\n<li>a complete goal is to make the Frontend Engineers life easier<\/li>\n<\/ul>\n<p><strong>Platform API<\/strong> (Spree 3.8 and Spree 4.0)<\/p>\n<ul>\n<li>to be easily integrated with any 3rd party services and apps<\/li>\n<li>3rd party apps can be written in any programming language<\/li>\n<li>the goal is that any operation that can be performed via Admin Panel should be available in Platform API<\/li>\n<\/ul>\n<p>Feel free to comment on the Spree roadmap on Github or\u00a0<a href=\"http:\/\/slack.spreecommerce.org\/\">Spree Slack<\/a>.<\/p>\n<p>Cheers!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We&#8217;re proud to announce two new major Spree versions: Spree 3.5 for Rails 5.1 and Spree 3.6 for Rails 5.2 with ActiveStorage support out of the box. A big thanks to all the Spree users for their support, Spree developers for their feedback, Spree contributors for their work, and the core team of Spree Developers, [&hellip;]<\/p>\n","protected":false},"author":71,"featured_media":3338,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[52],"tags":[65],"class_list":["post-1294","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-open-source","tag-rails"],"acf":[],"_links":{"self":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/posts\/1294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/users\/71"}],"replies":[{"embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/comments?post=1294"}],"version-history":[{"count":0,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/posts\/1294\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media\/3338"}],"wp:attachment":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media?parent=1294"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/categories?post=1294"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/tags?post=1294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}