Releases: dereuromark/cakephp-tools
2.6.1
Fixes
Removed deprecation that was invalid anyways.
2.6.0
Improvements
Removed deprecations
3.0.0-RC
CakePHP 5 compatible pre-release
Please test, once confirmed we can release stable.
2.5.4
Fixes
- Add existence check for URL HTTPS detection in
detectHttps
config - Fix up validateUnique rule for empty values by normalizing to DB default (null)
2.5.3
Improvements
Added an option to check the existence of Icon::render()
icon names instead of silently displaying empty (no) icon.
2.5.2
Improvements
- IconHelper: Allow global and icon set attributes to get merged in with each
render()
call.
2.5.1
Fixes
- Fixed icon name handling for title in
Icon::render()
. - Fixed FontAwesome5 icon collector to work again with SVGs. Also added YML support.
2.5.0
Improvements
Localized datetime formatting
Added FrozenTime::formatLocalized()
for PHP 8.1+ safe localized output of date(time) values.
Font icons
Added IconHelper::render()
as way to display font icons now, deprecating FormatHelper::icon()
.
It now is able to serve the following icons out of the box and even side-by-side using prefixing (prefix:icon-name
):
- FontAwesome v4/v5/v6
- BootstrapIcons
- Material
- Feather
But based on its DI nature, you can register any Icon class inside and serve any custom or even own icon font this way now.
Each Icon class has full control over the rendering of the HTML.
Using IconHelper::names()
you can get a list of all font icons available in your PHP code.
Tip: Use IdeHelperExtra plugin to get full autocomplete for the icon names as input for render($name)
.
2.4.2
Fixes
Fixed Bitmasked behavior "contain" filtering to work with more than one value.
Before it always used the exact combination, whereas an OR of each value is correct for most use cases.
Also added containMode
as and
if one wants to use exact combination of values to be found.
Live demo of all cases available here: https://sandbox.dereuromark.de/sandbox/tools-examples/bitmask-search
2.4.1
Fixes
Fixed deprecation changes for validation of array input.