Version history
Version 3.1.0
The REST API is now ready for use with multiple chains. See rest-api.md for changes in endpoints. All changes are backwards compatible and nothing will change if you only have one Spaaza chain configured.
Version 3.0.0
Changes in this version are all about supporting customers with 'website' scope. You can now have different Spaaza connection settings for different websites.
Backward incompatible changes in public methods
\Spaaza\Loyalty\Model\Connector\Voucher::lockVoucher()now needs a customer model instead of only a customer id.
Version 2.2.0
- Added a 'Download Debug Info' button in the Magento backend which allows a backend user to download the log files and info about all outgoing API requests.
Version 2.0.2
\Spaaza\Loyalty\Model\VoucherManagement::getAvailableVouchers()now has an extra parameter$includeBasketCampaignVoucherswhich controls whether basket campaign vouchers will be returned. Previous (pre-2.0.0) versions of the module would never return basket campaign vouchers because Spaaza didn't know about the basket contents, so setting the default value of this parameter tofalsemakes the module a little more backward compatible.
Version 2.0.1
- Documentation changes.
Version 2.0.0
Backward incompatible changes
\Spaaza\Loyalty\Api\Data\VoucherDistributionItemInterfacehas been moved to\Spaaza\Loyalty\Api\Data\VoucherDistributionItemInterface
This is because the voucher distribution will now also be stored on quote level. Also, the data model has been moved fromSpaaza\Loyalty\Model\Data\Order\VoucherDistributionItemtoSpaaza\Loyalty\Model\Data\VoucherDistributionItem.- Renamed
\Spaaza\Loyalty\Model\Connector\Salesto\Spaaza\Loyalty\Model\Connector\Order. The events still get dispatched, but are deprecated - please use plugins. - Moved
\Spaaza\Loyalty\Model\Connector\Sales::sendCreditMemo()to a separate class:\Spaaza\Loyalty\Model\Connector\Ceditmemo. The events still get dispatched, but are deprecated - please use plugins.
Deprecated
- All helpers except the 'data' helper have been marked as deprecated. If you created a plugin for one of the helper methods, see the phpDoc of the original helper method to get hints about moving them. Please note that the 'data' helper will be deprecated in the near future.
- The events that are being dispatched in the Sales related connector classes (
OrderandCreditmemo) are deprecated. Find a method in the class to create a plugin for.