Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 25, 2025

Updates the requirements on sentry/sentry to permit the latest version.

Release notes

Sourced from sentry/sentry's releases.

4.15.0

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

Features

  • Add Monolog Sentry Logs handler [(#1867)](getsentry/sentry-php#1867)

    This new handler allows you to capture Monolog logs as Sentry logs. To use it, configure your Monolog logger:

    use Monolog\Logger;
    use Sentry\Monolog\LogsHandler;
    use Sentry\Logs\LogLevel;
    // Initialize Sentry SDK first (make sure 'enable_logs' is set to true)
    \Sentry\init([
    'dsn' => 'YOUR_DSN',
    'enable_logs' => true,
    ]);
    // Create a Monolog logger
    $logger = new Logger('my-app');
    // Add the Sentry logs handler
    // Optional: specify minimum log level (defaults to LogLevel::debug())
    $handler = new LogsHandler(LogLevel::info());
    $logger->pushHandler($handler);
    // Now your logs will be sent to Sentry
    $logger->info('User logged in', ['user_id' => 123]);
    $logger->error('Payment failed', ['order_id' => 456]);

    Note: The handler will not collect logs for exceptions (they should be handled separately via captureException).

Bug Fixes

Changelog

Sourced from sentry/sentry's changelog.

4.15.0

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

Features

  • Add Monolog Sentry Logs handler [(#1867)](getsentry/sentry-php#1867)

    This new handler allows you to capture Monolog logs as Sentry logs. To use it, configure your Monolog logger:

    use Monolog\Logger;
    use Sentry\Monolog\LogsHandler;
    use Sentry\Logs\LogLevel;
    // Initialize Sentry SDK first (make sure 'enable_logs' is set to true)
    \Sentry\init([
    'dsn' => 'YOUR_DSN',
    'enable_logs' => true,
    ]);
    // Create a Monolog logger
    $logger = new Logger('my-app');
    // Add the Sentry logs handler
    // Optional: specify minimum log level (defaults to LogLevel::debug())
    $handler = new LogsHandler(LogLevel::info());
    $logger->pushHandler($handler);
    // Now your logs will be sent to Sentry
    $logger->info('User logged in', ['user_id' => 123]);
    $logger->error('Payment failed', ['order_id' => 456]);

    Note: The handler will not collect logs for exceptions (they should be handled separately via captureException).

Bug Fixes

4.14.2

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

Bug Fixes

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [sentry/sentry](https://github.com/getsentry/sentry-php) to permit the latest version.
- [Release notes](https://github.com/getsentry/sentry-php/releases)
- [Changelog](https://github.com/getsentry/sentry-php/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-php@4.6.1...4.15.0)

---
updated-dependencies:
- dependency-name: sentry/sentry
  dependency-version: 4.15.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the composer label Aug 25, 2025
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 25, 2025

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Copy link
Author

dependabot bot commented on behalf of github Sep 1, 2025

Superseded by #37.

@dependabot dependabot bot closed this Sep 1, 2025
@dependabot dependabot bot deleted the dependabot/composer/sentry/sentry-tw-4.15.0 branch September 1, 2025 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants