🎉 Features
- Added support for hot module reloading (HMR) during plugin development using kirbyup #4541
- New
Helpers::handleErrors()
method for custom PHP error handling - New
F::unlink()
method for idempotent deletion of files and links (native PHPunlink()
without a warning when the file is already deleted)
✨ Enhancements
-
The
toggles
field preview now uses bubbles #4566 -
Reduced size of the Panel's vendor JS file by adding code splitting for the
vuedraggable.js
library #4504Before
dist/css/style.css 106.29 KiB / gzip: 18.02 KiB dist/js/index.js 303.70 KiB / gzip: 71.99 KiB dist/js/vendor.js 375.31 KiB / gzip: 120.69 KiB
After
dist/js/vuedraggable.js 40.74 KiB / gzip: 14.12 KiB dist/css/style.css 106.29 KiB / gzip: 18.01 KiB dist/js/index.js 304.26 KiB / gzip: 72.29 KiB dist/js/vendor.js 333.99 KiB / gzip: 106.81 KiB
-
Node dependencies have been updated #4568
-
k-text
has a newhtml
prop to pass content that should be rendered as HTML (instead of providing text via the default slot). Use carefully as rendering HTML can be a gateway for XSS attacks. #4578 -
Now text block field input extendable with preview #3016
🐛 Fixes
- UI Kit typos fixed for reference docs #4562
- Asset URLs no longer start with two slashes if the site's base URL was configured as
/
#4508 - The
intl
date handler now consistently uses the configured default locale #4304 - Deleting files throughout the codebase now happens in an idempotent way (if the file is already deleted, no error is thrown) to avoid race conditions, e.g. when cache entries or sessions are cleaned #3039