Repository navigation
The Sentry SDK team is happy to announce the immediate availability of Sentry Laravel SDK v4.29.0.
Features
-
Add the
data_collectionconfig option to control which data is collected automatically. (#1179)When
data_collectionisnull(the default), data collection keeps followingsend_default_pii.// config/sentry.php 'data_collection' => [ 'user_info' => false, 'http_bodies' => ['incomingRequest', 'outgoingRequest'], 'database_query_data' => false, 'gen_ai' => [ 'inputs' => false, 'outputs' => true, ], ],
When
data_collectionis set, thebreadcrumbs.sql_bindingsandtracing.sql_bindingsoptions are ignored. -
Show the data collection status in
php artisan about. (#1198) -
Add the origin of slow HTTP client requests to their spans. Configure this with the
tracing.http_client_requests_originandtracing.http_client_requests_origin_threshold_msoptions (default:250). (#1066) -
Add
gen_ai.evaluatespans forlaravel/ai1.0 classifications. Configure this with thetracing.gen_ai_evaluateoption. (#1181), (#1182), (#1199) -
Add
Integration::setConversationId()to set the gen AI conversation ID for integrations that do not provide it, such as classifications, or for AI calls proxied across multiple requests. (#1193)
Bug Fixes
- Report cache operations from the session driver as
session.*spans and breadcrumbs instead ofcache.*. (#1129) - Finish the agent and chat spans of failed
laravel/aiagent invocations so later requests do not inherit them. (#1160)
Misc
- Bump the PHP SDK to version
4.34.0