Releases: dereuromark/cakephp-tools
Releases · dereuromark/cakephp-tools
1.9.2
Bugfixes
Fixed regression Tools component deep trimming.
1.9.1
Improvements
- Removed deprecations, min CakePHP version is now 3.7.
- Added
Utility::notBlank()
as more correct version ofUtility::notEmpty()
1.9.0
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
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
Improvements
- Fix BitmaskedBehavior empty usability
- Improved Bitmasked custom finder
find('bits')
to include typesexact
(default) andcontain
.
The latter allows you to do easy filtering - on paginated views for example.
1.6.0
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
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
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
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
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