Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 757 Bytes

UPGRADE.md

File metadata and controls

26 lines (18 loc) · 757 Bytes

Upgrade to unreleased

BC BREAK: Current user name resolution

Previously the username that was recorded againsts revisions was resolved by SimpleThings\EntityAudit\Request\CurrentUserListener (``simplethings_entityaudit.request.current_user_listener` service).

This has been removed and replaced with SimpleThings\EntityAudit\User\TokenStorageUsernameCallable.

The bundle configuration has changed to reflect these changes:

Before:

simple_things_entity_audit:
    listener:
        current_username: true

After:

simple_things_entity_audit:
    service:
        username_callable: simplethings_entityaudit.username_callable.token_storage

The above after configuration is the default and does not need setting explicitly.