Skip to content

Releases: WildsideUK/Laravel-Userstamps

2.4.0

13 Mar 08:57
Compare
Choose a tag to compare

Adds support for Laravel 11.x

2.3.0

15 Feb 09:38
Compare
Choose a tag to compare

Adds support for Laravel 10.x

2.2.0

11 Feb 10:38
a54e057
Compare
Choose a tag to compare

Adds support for Laravel 9.x

2.1.0

11 Sep 07:12
Compare
Choose a tag to compare

Adds support for Laravel 8.x.

2.0.0

09 Mar 17:23
Compare
Choose a tag to compare

This releases contains no new functionality, but has a breaking change for an undocumented behaviour.

The majority of use cases should not be effected by this change, but tagging a major version in case anyone was relying on the behaviour.

Previously, setting any of CREATED_BY, UPDATED_BY and DELETED_BY class constants to null would revert to the default column name. This release changes that behaviour to match Laravel's pattern for the timestamp class constants. A value of null on any of those class constants will now disable maintaining of that column.

1.2.0

03 Mar 14:48
Compare
Choose a tag to compare

Adds support for Laravel 7.x.

1.1.0

21 Oct 08:39
Compare
Choose a tag to compare

Remove use of helper method unsupported by Lumen.

1.0.0

16 Oct 10:27
Compare
Choose a tag to compare

New helper methods are available to workaround limitations with Eloquent events when performing bulk updates or deletes.

updateWithUserstamps and deleteWithUserstamps behave exactly the same as update and delete, but allow you to make bulk updates that maintain the correct updated_by and deleted_by values.

1.0.0-rc.0

20 Sep 10:52
Compare
Choose a tag to compare
1.0.0-rc.0 Pre-release
Pre-release

New helper methods are available to workaround limitations with Eloquent events when performing bulk updates or deletes.

updateWithUserstamps and deleteWithUserstamps behave exactly the same as update and delete, but allow you to make bulk updates that maintain the correct updated_by and deleted_by values.

0.6.0

20 Sep 09:28
63a9a64
Compare
Choose a tag to compare

Fixes an issues where the creator, editor and destroyer methods would resolve to the incorrect class.

Breaking changes

  • This release drops support for Laravel < 5.2.
  • This release removes an accidental behaviour where updated_by could be set to null, overwriting the last set value, if no user is present.