Releases: onamfc/laravel-devlogger
v1.1.9
v1.1.8
v1.1.7 - Version Bump
Bump version for packagist
v1.1.6 - Fix Publish Paths
Update the path reference to the config and migration files
v1.1.5 (PATCH)
Resolved PHP 8.3 deprecation warning:
Updated method signature of markAsClosed() in DeveloperLog model to explicitly declare $userId as a nullable integer (?int $userId = null).
This change prevents the deprecation notice:
"Implicitly marking parameter $userId as nullable is deprecated", which occurs in PHP 8.3 and later.
v1.1.4
v1.1.3
The fix uses conditional logic to handle both cases:
- When a specific connection is configured, it uses Schema::connection($connection)
- When no connection is specified (null), it uses Schema directly
This approach avoids trying to assign the facade to a variable, which isn't supported in PHP, and ensures compatibility with Laravel 12's stricter requirements.
v1.1.2 - Laravel 12 Support
Addresses the issue with Laravel 12 has chaning the Schema::connection() method to require a connection name parameter, whereas in previous versions it could be called without arguments to use the default connection.
v1.1.1
v1.1.0
- PHP Version: Updated minimum PHP requirement to 8.2 (Laravel 12's requirement)
- Illuminate Dependencies: Added ^12.0 to all Laravel package constraints
- Model Accessors: Updated to use Laravel's new Attribute class instead of the deprecated get{Attribute}Attribute() pattern
- Request Facade: Replaced Request:: facade calls with request() helper for better compatibility
- Schema Connection Handling: Improved null connection handling in migrations
- Testing Dependencies: Updated Orchestra Testbench and PHPUnit versions
The updated package will still work with Laravel 9, 10, and 11 while being ready for Laravel 12. The changes use patterns that are available across all supported versions.