Notas da versão 2.1.1: 1 novidade 3 melhorias 5 correções
Novidade
- Downloads block and [getpaid_downloads]: items argument to list only some items' downloads (a bundle's downloads use the bundle item's ID), and the getpaid_customer_downloads_widget_downloads filter
Melhoria
- The Downloads Remaining column is left out when every download is unlimited (it only showed the infinity sign), and the Downloads block can always hide it
- Downloads are now limited to allowed folders and file types, and range requests can only resume a recent download once the download limit is reached - FIXED/SECURITY
- GitHub connection accepted a forged authorization callback and skipped SSL checks, and fetched file names could write outside the uploads folder - FIXED/SECURITY
Correção
- Download limit set on an item was never saved, so downloads were unlimited
- Renewing or editing a subscription changed the download expiry for every customer of the same item
- Deleting a download permission on an invoice removed it for every customer
- GitHub fetch ignored the selected tag, and stopped with a fatal error on PHP 8 when the repository has a readme.txt
- Fatal error on PHP 7.2 when editing or saving an item