Skip to content

Releases: dereuromark/cakephp-tools

2.x Bugfixes

26 Nov 12:46
Compare
Choose a tag to compare
  • ResetBehavior: do not update modified if not desired
  • Version checks fixed for 2.10.x to be greater than 2.3.x etc
  • Emogrifier improvements

Improvements

26 Nov 13:18
Compare
Choose a tag to compare

Improvements

UrlComponent for handling URLs in the controller scope:

  • buildReset() and buildComplete()
  • resetArray() and completeArray()
  • defaults()

just as for the UrlHelper which now has

  • buildReset() and buildComplete()
  • resetArray() and completeArray()
  • defaults()

"reset" always resets plugin and prefix automatically, this is very useful when working with navigation pieces that will always appear, even in plugin context and therefore must be reset here.
"complete" will always keep all URL pieces including the query string. This is useful when passing around filters and alike and don't want to lose them inside a certain scope.

Removals

Some things have been removed as they can now be found in their own plugin:

  • Flash component and helper are now in an own Flash plugin
  • AuthUser component and helper are now integrated in TinyAuth
  • JsHelper and CookieHelper are now in Shim
  • YearType is now in Shim

Also:

  • Deprecated Utility methods have been removed.

Deprecations

TreeHelper is now deprecated, use this stand-alone repo.

3.x Allow Passwordable to update field list

31 Oct 21:08
Compare
Choose a tag to compare

Passwordable behavior can now auto-update field list for its needed fields.
It can also force the field list if not provided. Otherwise the entity must have those fields accessible.

3.x Small fixes

27 Oct 23:16
Compare
Choose a tag to compare

Bugfixes

The Url helper has been fixed:

  • reset()
  • complete()

now both work as expected.

The JsonableBehavior can now work with NAN and INF just as CakePHP core can since PHP 5.5+.

3.x PostgreSQL support and AuthUser deprecation

23 Oct 17:56
Compare
Choose a tag to compare

PostgreSQL

PostgreSQL has been added to the Travis build matrix and the plugin is supposed to work with it completely now.

AuthUser now in TinyAuth

Now with TinyAuth and full AuthUser support that part can now be deprecated inside Tools for good.

It will be removed in the next minor version, so please upgrade to TinyAuth component and helper here.
Those also perfectly work stand-alone, so no need to also use Authentication or Authorization of TinyAuth - but you very well could completely integrate it in minutes and save yourself a lot of controller code in your existing application.

Removed deprecations, improved Bitmasked

04 Sep 19:15
Compare
Choose a tag to compare

Deprecations

A few classes had to be marked as deprecated and "discontinued":

  • SoftDelete
  • Logable
  • Revision (PHP7 incompatible!)

They will not be part of Tools 1.x (CakePHP 3.x) and will have to be pluginized standalone.
Some of them even already partially exist as such for 3.x.

Please make sure that you move this into your own plugin if you rely on that in the future.

Features

Bitmasked behavior now allows for multiple fields. Changes should be BC.

CakePHP 3.3 compatibility

18 Aug 17:56
Compare
Choose a tag to compare

Also requires now PHP 5.5+ then.

Small fixes

09 Aug 08:57
Compare
Choose a tag to compare

Passwordable behavior fix around "column id is ambigous" error.

Fix Email testing

20 Jun 21:00
Compare
Choose a tag to compare

Allow Configure::read('Email.config') to be used for easier testing of email sending.

Fix ErrorHandler and PHP7 compatability

01 Jun 12:22
Compare
Choose a tag to compare

ErrorHandler must not have a PHP5 only typehint.
Some small fixes included.