Skip to content

Model validation i18n and 3.0 shims

Compare
Choose a tag to compare
@dereuromark dereuromark released this 23 Dec 13:00
· 1252 commits to master since this release

Xmas Release

This release mainly aims to bring 2.x apps closer to 3.x.
It is compatible to 2.6, as well.

Overwriting translations

Currently, the translations in tools domain cannot be overwritten in the application. That is a core deficiency.
To overcome this I removed all .po files from the plugin itself, and only left the .pot stubs.
You need to copy needed .pot files over to your APP/Locale folder and rename them to .po.

Behaviors: Passwordable

The model validation is now also completely in tools domain. Makes things easier and does not collide with the default validation domain.
Please make sure you are using an updated tools.po file.

Shims

A few 3.0 shims have been added to ease migration towards the next major release.

  • Flash messages have been extracted from Common component: CommonComponent::flashMessage() is now FlashComponent::message() or ...::$type()
  • IntegrationTestCase backport for basic 3.0 functionality and syntax regarding the future of integration tests

Those changes are fully BC, though.

Other

Minor bugfixes resolved and a few features added.

Important

Do not use dev-master from here on, as it will now be further adjusted to Cake3 compatibility, and as such will soon be PHP5.4+.
Please lock your composer.json to a specific version, e.g. 0.6.* if you are running your apps below that requirement.