- if you are using a custom
Activitymodel, you should let it implement the newSpatie\Activitylog\Contracts\Activityinterface - the preferred way to get changes on an
Activitymodel is through thechangesproperty instead of thechanges()function. Change all usages from$activity->changes()to$activity->changes - the
activityrelation of theCausesActivitytrait has been renamed toactions. Rename all uses from$user->activityto$user->actions - the
activityrelation of theLogsActivitytrait has been renamed toactivities. Rename all uses from$yourModel->activityto$yourModel->activities. - the deprecated
loggedActivityrelation has been removed. Useactivitiesinstead. - the
HasActivitytrait has been removed. Use bothCausesActivityandLogsActivitytraits instead.