Releases: verbb/wishlist
Releases · verbb/wishlist
1.2.14
Added
- Add
wishlist/lists/update
action to enable list updating from the front-end.
1.2.13
{warning} Please note the deprecation of
item
for Ajax requests. If you're using Ajax to handle the response from add/delete/toggle, please adjust your Javascript code that handles this to useitems
.
Added
- Full item model is now included in Ajax responses for
toggle
requests.
Fixed
- Fix incorrect return values for add/delete/toggle for Ajax requests.
Deprecated
item
is now deprecated in Ajax responses for add/delete/toggle actions, and will be removed in the next major release. Please adjust your code to instead rely onitems
which is an array of returned Wishlist items. This is because these actions can support multiple items, rather than just a single one.
1.2.12
{warning} Please note the change in default behaviour for
purgeInactiveLists
.
Changed
- Change
purgeInactiveLists
to be on by default. This will prevent your wishlists from getting out of control.
1.2.11
1.2.10
{warning} Please note the change in default behaviour for
mergeLastListOnLogin
.
Changed
- Change
mergeLastListOnLogin
to be off by default. User lists won't be merged automatically, by default.
1.2.9
Added
- Add
resave/wishlist-items
console command. - Add
resave/wishlist-lists
console command.
Fixed
- Fix potential error when fetching an items list, when it doesn’t exist.
1.2.8
Added
- Return “items” when toggling an item. This will be the item ID and the action taken upon an item ('added' or 'removed').
1.2.7
Added
- Add
action
param to all item and list controller actions
1.2.6
Fixed
- Fix logging error
Call to undefined method setFileLogging()
.
1.2.5
Added
- Add
mergeLastListOnLogin
, on by default to merge guests’ lists when logging in with existing saved lists.
Fixed
- Ensure saved lists for users aren’t overridden on next login.