Skip to content

Releases: dereuromark/cakephp-tools

2.6.1

26 Oct 10:10
Compare
Choose a tag to compare

Fixes

Removed deprecation that was invalid anyways.

2.6.0

25 Oct 17:11
20ff734
Compare
Choose a tag to compare

Improvements

Removed deprecations

3.0.0-RC

03 Oct 14:42
Compare
Choose a tag to compare

CakePHP 5 compatible pre-release

Please test, once confirmed we can release stable.

2.5.4

20 Mar 14:34
Compare
Choose a tag to compare

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

14 Feb 23:47
Compare
Choose a tag to compare

Improvements

Added an option to check the existence of Icon::render() icon names instead of silently displaying empty (no) icon.

2.5.2

18 Dec 03:52
Compare
Choose a tag to compare

Improvements

  • IconHelper: Allow global and icon set attributes to get merged in with each render() call.

2.5.1

15 Dec 18:21
Compare
Choose a tag to compare

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

14 Dec 22:51
Compare
Choose a tag to compare

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

02 Dec 01:26
Compare
Choose a tag to compare

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

17 Nov 23:11
Compare
Choose a tag to compare

Fixes

Fixed deprecation changes for validation of array input.