Skip to content

chore(deps): bump sentry/sentry from 4.11.1 to 4.12.0 - #1176

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/sentry/sentry-4.12.0
Closed

chore(deps): bump sentry/sentry from 4.11.1 to 4.12.0#1176
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/composer/sentry/sentry-4.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 9, 2025

Copy link
Copy Markdown
Contributor

Bumps sentry/sentry from 4.11.1 to 4.12.0.

Release notes

Sourced from sentry/sentry's releases.

4.12.0

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

Features

  • Add support for Sentry Structured Logs [(#1813)](getsentry/sentry-php#1813)

    You can now send logs directly to Sentry using the new logging API:

    Sentry\init([
        // Enable logs to be sent to Sentry
        'enable_logs' => true,
    ]);
    use function Sentry\logger;
    // Log messages at different levels
    logger()->info('User logged in', ['user_id' => 123]);
    logger()->warn('Deprecated function used', ['function' => 'old_function']);
    logger()->error('Database connection failed', ['host' => 'db.example.com']);
    logger()->fatal('Critical system failure: %s', ['Out of memory'], ['component' => 'database']);
    // Flush logs to Sentry
    logger()->flush();
    // We recommend registering the flushing in a shutdown function
    register_shutdown_function(static fn () => logger()->flush());

    To learn more, head over to our docs.

Bug Fixes

Changelog

Sourced from sentry/sentry's changelog.

4.12.0

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

Features

  • Add support for Sentry Structured Logs [(#1813)](getsentry/sentry-php#1813)

    You can now send logs directly to Sentry using the new logging API:

    Sentry\init([
        // Enable logs to be sent to Sentry
        'enable_logs' => true,
    ]);
    use function Sentry\logger;
    // Log messages at different levels
    logger()->info('User logged in', ['user_id' => 123]);
    logger()->warn('Deprecated function used', ['function' => 'old_function']);
    logger()->error('Database connection failed', ['host' => 'db.example.com']);
    logger()->fatal('Critical system failure: %s', ['Out of memory'], ['component' => 'database']);
    // Flush logs to Sentry
    logger()->flush();
    // We recommend registering the flushing in a shutdown function
    register_shutdown_function(static fn () => logger()->flush());

    To learn more, head over to our docs.

Bug Fixes

Commits

Dependabot compatibility score

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)

Bumps [sentry/sentry](https://github.com/getsentry/sentry-php) from 4.11.1 to 4.12.0.
- [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.11.1...4.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 9, 2025
@dependabot @github

dependabot Bot commented on behalf of github Jun 16, 2025

Copy link
Copy Markdown
Contributor Author

Superseded by #1177.

@dependabot dependabot Bot closed this Jun 16, 2025
@dependabot
dependabot Bot deleted the dependabot/composer/sentry/sentry-4.12.0 branch June 16, 2025 17:07
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