Releases: dereuromark/cakephp-tinyauth
Releases · dereuromark/cakephp-tinyauth
4.2.1
4.2.0
Improvements
- Compatibility with CakePHP 5.1+
Make sure to check your_cake_model_
cache as this one is supposed to be used moving forward.
Fixes
- Fixed up deprecation notices
- Don't reload component for DebugKit panel, if already loaded
4.1.0
Improvements
Add any role to any command and action:
bin/cake tiny_auth_add {Controller} {Action} {roles, comma separated}
It will skip if the roles are already present for this controller and action.
Use with -d -v
to just output the changes it would do to your ACL INI file.
4.0.1
Fixed
Fixed role reading/detection for role as backed enum.
The following would now work for a string field:
namespace App\Model\Enum;
use Cake\Database\Type\EnumLabelInterface;
use Cake\Utility\Inflector;
enum UserRole: string implements EnumLabelInterface {
case MAINTAINER = 'maintainer';
case ADMIN = 'admin';
/**
* @return string
*/
public function label(): string {
return Inflector::humanize(mb_strtolower($this->name));
}
}
4.0.0
CakePHP 5 compatible release
Enjoy!
4.0.0-RC
CakePHP 5 compatible pre-release
Please test, once confirmed we can release stable.
3.2.0
Improvements
- Removed deprecations
- PHP 7.4+
3.1.0
Improvements
- CakePHP 4.2+ and PHP 7.3+
- Remove deprecations
- Fix up edge cases around plugin config
3.0.4
Improvements
Prepared for PHP 8 testing.
3.0.3
Fixes
- Fixed identity to array conversion for helper.