Skip to content

Commit

Permalink
Laravel v2.28.1 release (#549)
Browse files Browse the repository at this point in the history
* updated memory limit in fixture

* moved memory increase to init

* removed old increase

* Remove PHP 8.4 deprecations and update test matrices (#547)

* Use dev version of bugsnag-php for tests

* Use in dev version of the PSR logger

* Remove nullable type annotations from method signatures

* Remove test dependency setup

* [Pre-release] Update changelog and version for v2.28.1 release (#548)

* Update changelog and version for v2.28.1 release

* Update release date in changelog

* Update CHANGELOG.md

Co-authored-by: Tom Longridge <[email protected]>

---------

Co-authored-by: Tom Longridge <[email protected]>

---------

Co-authored-by: Aleksander Grzegorzewski <[email protected]>
Co-authored-by: Tom Longridge <[email protected]>
  • Loading branch information
3 people authored Jan 13, 2025
1 parent 319a67c commit 9c34a06
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/maze-runner-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
laravel-fixture: laravel10
- php-version: '8.3'
laravel-fixture: laravel11
- php-version: '8.4'
laravel-fixture: laravel11
- php-version: '8.0'
laravel-fixture: lumen8

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ jobs:
laravel-version: '10.*'
- php-version: '8.3'
laravel-version: '11.*'
- php-version: '8.4'
laravel-version: '11.*'

steps:
- uses: actions/checkout@v2
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
Changelog
=========

## v2.28.1 (2025-01-13)

This release should ensure compatibility with PHP 8.4 by removing the usage of certain
deprecated features by:
- Removing type annotations from parameters defaulting to `null`. Comment type annotations will continue to be present and accurate

### Fixes

* Ensure PHP 8.4 compatibility
[#547](https://github.com/bugsnag/bugsnag-laravel/pull/547)

## v2.28.0 (2024-06-03)

### Enhancements
Expand Down
7 changes: 6 additions & 1 deletion features/fixtures/laravel11/bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

use Illuminate\Foundation\Application;
use Bugsnag\BugsnagLaravel\OomBootstrapper;
use Bugsnag\BugsnagLaravel\Facades\Bugsnag;
use Illuminate\Foundation\Configuration\Exceptions;
use Illuminate\Foundation\Configuration\Middleware;

Expand All @@ -23,4 +24,8 @@
})
->withExceptions(function (Exceptions $exceptions) {
//
})->create();
})
->booted(function(){
Bugsnag::setMemoryLimitIncrease($value = 6 * 1024 * 1024);
})
->create();
2 changes: 1 addition & 1 deletion src/BugsnagServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class BugsnagServiceProvider extends ServiceProvider
*
* @var string
*/
const VERSION = '2.28.0';
const VERSION = '2.28.1';

/**
* Boot the service provider.
Expand Down
2 changes: 1 addition & 1 deletion src/LaravelLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class LaravelLogger extends BugsnagLogger implements Log
*
* @return void
*/
public function __construct(Client $client, Dispatcher $dispatcher = null)
public function __construct(Client $client, $dispatcher = null)
{
parent::__construct($client);

Expand Down
2 changes: 1 addition & 1 deletion src/MultiLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class MultiLogger extends BaseLogger implements Log
*
* @return void
*/
public function __construct(array $loggers, Dispatcher $dispatcher = null)
public function __construct(array $loggers, $dispatcher = null)
{
parent::__construct($loggers);

Expand Down

0 comments on commit 9c34a06

Please sign in to comment.