Releases: lukasbestle/kirby-downloads
Releases · lukasbestle/kirby-downloads
1.2.1
1.2.0
1.1.0
✨ Enhancements
- Support for Kirby 4 and PHP 8.3
☠️ Deprecated
- The plugin is no longer tested with PHP 8.0. As this version has reached end-of-life, I don't recommend using it in production any longer.
1.0.0
Initial stable release (no changes to version 1.0.0-rc.3)
1.0.0-rc.3
🎉 Features
- Support for custom human-readable and translatable labels for each UI filter option
- Displayed results in the frontend are now paginated to 15 results per page by default; this can be modified or disabled in the config
- New
$block->hasActiveForm()
method to check whether at least one filter or the search have user input in them
✨ Enhancements
- UI filter options are now sorted alphabetically by their labels
⚠️ Breaking changes
- The config array syntax for field labels has changed.
- The form and API endpoints for UI filters now use the
GET
HTTP method (previouslyPOST
). - The JSON response data structure for the UI filter API endpoint has changed to include the pagination data.
➡️ Migration
- If you have defined translated labels for the fields in your config, please adapt to the new array syntax.
- If you use a custom block snippet, please review the diff to the previous version and apply the changes to your own snippet.
- If you use the UI filter API endpoint, please switch to a
GET
request and adapt to the new pagination setup.
For a full picture, check out the updated documentation.