spatie/laravel-activitylog
Log user and model activity in Laravel with a simple API. Automatically record Eloquent events, track subjects and causers, attach custom properties, and query everything via the Activity model. Stores logs in the activity_log table.
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.12.3...5.0.0
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.12.0...4.12.1
null by @rojtjo in https://github.com/spatie/laravel-activitylog/pull/1439Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.2...4.11.0
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.1...4.10.2
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.10.0...4.10.1
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.9.1...4.10.0
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.9.0...4.9.1
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.8.0...4.9.0
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.3...4.8.0
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.2...4.7.3
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.1...4.7.2
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.7.0...4.7.1
Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.6.0...4.7.0
getExtraProperty() by @grantholle in https://github.com/spatie/laravel-activitylog/pull/1090Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.5.3...4.6.0
deleted_at column usage - #965\Spatie\Activitylog\LogOptions::useAttributeRawValues() to log uncasted attributes - #972immutable_date cast support - #969\Spatie\Activitylog\LogBatch::setBatch(string $uuid) method to keep batches across requests or multiple jobs - #918PR: #787 Special thanks to Ahmed Nagi.
Drop Laravel 6 and 7 support.
Drop PHP 7.x support.
Add LogOptions configuration object to replace all configuration properties.
Add ability to batch activity logs #560
Add Pipeline to customize logged changes data.
Implement a CauserResolver to define causer for current runtime #582.
retrieved event loggingv3.14.0Please use v3.14.1 instead - this release is breaking because of the new column. There is also a v4.0.0-rc.1 release that equals to this one.
\Spatie\Activitylog\ActivityLogger::event() method and column #702\Spatie\Activitylog\ActivityLogger::withoutLogs() method #695spatie/string dependency #690null to be strictly compared when logging dirty fields #453activitylog.database_connection and ACTIVITY_LOGGER_DB_CONNECTION env var #568array_ helper #569properties column type from text to json #525subject_id and causer_id column type from integer to big_integer and unsigned #527DetectsChanges trait #534DetectsChanges trait #537DetectsChanges trait #538ActivityLogger::tap() methodLogsActivity::tapActivity() methodActivityLogger will work on an activity model instance instead of cache variablesshouldLogUnguarded() methodshouldLogOnlyDirty()$logUnguarded$logUnguardedActivity model is through the changes property instead of the changes() functionactivity relation of the CausesActivity trait has been renamed to actionsactivity relation of the LogsActivity trait has been renamed to activitiesloggedActivity relation has been removedHasActivity trait has been removed.Activity model via the $table propertynull to be passed to causedByActivityLogger is usedenableLogging() and disableLogging()$logAttributesToIgnoretable_name config optiontext column for descriptionHasActivityattributesToBeLoggedlogChangeslog argument to activitylog:clean*properties always is a collectionlaravel-activitylog to activityloggetChangesAttribute function to changes so it doesn't conflict with Laravel's native functionalitySoftDeletesenableLogging and disableLoggingDetectsChangesDetectsChangeslogDirtyOnlylogDirtyOnlyActivity now extends from Model instead of EloquentscopeCausedBy and scopeForSubjectrestored eventactivity()->log(). It will now return the created Activity-model.Macroable to ActivityLoggercausedBy and forSubject scopesenabled option in the config file.ignoreChangedAttributesActivity model1.3.0getLogNameToUseactivity-method on both the CausesActivity and LogsActivity-traitinLog scopeinLog function aliasLogsActivity with setDescriptionForEvent() by @stevebauman in https://github.com/spatie/laravel-activitylog/pull/977tapActivity when manually creating activity logs by @FrancisMawn in https://github.com/spatie/laravel-activitylog/pull/1031Full Changelog: https://github.com/spatie/laravel-activitylog/compare/4.4.2...4.4.3
How can I help you explore Laravel packages today?