Skip to content

Releases: dereuromark/cakephp-tools

1.9.2

08 Mar 14:43
b271279
Compare
Choose a tag to compare

Bugfixes

Fixed regression Tools component deep trimming.

1.9.1

24 Jan 09:13
Compare
Choose a tag to compare

Improvements

  • Removed deprecations, min CakePHP version is now 3.7.
  • Added Utility::notBlank() as more correct version of Utility::notEmpty()

1.9.0

30 Nov 17:49
Compare
Choose a tag to compare

Improvements

  • Improve TreeHelper (autoPath/autoPathClass, entity support, parent info in element/callback, indentation character) and add documentation
  • Add TypeMapBehavior to allow runtime changes on the column types
  • PHP 7.3 compatibility

1.8.0

27 Nov 22:44
0833d3c
Compare
Choose a tag to compare

Improvements

Allow Slugged behavior to use custom slugger via 'mode' config. Use any callable here.
It internally still uses the deprecated Inflector::slug(), so you can also easily replace it now with the Text::slug() method:

use Cake\Utility\Text;
...
$this->addBehavior('Tools.Slugged', ['mode' => [Text::class, 'slug']]);

1.7.0

18 Nov 20:50
Compare
Choose a tag to compare

Improvements

  • Fix BitmaskedBehavior empty usability
  • Improved Bitmasked custom finder find('bits') to include types exact (default) and contain.
    The latter allows you to do easy filtering - on paginated views for example.

1.6.0

28 Oct 17:48
45805fe
Compare
Choose a tag to compare

Improvements

  • Added a list of exceptions that also are 404 even with referer present.
  • Deprecations removed.

Min CakePHP version is now 3.6.

0.12.4

08 Sep 16:12
Compare
Choose a tag to compare

2.x maintenance release

Fixed GoogleMaps helper to be able to use an API key Google.apiKey via Configure.
This is required since 2018 and otherwise will not render the map.

1.5.7

06 Sep 10:57
Compare
Choose a tag to compare

Improvements

  • Add getSafeRedirectUrl() for post/query + default without compromising redirecting (security issue for external redirect injection)
  • Allow $disableErrorHandlerMiddleware in IntergrationTestCase to globally deactivate instead of verbosely per test case.

1.5.6

22 May 14:16
7a89b39
Compare
Choose a tag to compare

Improvements

Add TypographyHelper (upgraded from 2.x) to work alongside TypographicBehavior.
Add MissingTemplateException into 404 whitelist.

Bugfixes

SluggedBehavior and comma is now working as expected.

1.5.5

19 Apr 17:23
Compare
Choose a tag to compare

Bugfixes

  • Better aliasing on the Bitmasked behavior.
  • Fixed a regression due to 7.2 count issue refactor
  • Removed deprecations and require CakePHP 3.5+
  • Added also new exceptions for 404 logging