Skip to content

Releases: dereuromark/cakephp-tinyauth

5.1.2

07 Feb 09:23
dbc0160

Choose a tag to compare

Fixes

  • Fix null array offset deprecation (PHP 8.5+)

Full Changelog: 5.1.1...5.1.2

5.1.1

19 Dec 15:45

Choose a tag to compare

Fixes

  • Fix AuthPanel serialization issue with PDO objects

Full Changelog: 5.1.0...5.1.1

5.1.0

26 Nov 14:07

Choose a tag to compare

Improvements

Allow grouping of commands now:

tiny_auth:
  tiny_auth add
  tiny_auth sync 

Full Changelog: 5.0.0...5.1.0

5.0.0

04 Nov 03:38

Choose a tag to compare

Improvements

Removed all old Cake (v3) legacy code and Auth component.
It now uses only the 2 new plugins and further extends and improves those in usability.

The docs have been simplified.

4.5.3

01 Aug 10:11
a9c61fb

Choose a tag to compare

Fixes

Full Changelog: 4.5.2...4.5.3

4.5.2

16 Jul 13:13
187ed50

Choose a tag to compare

Improvements

  • Allow using nested role config in #157

Full Changelog: 4.5.1...4.5.2

4.5.1

08 May 01:38
206e4ae

Choose a tag to compare

Fixes

Removed deprecation usage.

4.5.0

30 Apr 12:08
f3716ee

Choose a tag to compare

Improvements

  • Added caching capability to PrimaryKeySession authenticator.

When using this caching layer to avoid expensive DB lookups, make sure to manually invalidate that cache every time a user's (session related) data changes using SessionCache wrapper object.

  • Improved ForbiddenCakeRedirectHandler to not redirect for extension routed URLs - those non-HTTP (e.g. JSON/XML/CSV) requests should never redirect and directly respond in the same format.

  • Refactored AuthPanel. It now includes the identity for quick lookup, as well the authenticator responsible for the log in.

4.4.1

21 Apr 17:50
2e19f3d

Choose a tag to compare

Fixes

Relaxed return type for identity() to also support non-Entity types, e.g. array Identity content.
ArrayAccess is only supported, though, if together with Traversable or Countable.

4.4.0

21 Apr 16:16
49c87cf

Choose a tag to compare

Improvements

  • Added PrimaryKeySessionAuthenticator until a native adaption becomes available.
  • Added ForbiddenCakeRedirect with an unauthorizedMessage to be set as error flash message.
  • Provide AuthUser::identity() convenience method to access the entity directly, as AuthUser::user() returns array for BC reasons