Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Commit

Permalink
Update 1.1.0 and 1.2.0 release notes regarding changes in Spree::Prod…
Browse files Browse the repository at this point in the history
…uct#master_images and Spree::Product#variant_images
  • Loading branch information
Trung Lê committed Aug 17, 2012
1 parent d1a4949 commit 509d596
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/release_notes_1_1_0.textile
Expand Up @@ -55,6 +55,12 @@ As a part of this, the +spree/spree_api+ assets are no longer available, and so

h3. Minor changes

h4. Introduce Spree::Product#master_images and Spree::Product#variant_images

+Spree::Product#master_images+ and its alias +Spree::Product#images+ only returns images belongs to master variant.

+Spree::Product#variant_images+ behaviour is changed, it is no longer return only images belongs to master variants but now also include all variants' images.

h4. Stronger mass assignment protection

As per the "Rails 3.2.3 release notes":https://groups.google.com/forum/?fromgroups#!topic/rubyonrails-core/X-zNKaPOVJw , there is a stronger enforcement of attribute protection within Rails. This *may* affect your Spree application, and if it does we would advise "filing an issue":https://github.com/spree/spree/issues so that it can be promptly fixed. While the tests for Spree itself are extensive, there may still be edge cases where your application goes that we do not have covered.
Expand Down
6 changes: 6 additions & 0 deletions source/release_notes_1_2_0.textile
Expand Up @@ -45,6 +45,12 @@ For more information about customizing the checkout process within Spree, please

h3. Minor changes

h4. Introduce Spree::Product#master_images and Spree::Product#variant_images

+Spree::Product#master_images+ and its alias +Spree::Product#images+ only returns images belongs to master variant.

+Spree::Product#variant_images+ behaviour is changed, it is no longer return only images belongs to master variants but now also include all variants' images.

h4. Spree::Zone#country_list renamed to #zone_member_list

Please be noted that the underlying logics remain intact.
Expand Down

0 comments on commit 509d596

Please sign in to comment.