All Versions
69
Latest Version
Avg Release Cycle
37 days
Latest Release
965 days ago

Changelog History
Page 5

  • v3.7.5 Changes

    September 19, 2019

    ๐Ÿš€ This patch release contains bug fixes backported from master. We'd like to thank all the contributors who made this happen ๐Ÿ‘

    API

    • ๐Ÿ›  fixed API v2 /taxons does not look for filter params in filter[] #9538 #9539
  • v3.7.4 Changes

    August 06, 2019

    ๐Ÿš€ This patch release contains bug fixes backported from master. We'd like to thank all the contributors who made this happen ๐Ÿ‘

    Core

    • ๐Ÿ›  Fixes security issue CVE-2019-13574 3a5d2a9
    • ๐Ÿ—„ migrated from deprecated chromedriver-helper to webdrivers gem

    API v2

  • v3.7.3 Changes

    May 14, 2019

    ๐Ÿš€ This patch release contains bug fixes backported from master. We'd like to thank all the contributors who made this happen ๐Ÿ‘

    Core

    • ๐Ÿ›  Fix problem with Invalid single-table inheritance type: Spree::Image 251b806
    • ๐Ÿ›  Fix issue with prepending state_machine methods 0f4a6eb
    • ๐Ÿ›  ItemTotal Promotion Rule: 'less than' eligibility error message fixed 3cc8563

    API

    • ๐Ÿ›  Fixed moving order state to delivery before shipping method update f6d3d93

    Admin Panel

    • โœ… Replaced chromedriver-helper with webdrivers gem for integration testing 76b2517
    • ๐Ÿ›  Fixed store query in Orders index page to make it work with Globalize gem fc02d7d
  • v3.7.2 Changes

    April 09, 2019

    ๐Ÿš€ This patch release contains bug fixes backported from master. We'd like to thank all the contributors who made this happen ๐Ÿ‘

    API

    Frontend

    • ๐Ÿ›  fixed compatibility with Rails 5.2.3 1a54d8c

    Backend

    Other

  • v3.7.1 Changes

    March 01, 2019

    ๐Ÿš€ This patch release contains bug fixes backported from master. We'd like to thank all the contributors who made this happen ๐Ÿ‘

    • ability to filter Products by SKUs in Storefront API v2 f49b90b
    • ๐Ÿ›  fixed type for Taxon children in API v2 taxon serializer 12c0bc9
    • โฌ†๏ธ bumped ffaker to ~> 2.9 eb49f12
    • fixed some minor permissions checks in the Admin Panel (helpful if you're using Multi Vendor extension) 0a80361
    • ๐Ÿ›  fixed Rails 5.2 development mode issues a7aac2f d2f9dc8 b7c7f08
    • ๐Ÿ›  fixed sandbox generation with SQLite 3 71c3996 d113f6c
  • v3.7.0 Changes

    February 04, 2019

    Major/New Features

    ๐Ÿš€ 3.7 release is our last 3.x line release bridging the gap between 3.x and Spree 4.0. This is a big release packed with several amazing features and a huge number of bug fixes (over 700 commits by 17 contributors!). Upgrading to 3.7 guarantees a smooth and easy migration to Spree 4.0 (April 2019 with Rails 6.0 support).

    Spree 3.7 requires Rails 5.2.2 and Ruby 2.3.3 (or higher).

    Storefront API v2

    ๐Ÿ— We've worked hard over the last few months to deliver a completely new, easy to work with and lightweight REST API for building amazing customer interfaces with modern JavaScript libraries (React, Vue, Angular) and for native mobile apps. New Storefront API v2 is fast, easy to use and extend. It's also well documented in OpenAPI 3.0 (Swagger) format which you can import into Postman app.

    New API is based on JSON API spec and uses blazing fast Netflix fast_json_api serializer library. Authentication is based on Oauth using doorkeeper library. Besides that there are no additional dependencies making it lightweight and future-proof.

    Storefront API v2 consists of:

    ๐Ÿ“œ All of the endpoints support JSON API's Sparse Fieldsets to fix usual Over-Fetching issues and Related Resources to reduce the number of API queries you need to perform.

    Service Oriented Architecture

    ๐Ÿ”จ While building the API v2 we've also refactored a huge portion of Spree internals by introducing modular Service Oriented Architecture to the codebase.

    We're in the process of moving domain-specific code from models to Service Objects with a well-defined scope and predictable return values. All service objects include Service Module which unifies how those classes handle arguments and what they return.

    Also, we're moving away from ransack library by introducing Finders and Sorters classes for simpler fetching resources and collections.

    This makes Spree codebase easier to read and learn. It also makes any customizations way easier. At the same time, public APIs won't change a lot as providing backward compatibility is one of our top priorities.

    Dependencies system

    ๐Ÿšš We're introducing a new painless way of customizing Spree without the need of decorators. With Dependencies you can easily replace parts of Spree internals with your custom classes. You can replace Services, Abilities and Serializers. More will come in the future. We hope using Dependencies will remove the need for creating decorators at all!

    ๐Ÿ“š See Documentation

    Removing Coffee Script

    ๐Ÿฑ CoffeeScript a few years back ago was a really great JavaScript enhancement. Nowadays with ES6 and TypeScript around it became obsolete. That's why we've converted all of the CoffeeScript assets in Spree and extensions to plain JavaScript and removed CoffeeScript dependency.

    ๐Ÿ‘Œ Improved MySQL support

    ๐Ÿ— A lot of merchants were using Spree with MySQL for years now, but development of the platform was mainly focused on PostgreSQL support. We've changed that and all of our CI builds are tested and verified against both PostgreSQL and MySQL. We've also fixed all MySQL-related bugs.

    Installation

    โž• Add Spree gems to Gemfile

    gem 'spree', '~\> 3.7.0'gem 'spree\_auth\_devise', '~\> 3.5'gem 'spree\_gateway', '~\> 3.4'
    

    โš™ Run bundle install

    ๐Ÿ‘‰ Use the install generators to set up Spree

    rails g spree:install --user\_class=Spree::User rails g spree:auth:install rails g spree\_gateway:install
    

    โฌ†๏ธ Upgrade

    โฌ†๏ธ Spree 3.6 to 3.7 upgrade guide

    Noteworthy changes

    Please review each of the noteworthy changes to ensure your customizations or extensions are not affected. If you are affected by a change, and have any suggestions please submit a PR to help the next person!

    โฌ‡๏ธ Dropped support for Ruby 2.2

    Spark Solutions

    ๐Ÿ‘Œ Support multiple currencies for Store Credits management in Admin Panel

    Spark Solutions

    โž• Added information if Product is backorderable on Product page

    Spark Solutions

    ๐Ÿ‘Œ Improved OmniChannel support in the Admin Panel

    Spark Solutions

    ๐Ÿ‘Œ Improved error handling for XHR requests in the Admin Panel

    Vernon de Goede

    ๐Ÿ‘Œ Improved Admin Panel Variant autocomplete

    Spark Solutions

    Order is now associated with Store, the presence of Store is required for validation

    Spark Solutions

    Order now has to have currency value set

    Spark Solutions

    0๏ธโƒฃ Made CreditCard deleted softly by default

    Spark Solutions

    Payment source needs to be present (validation can be turned off via source_required? in PaymentMethod)

    Spark Solutions

    โž• Added StockLocation#name unique validation

    himanshumishra31

    โž• Added FulfilmentChanger class

    Spark Solutions

    Extended OrderPromotion model

    Spark Solutions

    โž• Added ShippingRate#final_price method

    Spark Solutions

    โž• Added Shipment#free? method

    Spark Solutions

    0๏ธโƒฃ Added Product#default_variant and Product#default_variant_id methods

    Spark Solutions

    Delegated iso and iso_name in Address model to Country

    Spark Solutions

    Replaced jquery.cookie with js.cookie

    Spark Solutions

    ๐Ÿ›  Fixed deprecation warning: BigDecimal.new() is deprecated

    Deepak Mahakale

    ๐Ÿ›  Fixed displaying currency in Admin Panel -> Return Authorizations

    Spark Solutions

    ๐Ÿ›  Fixed all deprecations of Ruby Money 6.13+

    Spark Solutions

    Fallback to Order#currency if there's no currency set for Adjustment

    Spark Solutions

    ๐Ÿ“‡ Renamed Order#guest_token to Order#token

    Spark Solutions

    ๐Ÿ“‡ Renamed Admin::GeneralSettingsHelper to Admin::CurrencyHelper

    Spark Solutions

    ๐Ÿ“‡ Renamed TaxonIcon to TaxonImage

    Spark Solutions

    ๐Ÿ—„ Deprecated OrderContents and replaced with several Cart services (eg. Cart::AddItem)

    Spark Solutions

    Deprecated Order#add_store_credit_payments in favor of Checkout::AddStoreCredit service

    Spark Solutions

    Deprecated Order#remove_store_credit_payments in favor of Checkout::RemoveStoreCredit service

    Spark Solutions

    ๐Ÿ—„ Deprecated OrdersController#populate and OrdersController#populate_redirect

    Spark Solutions

    ๐Ÿ—„ Deprecated Address#same_as? in favor of Address#==

    Spark Solutions

    Deprecated Order#add register_line_item_comparison_hook (please use Rails.application.config.spree.line_item_comparison_hooks << hook instead)

    Spark Solutions

    ๐Ÿ—„ Deprecated ControllerHelpers::RespondWith

    Spark Solutions

    ๐Ÿ—„ Deprecated BaseHelper#variant_options

    Spark Solutions

    Deprecated Address#iso_name, please use Address#country_iso_name

    Spark Solutions

    โœ‚ Removed previously deprecated Spree::Core::EnvironmentExtension

    Spark Solutions

    โœ‚ Removed previously deprecated ControllerHelpers::Common#render_404

    Spark Solutions

    โœ‚ Removed previously deprecated EmailValidator

    Spark Solutions

    โœ‚ Removed previously deprecated NavigationHelper#icon

    Spark Solutions

    โœ‚ Removed previously deprecated FrontendHelper#breadcrums

    Spark Solutions

    Removed Product#distinct_by_product_ids

    Spark Solutions

    โฌ†๏ธ Bumped highline dependency to 2.0.x

    Chamnap Chhorn

    โฌ†๏ธ Bumped paperclip dependency to 6.1.x

    Josh Powell

    โฌ†๏ธ Bumped bootstrap-sass to 3.4.x

    Spark Solutions

    Full Changelog

    You can view the full changes using Github Compare.

  • v3.7.0.rc3

    January 28, 2019
  • v3.7.0.rc2

    January 22, 2019
  • v3.7.0.rc1 Changes

    January 11, 2019

    Major/New Features

    ๐Ÿš€ 3.7 release is our last 3.x line release bridging the gap between 3.x and Spree 4.0. This is a big release packed with several amazing features and a huge number of bug fixes (over 700 commits by 17 contributors!). Upgrading to 3.7 guarantees a smooth and easy migration to Spree 4.0 (April 2019 with Rails 6.0 support).

    ๐Ÿ’Ž Spree 3.7 requires Rails 5.2.2 and Ruby 2.3.3 (or higher).

    Storefront API v2

    ๐Ÿ— We've worked hard over the last few months to deliver a completely new, easy to work with and lightweight REST API for building amazing customer interfaces with modern JavaScript libraries (React, Vue, Angular) and for native mobile apps. New Storefront API v2 is fast, easy to use and extend. It's also well documented in OpenAPI 3.0 (Swagger) format which you can import into Postman app.

    New API is based on JSON API spec and uses blazing fast Netflix fast_json_api serializer library. Authentication is based on Oauth using doorkeeper library. Besides that there are no additional dependencies making it lightweight and future-proof.

    Storefront API v2 consists of:

    ๐Ÿ“œ All of the endpoints support JSON API's Sparse Fieldsets to fix usual Over-Fetching issues and Related Resources to reduce the number of API queries you need to perform.

    Service Oriented Architecture

    ๐Ÿ”จ While building the API v2 we've also refactored a huge portion of Spree internals by introducing modular Service Oriented Architecture to the codebase.

    We're in the process of moving domain-specific code from models to Service Objects with a well-defined scope and predictable return values. All service objects include Service Module which unifies how those classes handle arguments and what they return.

    Also, we're moving away from ransack library by introducing Finders and Sorters classes for simpler fetching resources and collections.

    This makes Spree codebase easier to read and learn. It also makes any customizations way easier. At the same time, public APIs won't change a lot as providing backward compatibility is one of our top priorities.

    Removing Coffee Script

    ๐Ÿฑ CoffeeScript a few years back ago was a really great JavaScript enhancement. Nowadays with ES6 and TypeScript around it became obsolete. That's why we've converted all of the CoffeeScript assets in Spree and extensions to plain JavaScript and removed CoffeeScript dependency.

    ๐Ÿ‘Œ Improved MySQL support

    ๐Ÿ— A lot of merchants were using Spree with MySQL for years now, but development of the platform was mainly focused on PostgreSQL support. We've changed that and all of our CI builds are tested and verified against both PostgreSQL and MySQL. We've also fixed all MySQL-related bugs.

    Installation

    โž• Add Spree gems to Gemfile

    gem 'spree', '~\> 3.7.0.rc1'gem 'spree\_auth\_devise', '~\> 3.4'gem 'spree\_gateway', '~\> 3.4'
    

    โš™ Run bundle install

    ๐Ÿ‘‰ Use the install generators to set up Spree

    rails g spree:install --user\_class=Spree::User rails g spree:auth:install rails g spree\_gateway:install
    

    โฌ†๏ธ Upgrade

    โฌ†๏ธ Spree 3.6 to 3.7 upgrade guide

    Noteworthy changes

    Please review each of the noteworthy changes to ensure your customizations or extensions are not affected. If you are affected by a change, and have any suggestions please submit a PR to help the next person!

    โฌ‡๏ธ Dropped support for Ruby 2.2

    Spark Solutions

    ๐Ÿ‘Œ Support multiple currencies for Store Credits management in Admin Panel

    Spark Solutions

    โž• Added information if Product is backorderable on Product page

    Spark Solutions

    ๐Ÿ‘Œ Improved OmniChannel support in the Admin Panel

    Spark Solutions

    ๐Ÿ‘Œ Improved error handling for XHR requests in the Admin Panel

    Vernon de Goede

    ๐Ÿ‘Œ Improved Admin Panel Variant autocomplete

    Spark Solutions

    Order is now associated with Store, the presence of Store is required for validation

    Spark Solutions

    Order now has to have currency value set

    Spark Solutions

    0๏ธโƒฃ Made CreditCard deleted softly by default

    Spark Solutions

    Payment source needs to be present (validation can be turned off via source_required? in PaymentMethod)

    Spark Solutions

    โž• Added StockLocation#name unique validation

    himanshumishra31

    โž• Added FulfilmentChanger class

    Spark Solutions

    Extended OrderPromotion model

    Spark Solutions

    โž• Added ShippingRate#final_price method

    Spark Solutions

    โž• Added Shipment#free? method

    Spark Solutions

    0๏ธโƒฃ Added Product#default_variant and Product#default_variant_id methods

    Spark Solutions

    Replaced jquery.cookie with js.cookie

    Spark Solutions

    ๐Ÿ›  Fixed deprecation warning: BigDecimal.new() is deprecated

    Deepak Mahakale

    ๐Ÿ›  Fixed displaying currency in Admin Panel -> Return Authorizations

    Spark Solutions

    ๐Ÿ›  Fixed all deprecations of Ruby Money 6.13+

    Spark Solutions

    Fallback to Order#currency if there's no currency set for Adjustment

    Spark Solutions

    ๐Ÿ“‡ Renamed Order#guest_token to Order#token

    Spark Solutions

    ๐Ÿ“‡ Renamed Admin::GeneralSettingsHelper to Admin::CurrencyHelper

    Spark Solutions

    ๐Ÿ“‡ Renamed TaxonIcon to TaxonImage

    Spark Solutions

    ๐Ÿ—„ Deprecated OrderContents and replaced with several Cart services (eg. Cart::AddItem)

    Spark Solutions

    Deprecated Order#add_store_credit_payments in favor of Checkout::AddStoreCredit service

    Spark Solutions

    Deprecated Order#remove_store_credit_payments in favor of Checkout::RemoveStoreCredit service

    Spark Solutions

    ๐Ÿ—„ Deprecated OrdersController#populate and OrdersController#populate_redirect

    Spark Solutions

    ๐Ÿ—„ Deprecated Address#same_as? in favor of Address#==

    Spark Solutions

    Deprecated Order#add register_line_item_comparison_hook (please use Rails.application.config.spree.line_item_comparison_hooks << hook instead)

    Spark Solutions

    ๐Ÿ—„ Deprecated ControllerHelpers::RespondWith

    Spark Solutions

    ๐Ÿ—„ Deprecated BaseHelper#variant_options

    Spark Solutions

    โœ‚ Removed previously deprecated Spree::Core::EnvironmentExtension

    Spark Solutions

    โœ‚ Removed previously deprecated ControllerHelpers::Common#render_404

    Spark Solutions

    โœ‚ Removed previously deprecated EmailValidator

    Spark Solutions

    โœ‚ Removed previously deprecated NavigationHelper#icon

    Spark Solutions

    โœ‚ Removed previously deprecated FrontendHelper#breadcrums

    Spark Solutions

    Removed Product#distinct_by_product_ids

    Spark Solutions

    โฌ†๏ธ Bumped highline dependency to 2.0.x

    Chamnap Chhorn

    โฌ†๏ธ Bumped paperclip dependency to 6.1.x

    Josh Powell

    โฌ†๏ธ Bumped bootstrap-sass to 3.4.x

    Spark Solutions

    Full Changelog

    You can view the full changes using Github Compare.