Skip to content

Bump cakephp/authentication from 3.3.4 to 4.0.1#174

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/cakephp/authentication-4.0.1
Open

Bump cakephp/authentication from 3.3.4 to 4.0.1#174
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/composer/cakephp/authentication-4.0.1

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot bot commented on behalf of github Mar 2, 2026

Bumps cakephp/authentication from 3.3.4 to 4.0.1.

Release notes

Sourced from cakephp/authentication's releases.

CakePHP Authentication 4.0.1

What's Changed

Full Changelog: cakephp/authentication@4.0.0...4.0.1

CakePHP Authentication 4.0.0

Breaking Changes

  • Identifier configuration format changed - Moved from nested array to flatter structure:

    // Before
    'identifier' => ['Authentication.Token' => ['tokenField' => 'id', ...]]
    // After
    'identifier' => ['className' => 'Authentication.Token', 'tokenField' => 'id', ...]

  • Class renames:

    • CakeRouterUrlCheckerDefaultUrlChecker
    • DefaultUrlChecker (framework-agnostic) → GenericUrlChecker
  • SessionAuthenticator identify option removed - This deprecated option has been removed. Use PrimaryKeySessionAuthenticator if you need session-based authentication without password re-verification.

  • Identifier parameter now optional in AbstractAuthenticator constructor

  • Removed deprecated code including loadIdentifier() method

  • Updated dependency: firebase/php-jwt now requires ^7.0

Improvements

  • Lazy identifier initialization via getIdentifier() method
  • Cleaner authenticator/identifier relationship
  • Redirect validation feature (backported from 3.x)
  • Plugin now properly declares cakephp/cakephp as dependency
  • Identity::get() now supports dot-separated field names for nested data access
  • New IdentityHelper::getIdentity() method for easier identity access in templates
  • PrimaryKeySessionAuthenticator now has a default TokenIdentifier configured

Migration

Rector rules available at cakephp/upgrade#370 for automated migration assistance.

Full Changelog: cakephp/authentication@3.3.5...4.0.0

CakePHP Authentication 3.3.5

... (truncated)

Commits
  • 5c6afb1 Merge pull request #772 from cakephp/phpstan
  • 6a514ac Fix types
  • af84288 Fix CS error
  • 049f583 Update phpstan to level 8
  • 24e899b Merge pull request #771 from WideeFr/patch-2
  • 89cfee9 Update all.py for display on book
  • 8faadab Make identifier parameter optional in AbstractAuthenticator
  • a3f120a Clean up dormant code after identify option removal
  • 18afbf8 Remove deprecated identify option from SessionAuthenticator
  • e5f710c Merge branch '3.x' into 4.x
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 2, 2026
Bumps [cakephp/authentication](https://github.com/cakephp/authentication) from 3.3.4 to 4.0.1.
- [Release notes](https://github.com/cakephp/authentication/releases)
- [Commits](cakephp/authentication@3.3.4...4.0.1)

---
updated-dependencies:
- dependency-name: cakephp/authentication
  dependency-version: 4.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/cakephp/authentication-4.0.1 branch from d19cc48 to fce5c1e Compare March 3, 2026 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants