Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# CHANGELOG

## 4.34.0

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.34.0.

### Features

- Add the `$includeChannel` argument to the Monolog `LogsHandler` to attach the Monolog channel as the `channel` attribute on Sentry logs. [(#2029)](https://github.com/getsentry/sentry-php/pull/2029)

```php
$logger->pushHandler(new \Sentry\Monolog\LogsHandler(LogLevel::info(), true, true));
```

### Bug Fixes

- Always filter "remember me" cookies, such as Laravel's `remember_web_*` and Symfony's `REMEMBERME`, when collecting HTTP data. [(#2250)](https://github.com/getsentry/sentry-php/pull/2250)
- Collect cleared cookies with an empty value instead of `[Filtered]`. [(#2250)](https://github.com/getsentry/sentry-php/pull/2250)
- Replace invalid UTF-8 in collected HTTP bodies instead of filtering the whole body, and stop escaping non-ASCII characters. [(#2250)](https://github.com/getsentry/sentry-php/pull/2250)

### Misc

- Cache source code excerpts per event in `FrameContextifierIntegration` so duplicate frames don't read the same file again. [(#2163)](https://github.com/getsentry/sentry-php/pull/2163)

## 4.33.2

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.33.2.
Expand Down
6 changes: 0 additions & 6 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ parameters:
count: 1
path: src/Monolog/LogsHandler.php

-
message: '#^Method Sentry\\Monolog\\LogsHandler\:\:compileAttributes\(\) should return array\<string, mixed\> but returns array\<mixed, mixed\>\.$#'
identifier: return.type
count: 1
path: src/Monolog/LogsHandler.php

-
message: '#^Parameter \#1 \$level of static method Sentry\\Monolog\\LogsHandler\:\:getSentryLogLevelFromMonologLevel\(\) expects int, mixed given\.$#'
identifier: argument.type
Expand Down
Loading