Skip to content

Releases: RobTrehy/LaravelUserPreferences

Version 4.1.3

10 Nov 19:41

Choose a tag to compare

Hotfix: Ensure when the database column is null, UserPreferences::all() applies the defaults and does not trigger a json_decode(null) warning

Full Changelog: 4.1.2...4.1.3

Version 4.1.2

10 Nov 19:21

Choose a tag to compare

Hot Fix: Ensure ::all() method returns an array for backwards compatibility

Full Changelog: 4.1.1...4.1.2

Version 4.1.1

09 Nov 19:00
42bba7c

Choose a tag to compare

Avoids deprecation warning in PHP 8.1+ when preferences column is null (#20)

What's Changed

Full Changelog: 4.1.0...4.1.1

Version 4.1.0

09 Nov 18:45
0c5f9d3

Choose a tag to compare

  • Added methods for working with preferences for any user instance or ID:
    • getForUser()
    • setForUser()
    • resetForUser()
    • hasForUser()
  • Achieved 100% test coverage for UserPreferences class.
  • Updated internal caching to support per-user caching ($preferencesCache and $hasLoadedCache).
  • Minor docblock improvements.

What's Changed

Full Changelog: 4.0.0...4.1.0

Version 4.0.0

01 Aug 14:43
3f17d8e

Choose a tag to compare

Adds support for Laravel 12.x
Drops support for Laravel 8.x and 9.x

What's Changed

New Contributors

Full Changelog: 3.1.1...4.0.0

Version 3.1.1

19 Mar 14:48

Choose a tag to compare

3.1.1 - 2024-03-19

  • Hotfix

Full Changelog: 3.1.0...3.1.1

Version 3.1.0

18 Mar 11:17
04d55bf

Choose a tag to compare

3.1.0 - 2024-03-18

  • Added support for Laravel 11.x
  • Added support for Laravel 10.x

What's Changed

New Contributors

Full Changelog: 3.0.0...3.1.0

Version 3.0.0

10 Feb 14:22

Choose a tag to compare

3.0.0 - 2022-03-30

  • Added support for Laravel 9.x
  • Drops support for Laravel 8.x

What's Changed

New Contributors

Full Changelog: 2.1.1...3.0.0

Version 2.1.1

30 Mar 08:52

Choose a tag to compare

2.1.1 - 2022-03-30

  • Security Updates
  • Fix: avoid passing null to json_decode in PHP 8.1 Reex11

What's Changed

  • Bump doctrine/dbal from 3.1.0 to 3.1.4 by @dependabot in #7
  • Bump laravel/framework from 8.40.0 to 8.75.0 by @dependabot in #11
  • fix: avoid passing null to json_decode PHP8.1 by @Reex11 in #8
  • Bump guzzlehttp/psr7 from 1.8.2 to 1.8.5 by @dependabot in #9

New Contributors

Full Changelog: 2.1.0...2.1.1

Version 2.1.0

02 Aug 09:36

Choose a tag to compare

2.1.0 - 2021-08-02