Skip to content

Commit 157aaa9

Browse files
authored
Prepare 4.3.0 (#860)
1 parent 19e3da6 commit 157aaa9

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

CHANGELOG.md

+48
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,53 @@
11
# Changelog
22

3+
## 4.3.0
4+
5+
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.3.0.
6+
7+
### Features
8+
9+
- Add support for Laravel 11.0 [(#845)](https://github.com/getsentry/sentry-laravel/pull/845)
10+
11+
If you're upgrading an existing Laravel 10 application to the new Laravel 11 directory structure, you must change how Sentry integrates into the exception handler. Update your `bootstrap/app.php` with:
12+
13+
```php
14+
<?php
15+
16+
use Illuminate\Foundation\Application;
17+
use Illuminate\Foundation\Configuration\Exceptions;
18+
use Illuminate\Foundation\Configuration\Middleware;
19+
use Sentry\Laravel\Integration;
20+
21+
return Application::configure(basePath: dirname(__DIR__))
22+
->withRouting(
23+
web: __DIR__.'/../routes/web.php',
24+
commands: __DIR__.'/../routes/console.php',
25+
health: '/up',
26+
)
27+
->withMiddleware(function (Middleware $middleware) {
28+
//
29+
})
30+
->withExceptions(function (Exceptions $exceptions) {
31+
Integration::handles($exceptions);
32+
})->create();
33+
```
34+
35+
If you plan to perform up-time checks against the new Laravel 11 `/up` health URL, ignore this transaction in your `config/sentry.php` file, as not doing so could consume a substantial amount of your performance unit quota.
36+
37+
```php
38+
// @see: https://docs.sentry.io/platforms/php/guides/laravel/configuration/options/#ignore-transactions
39+
'ignore_transactions' => [
40+
// Ignore Laravel's default health URL
41+
'/up',
42+
],
43+
```
44+
45+
### Bug Fixes
46+
47+
- Set `queue.publish` spans as the parent of `queue.process` spans [(#850)](https://github.com/getsentry/sentry-laravel/pull/850)
48+
49+
- Consider all `http_*` SDK options from the Laravel client in the test command [(#859)](https://github.com/getsentry/sentry-laravel/pull/859)
50+
351
## 4.2.0
452

553
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.2.0.

0 commit comments

Comments
 (0)