| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 4.33.0 source code.tar.gz | 2026-10-05 | 144.0 kB | |
| 4.33.0 source code.zip | 2026-10-05 | 230.9 kB | |
| README.md | 2026-10-05 | 1.6 kB | |
| Totals: 3 Items | 376.5 kB | 0 | |
The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v4.33.0.
Features
- Add the
data_collectionoption to control which potentially sensitive data the SDK collects. Setting it to any value other thannullopts into the new behavior and ignoressend_default_pii. (#2227)
php
\Sentry\init([
'dsn' => '__YOUR_DSN__',
'data_collection' => [
'cookies' => ['mode' => 'allowList', 'terms' => ['locale']],
'http_bodies' => ['incomingRequest'],
'stack_frame_variables' => false,
],
]);
- Allow registering a fallback serializer for any object by using
objectas the key inclass_serializers. (#2232) - Apply rate limits to attachments. (#2233)
Bug Fixes
- Respect rate limits on
429responses that include a response body. (#2225) - Parse every limit in the
X-Sentry-Rate-Limitsheader instead of falling back to the default duration for all but the first one. (#2226) - Keep the longest rate limit when multiple limits apply to the same category, apply the default rate limit to
429responses without rate limit headers, and handle decimal durations. (#2234)
Misc
- Exclude development files from the distributed package. (#2230)