Skip to content

Releases: dereuromark/cakephp-tinyauth

4.2.1

24 Sep 09:28
Compare
Choose a tag to compare

Fixes

  • Removed more deprecations

4.2.0

16 Sep 20:39
Compare
Choose a tag to compare

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

23 Jan 06:31
Compare
Choose a tag to compare

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

24 Dec 15:39
Compare
Choose a tag to compare

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

27 Nov 22:07
Compare
Choose a tag to compare

CakePHP 5 compatible release

Enjoy!

4.0.0-RC

03 Oct 15:05
Compare
Choose a tag to compare

CakePHP 5 compatible pre-release

Please test, once confirmed we can release stable.

3.2.0

03 Oct 15:04
Compare
Choose a tag to compare

Improvements

  • Removed deprecations
  • PHP 7.4+

3.1.0

20 Jul 13:02
b096ffe
Compare
Choose a tag to compare

Improvements

  • CakePHP 4.2+ and PHP 7.3+
  • Remove deprecations
  • Fix up edge cases around plugin config

3.0.4

07 Oct 13:07
84ed456
Compare
Choose a tag to compare

Improvements

Prepared for PHP 8 testing.

3.0.3

31 Oct 15:03
8ee90f4
Compare
Choose a tag to compare

Fixes

  • Fixed identity to array conversion for helper.