Releases: verbb/wishlist
Releases · verbb/wishlist
1.4.1
Changed
- Wishlist queries via GraphQL are now no longer automatically included in the public schema.
1.4.0
{warning} Please note the change in behaviour for
craft.wishlist.item()
has meant that you cannot rely on lists being auto-created anymore on page-load. Ensure anywhere you call{% set list = craft.wishlist.lists().one() %}
you check{% if list %}
before doing anything on the list. Ensure your templates work correctly.
Added
- Add params to
addUrl()
,removeUrl()
andtoggleUrl()
to make it easier to create URLs. - Add listType handle to
craft.wishlist.item()
. - Add
listTypeId
query param to Item queries.
Changed
craft.wishlist.item()
no longer automatically creates new lists when the page is loaded, preventing lots of lists being created for guests. Previously as soon as the page loaded with this call, a list would be created for users, meaning lists could get out of control easily. Be sure to double check your templates.
1.3.1
Fixed
- Fix
optionsSignature
error when updating.
1.3.0
Added
- Guest lists are now (finally) persistent! Using cookies, even when the user closes their browser, their lists are retained for their next visit.
- Add migration for Shortlist plugin for Craft 2.
- Add migration for Upvote plugin.
- Add PDF template handling, to provide an easy way to generate PDF's of your lists and their content. See docs.
- Add Item Options, allowing you to save additional, arbitrary content on items. See docs.
- Add all available config settings to be able to be managed in the control panel.
- Add support for Craft 3.5+ field layouts.
- Add support for multiple tabs for lists.
- Add support for multiple tabs for list items.
- Add support to customise the item element table columns when editing a list.
- Add new tab to user’s account, for all wishlists and items they may own.
- Add
cookieExpiry
config setting. - Add
showListInfoTab
config setting. - Add
pdfFilenameFormat
config setting. - Add
pdfPath
config setting. - Add
pdfAllowRemoteImages
config setting. - Add
pdfPaperSize
config setting. - Add
pdfPaperOrientation
config setting.
Changed
- Now requires Craft 3.5+.
1.2.21
Added
- Add
craft.wishlist.plugin
Twig variable, allowing access to plugin services. - Add
lists/update-items
controller action, to enable bulk-updating on list items, similar to a cart. - Add BCC and CC email options when sharing a list by email.
1.2.20
Added
- Add
fields
to share-lists controller action. Allowing additional content to be used in email notifications
1.2.19
Added
- Add ability to remove items from a list when adding to cart.
Changed
- Allow
add-to-cart
andshare-by-email
endpoints for lists to be accessed anonymously. - Change add-to-cart behaviour so that it only adds supplied purchasables to the cart - if provided.
1.2.18
Changed
- The
update
list action can now be accessed anonymously. (thanks @BrandonJamesBorders).
1.2.17
Fixed
- Fix type check error when trying to determine list owner.
1.2.16
Added
- Add
wishlist/lists/purge-inactive-lists
console command. - Provide the
list
object to controller actions, to allow usage like{{ redirectInput('lists/{id}') }}
. (thanks @brandonohara). - Add
purgeEmptyListsOnly
andpurgeEmptyGuestListsOnly
config settings.
Fixed
- Improve error-handling for some template functions, to guard against errors.