Skip to content

chore(deps): bump spatie/laravel-activitylog from 4.12.3 to 5.1.5 - #639

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/spatie/laravel-activitylog-5.1.5
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/spatie/laravel-activitylog-5.1.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps spatie/laravel-activitylog from 4.12.3 to 5.1.5.

Release notes

Sourced from spatie/laravel-activitylog's releases.

5.1.5

What changed

  • Fix buffered logging for custom activity models with renamed timestamp columns, UPDATED_AT = null, or $timestamps = false.
  • Use Eloquent's timestamp handling when preparing buffered activities, preserving supplied dates and explicit null values.
  • Add database-backed regression tests for custom timestamp settings and delayed flushing.

Compatibility and release scope

This release contains only the timestamp fix from #1481, backported onto 5.1.4. PHP ^8.4 and Laravel ^12.0 || ^13.0 support are unchanged. Other unreleased changes on main are not included.

Thanks to @​skybleak333 for spatie/laravel-activitylog#1481.

Full changelog: spatie/laravel-activitylog@5.1.4...5.1.5

5.1.4

What changed

  • Fix buffered activities with different optional attributes failing to flush.
  • Insert consecutive activities with matching columns together, preserving logging order and database defaults for omitted columns.
  • Roll back all groups if an insert fails and retain the pending buffer for retry.
  • Clarify the buffering documentation and add public regression coverage.

Compatibility and release scope

This is an isolated backport of #1480 onto 5.1.3. PHP ^8.4 and Laravel ^12.0 || ^13.0 support are unchanged. No public API or configuration changes are required.

This release intentionally excludes other unreleased changes on main, including its Laravel 13.32 minimum requirement and transaction-logging changes.

Validated with 192 tests (472 assertions), Pint, PHPStan, and all eight PHP 8.4/8.5 × Laravel 12/13 × lowest/stable dependency test lanes.

Thanks to @​AleksandrSpicyn for spatie/laravel-activitylog#1480.

Full changelog: spatie/laravel-activitylog@5.1.3...5.1.4

5.1.3

What changed

  • Fix eager authentication and session resolution when registering activity callbacks during application boot.
  • Preserve explicit causers, including unsaved models and custom resolvers that return null.
  • Keep the causer available to tap() callbacks and preserve their changes, including anonymous logging.
  • Clear cached causer relations through Eloquent when selecting an anonymous causer.
  • Align the PHPUnit XML schema with the installed runner, retaining PHP 8.4/8.5 coverage with Laravel 12/Pest 4 and Laravel 13/Pest 5.

Compatibility note

No public APIs were removed and supported PHP/Laravel versions are unchanged. The default causer is now selected when log() is called, or before a tap() callback, rather than when the logger is constructed. If authentication changes between those calls, use causedBy() to retain a specific causer.

Validated with 189 tests (467 assertions), the full eight-job dependency matrix, PHPStan, and Pint.

... (truncated)

Changelog

Sourced from spatie/laravel-activitylog's changelog.

5.1.5 - 2026-11-13

What changed

  • Fix buffered logging for custom activity models with renamed timestamp columns, UPDATED_AT = null, or $timestamps = false.
  • Use Eloquent's timestamp handling when preparing buffered activities, preserving supplied dates and explicit null values.
  • Add database-backed regression tests for custom timestamp settings and delayed flushing.

Compatibility and release scope

This release contains only the timestamp fix from #1481, backported onto 5.1.4. PHP ^8.4 and Laravel ^12.0 || ^13.0 support are unchanged. Other unreleased changes on main are not included.

Thanks to @​skybleak333 for spatie/laravel-activitylog#1481.

Full changelog: spatie/laravel-activitylog@5.1.4...5.1.5

5.1.4 - 2026-11-06

What changed

  • Fix buffered activities with different optional attributes failing to flush.
  • Insert consecutive activities with matching columns together, preserving logging order and database defaults for omitted columns.
  • Roll back all groups if an insert fails and retain the pending buffer for retry.
  • Clarify the buffering documentation and add public regression coverage.

Compatibility and release scope

This is an isolated backport of #1480 onto 5.1.3. PHP ^8.4 and Laravel ^12.0 || ^13.0 support are unchanged. No public API or configuration changes are required.

This release intentionally excludes other unreleased changes on main, including its Laravel 13.32 minimum requirement and transaction-logging changes.

Validated with 192 tests (472 assertions), Pint, PHPStan, and all eight PHP 8.4/8.5 × Laravel 12/13 × lowest/stable dependency test lanes.

Thanks to @​AleksandrSpicyn for spatie/laravel-activitylog#1480.

Full changelog: spatie/laravel-activitylog@5.1.3...5.1.4

5.1.3 - 2026-10-19

What changed

  • Fix eager authentication and session resolution when registering activity callbacks during application boot.
  • Preserve explicit causers, including unsaved models and custom resolvers that return null.
  • Keep the causer available to tap() callbacks and preserve their changes, including anonymous logging.
  • Clear cached causer relations through Eloquent when selecting an anonymous causer.
  • Align the PHPUnit XML schema with the installed runner, retaining PHP 8.4/8.5 coverage with Laravel 12/Pest 4 and Laravel 13/Pest 5.

Compatibility note

No public APIs were removed and supported PHP/Laravel versions are unchanged. The default causer is now selected when log() is called, or before a tap() callback, rather than when the logger is constructed. If authentication changes between those calls, use causedBy() to retain a specific causer.

... (truncated)

Commits
  • aaeec9f Use the timestamp columns of the activity model when flushing the buffer (#1481)
  • 3e6f55a Fix buffered activities with different attributes
  • 011f43d Resolve the default causer when logging, not when building the logger (#1477)
  • a73d0a5 Update CHANGELOG
  • 9c22fc6 Merge pull request #1475 from benddailey/feat/boost-skill
  • 81b12ac Exercise supported PHP and Pest combinations on pull requests
  • 3a1ae8e Keep Boost guidance usable when skills are unavailable
  • 3f20941 Move Boost guidelines into an activitylog-development skill
  • c37c43b Update CHANGELOG
  • 8ce56d3 Merge pull request #1473 from spatie/freekmurze/fix-https-github-com-spatie-1472
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 23, 2026 07:28
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/spatie/laravel-activitylog-5.1.5 branch 2 times, most recently from 3c5f59f to 4d7a56f Compare November 24, 2026 08:43
Bumps [spatie/laravel-activitylog](https://github.com/spatie/laravel-activitylog) from 4.12.3 to 5.1.5.
- [Release notes](https://github.com/spatie/laravel-activitylog/releases)
- [Changelog](https://github.com/spatie/laravel-activitylog/blob/main/CHANGELOG.md)
- [Commits](spatie/laravel-activitylog@4.12.3...5.1.5)

---
updated-dependencies:
- dependency-name: spatie/laravel-activitylog
  dependency-version: 5.1.5
  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/spatie/laravel-activitylog-5.1.5 branch from 4d7a56f to d05af4d Compare November 24, 2026 08:45
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