Skip to content

Commit 9c34a06

Browse files
Cawllecagrzegorzewskitomlongridge
authored
Laravel v2.28.1 release (#549)
* 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]>
1 parent 319a67c commit 9c34a06

File tree

7 files changed

+24
-4
lines changed

7 files changed

+24
-4
lines changed

.github/workflows/maze-runner-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929
laravel-fixture: laravel10
3030
- php-version: '8.3'
3131
laravel-fixture: laravel11
32+
- php-version: '8.4'
33+
laravel-fixture: laravel11
3234
- php-version: '8.0'
3335
laravel-fixture: lumen8
3436

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ jobs:
112112
laravel-version: '10.*'
113113
- php-version: '8.3'
114114
laravel-version: '11.*'
115+
- php-version: '8.4'
116+
laravel-version: '11.*'
115117

116118
steps:
117119
- uses: actions/checkout@v2

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
Changelog
22
=========
33

4+
## v2.28.1 (2025-01-13)
5+
6+
This release should ensure compatibility with PHP 8.4 by removing the usage of certain
7+
deprecated features by:
8+
- Removing type annotations from parameters defaulting to `null`. Comment type annotations will continue to be present and accurate
9+
10+
### Fixes
11+
12+
* Ensure PHP 8.4 compatibility
13+
[#547](https://github.com/bugsnag/bugsnag-laravel/pull/547)
14+
415
## v2.28.0 (2024-06-03)
516

617
### Enhancements

features/fixtures/laravel11/bootstrap/app.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use Illuminate\Foundation\Application;
44
use Bugsnag\BugsnagLaravel\OomBootstrapper;
5+
use Bugsnag\BugsnagLaravel\Facades\Bugsnag;
56
use Illuminate\Foundation\Configuration\Exceptions;
67
use Illuminate\Foundation\Configuration\Middleware;
78

@@ -23,4 +24,8 @@
2324
})
2425
->withExceptions(function (Exceptions $exceptions) {
2526
//
26-
})->create();
27+
})
28+
->booted(function(){
29+
Bugsnag::setMemoryLimitIncrease($value = 6 * 1024 * 1024);
30+
})
31+
->create();

src/BugsnagServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class BugsnagServiceProvider extends ServiceProvider
3838
*
3939
* @var string
4040
*/
41-
const VERSION = '2.28.0';
41+
const VERSION = '2.28.1';
4242

4343
/**
4444
* Boot the service provider.

src/LaravelLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class LaravelLogger extends BugsnagLogger implements Log
2121
*
2222
* @return void
2323
*/
24-
public function __construct(Client $client, Dispatcher $dispatcher = null)
24+
public function __construct(Client $client, $dispatcher = null)
2525
{
2626
parent::__construct($client);
2727

src/MultiLogger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class MultiLogger extends BaseLogger implements Log
1818
*
1919
* @return void
2020
*/
21-
public function __construct(array $loggers, Dispatcher $dispatcher = null)
21+
public function __construct(array $loggers, $dispatcher = null)
2222
{
2323
parent::__construct($loggers);
2424

0 commit comments

Comments
 (0)