{"id":8006,"date":"2021-06-08T13:44:54","date_gmt":"2021-06-08T13:44:54","guid":{"rendered":"https:\/\/spreecommerce.org\/?p=8006"},"modified":"2024-09-03T11:00:19","modified_gmt":"2024-09-03T11:00:19","slug":"its-now-easier-to-upgrade-spree-3-to-4","status":"publish","type":"post","link":"https:\/\/spreecommerce.org\/its-now-easier-to-upgrade-spree-3-to-4\/","title":{"rendered":"It&#8217;s Now Easier to Upgrade Spree 3 to 4"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Today we are introducing Ruby on Rails 5.2 support for Spree Commerce versions <\/span><b>4.0<\/b><span style=\"font-weight: 400;\">, <\/span><b>4.1<\/b><span style=\"font-weight: 400;\">, and <\/span><b>4.2<\/b>, and thanks to that, <strong>it&#8217;s now easier to make the upgrade from Spree 3 to 4.<\/strong><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">We heard <strong>rumors that the migration from Spree 3.7 to 4.x was no easy task<\/strong>. The main reason behind that being the Ruby on Rails 5 to 6 upgrade requirement. So &#8211; <\/span><i><span style=\"font-weight: 400;\">to put an end to those nasty rumors once and for all<\/span><\/i><span style=\"font-weight: 400;\"> &#8211; we decided to make it easier for you.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The solution: You can now <\/span><b>upgrade to Spree 4 without the need to upgrade Rails<\/b><span style=\"font-weight: 400;\"> in the process. In an attempt to simplify the procedure as much as possible, we\u2019ve also updated the <\/span><a href=\"https:\/\/guides.spreecommerce.org\/developer\/upgrades\/three-dot-seven-to-four-dot-oh.html\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"font-weight: 400;\"><strong>Spree 3.7 -&gt; 4.0 upgrade guide<\/strong>.<\/span><\/a> Hopefully, those of you who were struggling in the past find the new process much more straightforward.<\/p>\n<p><span style=\"font-weight: 400;\">To sum up:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Spree 4<\/b><span style=\"font-weight: 400;\"> now supports\u00a0 <\/span><b><a href=\"https:\/\/spreecommerce.org\/spree-commerce-4-2-supports-ruby-3-0-and-rails-6-1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Rails 5.2, 6.0, and 6.1<\/a>,<\/b><span style=\"font-weight: 400;\"> as well as <\/span><b>Ruby 2.5+ and 3.0<\/b><span style=\"font-weight: 400;\">.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><b>Spree 4 will include Rails 7 support<\/b><span style=\"font-weight: 400;\"> when it\u2019s released, <\/span><b>but we will not force you to make any Rails upgrades in the future<\/b><span style=\"font-weight: 400;\"> (even when upgrading to Spree 5)<\/span><\/li>\n<\/ul>\n<p><em><span style=\"font-weight: 400;\">Disclaimer: While this should make migration from 3.x to 4.x less complicated, if you\u2019re still having trouble with the upgrade, please <\/span><b><a href=\"https:\/\/spreecommerce.org\/get-started\/\/\" target=\"_blank\" rel=\"noopener noreferrer\">contact us for support<\/a> either on <\/b><a href=\"https:\/\/spree-commerce.slack.com\/join\/shared_invite\/zt-ico7d35e-OeoAYXKO8XNtrZR1ZvBb5A#\/\" target=\"_blank\" rel=\"noopener noreferrer\"><b>Spree Slack<\/b><\/a><b> or by email.<\/b><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we are introducing Ruby on Rails 5.2 support for Spree Commerce versions 4.0, 4.1, and 4.2, and thanks to that, it&#8217;s now easier to make the upgrade from Spree 3 to 4.<\/p>\n","protected":false},"author":81,"featured_media":8028,"comment_status":"closed","ping_status":"open","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":[144],"tags":[],"class_list":["post-8006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ruby-on-rails"],"acf":[],"_links":{"self":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/posts\/8006","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\/81"}],"replies":[{"embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/comments?post=8006"}],"version-history":[{"count":0,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/posts\/8006\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media\/8028"}],"wp:attachment":[{"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/media?parent=8006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/categories?post=8006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/spreecommerce.org\/wp-json\/wp\/v2\/tags?post=8006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}