Skip to content

chore(deps): bump sentry/sentry-laravel from 4.29.0 to 4.31.0 - #637

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/sentry/sentry-laravel-4.31.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/sentry/sentry-laravel-4.31.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Bumps sentry/sentry-laravel from 4.29.0 to 4.31.0.

Release notes

Sourced from sentry/sentry-laravel's releases.

4.31.0

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

Bug Fixes

  • Avoid PHP 8.5 deprecation warnings for SplObjectStorage::attach() and SplObjectStorage::contains() when monitoring scheduled tasks. [(#1242)](getsentry/sentry-laravel#1242)
  • Don't listen for QueryExecuted events when breadcrumbs.sql_queries or tracing.sql_queries is disabled, so database drivers that only do extra work when the event has a listener, such as mongodb/laravel-mongodb, no longer pay for it. [(#1240)](getsentry/sentry-laravel#1240)
  • Register the view composer that tracks view names for view.render spans only once per view factory, so composers no longer pile up and run on every render when view engines are resolved again, for example on Laravel Octane. [(#1236)](getsentry/sentry-laravel#1236)

Misc

  • Bump the PHP SDK to version 4.38.0

4.30.0

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

Features

  • Add the crons.monitor_scheduled_tasks config option to monitor every scheduled task without adding ->sentryMonitor() to each one. [(#1202)](getsentry/sentry-laravel#1202)

    The schedule of each task is sent along with its check-ins, so Sentry creates the monitors and keeps them in sync. Use crons.exclude_scheduled_tasks to skip tasks by command, job class, task name or monitor slug, with * as a wildcard.

    // config/sentry.php
    'crons' => [
        'monitor_scheduled_tasks' => env('SENTRY_CRONS_MONITOR_SCHEDULED_TASKS', false),
        'exclude_scheduled_tasks' => ['horizon:snapshot', 'scheduled_reports-*'],
    ],

    Tasks with ->sentryMonitor() keep their own settings. Closures without a name(), sub-minute tasks, tasks that can skip runs (when, skip, between), tasks without a named timezone in a non-UTC app and tasks whose schedule Sentry would read differently are not monitored automatically.

  • Ignore Laravel Horizon, Laravel Telescope and Laravel Debugbar transactions by default. [(#1223)](getsentry/sentry-laravel#1223)

    This only applies if you have not published the config file. To ignore them with a published config, add the pattern to ignore_transactions:

    // config/sentry.php
    'ignore_transactions' => [
        '/up',
        '/^\/(horizon|telescope|_debugbar)(\/|$)/',
    ],
  • Shorten the description of view.render spans for views rendered from a file, such as Laravel Folio pages, by removing the application base path. [(#1228)](getsentry/sentry-laravel#1228)

Bug Fixes

  • Prefer the transaction name set by Laravel for the matched route over the request path when applying the transaction name to events. [(#1222)](getsentry/sentry-laravel#1222)
  • Fix dropped transactions caused by an app.bootstrap span with a negative duration, which could happen on Laravel Octane or when a route used Artisan::call. [(#1221)](getsentry/sentry-laravel#1221)

... (truncated)

Changelog

Sourced from sentry/sentry-laravel's changelog.

4.31.0

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

Bug Fixes

  • Avoid PHP 8.5 deprecation warnings for SplObjectStorage::attach() and SplObjectStorage::contains() when monitoring scheduled tasks. [(#1242)](getsentry/sentry-laravel#1242)
  • Don't listen for QueryExecuted events when breadcrumbs.sql_queries or tracing.sql_queries is disabled, so database drivers that only do extra work when the event has a listener, such as mongodb/laravel-mongodb, no longer pay for it. [(#1240)](getsentry/sentry-laravel#1240)
  • Register the view composer that tracks view names for view.render spans only once per view factory, so composers no longer pile up and run on every render when view engines are resolved again, for example on Laravel Octane. [(#1236)](getsentry/sentry-laravel#1236)

Misc

  • Bump the PHP SDK to version 4.38.0

4.30.0

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

Features

  • Add the crons.monitor_scheduled_tasks config option to monitor every scheduled task without adding ->sentryMonitor() to each one. [(#1202)](getsentry/sentry-laravel#1202)

    The schedule of each task is sent along with its check-ins, so Sentry creates the monitors and keeps them in sync. Use crons.exclude_scheduled_tasks to skip tasks by command, job class, task name or monitor slug, with * as a wildcard.

    // config/sentry.php
    'crons' => [
        'monitor_scheduled_tasks' => env('SENTRY_CRONS_MONITOR_SCHEDULED_TASKS', false),
        'exclude_scheduled_tasks' => ['horizon:snapshot', 'scheduled_reports-*'],
    ],

    Tasks with ->sentryMonitor() keep their own settings. Closures without a name(), sub-minute tasks, tasks that can skip runs (when, skip, between), tasks without a named timezone in a non-UTC app and tasks whose schedule Sentry would read differently are not monitored automatically.

  • Ignore Laravel Horizon, Laravel Telescope and Laravel Debugbar transactions by default. [(#1223)](getsentry/sentry-laravel#1223)

    This only applies if you have not published the config file. To ignore them with a published config, add the pattern to ignore_transactions:

    // config/sentry.php
    'ignore_transactions' => [
        '/up',
        '/^\/(horizon|telescope|_debugbar)(\/|$)/',
    ],
  • Shorten the description of view.render spans for views rendered from a file, such as Laravel Folio pages, by removing the application base path. [(#1228)](getsentry/sentry-laravel#1228)

Bug Fixes

... (truncated)

Commits
  • f40666a release: 4.31.0
  • e31eacd Prepare 4.31.0 (#1260)
  • e22792d ref(http): Document SetRequestMiddleware::handle() return type to drop baseli...
  • 0f065a1 ref(notifications): Document formatNotifiable() parameter type to drop baseli...
  • a57d876 ref(console): Document AboutCommandIntegration::__invoke() return type to dro...
  • b1c5f55 fix: don't register the QueryExecuted listener when SQL breadcrumbs/tracing a...
  • e7fe641 fix(tracing): register the view name composer once per view factory (#1236)
  • fa2f939 ci(warden): Add code-review skill (#1251)
  • bebb89d ref(ai): Fix malformed @​var docblock for chat span steps to drop baseline ent...
  • d35e351 ref(tracing): Document TracingRoutingDispatcher::wrapRouteDispatch return typ...
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 23, 2026 07:28
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update php code labels Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/composer/sentry/sentry-laravel-4.31.0 branch from f4743e7 to c02c449 Compare November 23, 2026 07:31
@dependabot
dependabot Bot force-pushed the dependabot/composer/sentry/sentry-laravel-4.31.0 branch from c02c449 to 69aeb95 Compare November 24, 2026 08:43
Bumps [sentry/sentry-laravel](https://github.com/getsentry/sentry-laravel) from 4.29.0 to 4.31.0.
- [Release notes](https://github.com/getsentry/sentry-laravel/releases)
- [Changelog](https://github.com/getsentry/sentry-laravel/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-laravel@4.29.0...4.31.0)

---
updated-dependencies:
- dependency-name: sentry/sentry-laravel
  dependency-version: 4.31.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/composer/sentry/sentry-laravel-4.31.0 branch from 69aeb95 to a087adc Compare November 24, 2026 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file php Pull requests that update php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants