Releases: RobTrehy/LaravelUserPreferences
Releases · RobTrehy/LaravelUserPreferences
Version 4.1.3
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
Hot Fix: Ensure ::all() method returns an array for backwards compatibility
Full Changelog: 4.1.1...4.1.2
Version 4.1.1
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
- Added methods for working with preferences for any user instance or ID:
getForUser()setForUser()resetForUser()hasForUser()
- Achieved 100% test coverage for
UserPreferencesclass. - Updated internal caching to support per-user caching (
$preferencesCacheand$hasLoadedCache). - Minor docblock improvements.
What's Changed
Full Changelog: 4.0.0...4.1.0
Version 4.0.0
Adds support for Laravel 12.x
Drops support for Laravel 8.x and 9.x
What's Changed
- Laravel Version 12 support by @RobTrehy in #22
- Laravel 12 compatability by @sunscreem in #21
New Contributors
- @sunscreem made their first contribution in #21
Full Changelog: 3.1.1...4.0.0
Version 3.1.1
Version 3.1.0
Version 3.0.0
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
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