Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update php minors #95

Merged
merged 1 commit into from
Apr 3, 2023
Merged

chore(deps): update php minors #95

merged 1 commit into from
Apr 3, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 19, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
sentry/sentry (source) require-dev minor 3.14.0 -> 3.17.0
vimeo/psalm require-dev minor 5.8.0 -> 5.9.0

Release Notes

getsentry/sentry-php

v3.17.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v3.17.0.

Features
  • Add ignore_exceptions & ignore_transactions options (#​1503)

    We deprecated the IgnoreErrorsIntegration in favor of this new option.
    The option will also take previous exceptions into account.

    \Sentry\init([
      'ignore_exceptions' => [BadThingsHappenedException::class],
    ]);

    To ignore a transaction being sent to Sentry, add its name to the config option.
    You can find the transaction name on the Performance page.

    \Sentry\init([
        'ignore_transactions' => ['GET /health'],
    ]);
Misc
  • Bump php-http/discovery to ^1.15 (#​1504)

    You may need to allow the added composer plugin, introduced in php-http/discovery v1.15.0, to execute when running composer update.
    We previously pinned this package to version <1.15.
    Due to conflicts with other packages, we decided to lift this restriction.

v3.16.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v3.16.0.
This release adds initial support for Cron Monitoring.

Warning
Cron Monitoring is currently in beta. Beta features are still in-progress and may have bugs. We recognize the irony.
If you have any questions or feedback, please email us at [email protected], reach out via Discord (#cronjobs), or open an issue.

Features
  • Add inital support for Cron Monitoring (#​1467)

    You can use Cron Monitoring to monitor your cron jobs. No pun intended.

    Add the code below to your application or script that is invoked by your cron job.
    The first Check-In will let Sentry know that your job started, with the second Check-In reporting the outcome.

    <?php
    
    $checkIn = new CheckIn(
        monitorSlug: '<your-monitor-slug>',
        status: CheckInStatus::inProgress(),
    );
    
    $event = Event::createCheckIn();
    $event->setCheckIn($checkIn);
    
    $this->hub->captureEvent($event);
    
    try {
    
        // do stuff
    
        $checkIn->setStatus(CheckInStatus::ok());
    } catch (Throwable $e) {
        $checkIn->setStatus(CheckInStatus::error());
    }
    
    $event = Event::createCheckIn();
    $event->setCheckIn($checkIn);
    
    $this->hub->captureEvent($event);

    If you only want to check if a cron did run, you may create a "Heartbeat" instead.
    Add the code below to your application or script that is invoked by your cron job.

    <?php
    
    // do stuff
    
    $checkIn = new CheckIn(
        monitorSlug: '<your-monitor-slug>',
        status: CheckInStatus::ok(), // or - CheckInStatus::error()
        duration: 10, // optional - duration in seconds
    );
    
    $event = Event::createCheckIn();
    $event->setCheckIn($checkIn);
    
    $this->hub->captureEvent($event);
  • Introduce a new trace helper function (#​1490)

    We made it a tad easier to add custom tracing spans to your application.

    $spanContext = new SpanContext();
    $spanContext->setOp('function');
    $spanContext->setDescription('Soemthing to be traced');
    
    trace(
        function (Scope $scope) {
            // something to be traced
        },
        $spanContext,
    );

v3.15.0

Compare Source

The Sentry SDK team is happy to announce the immediate availability of Sentry PHP SDK v3.15.0.
This release adds initial support for Profiling.

Warning
Profiling is currently in beta. Beta features are still in-progress and may have bugs. We recognize the irony.
If you have any questions or feedback, please email us at [email protected], reach out via Discord (#profiling), or open an issue.

Profiling is only available on Sentry SaaS (sentry.io). Support for Sentry self-hosted is planned once Profiling is released into GA.

Features
  • Add initial support for profiling (#​1477)

    Under the hood, we're using Wikipedia's sampling profiler Excimer.
    We chose this profiler for its low overhead and for being used in production by one of the largest PHP-powered websites in the world.

    Excimer works with PHP 7.2 and up, for PHP 8.2 support, make sure to use Excimer version 1.1.0.

    There is currently no support for either Windows or macOS.

    You can install Excimer via your operating systems package manager.

    apt-get install php-excimer

    If no suitable version is available, you may build Excimer from source.

    git clone https://github.com/wikimedia/mediawiki-php-excimer.git
    
    cd excimer/
    phpize && ./configure && make && sudo make install

    Depending on your environment, you may need to enable the Excimer extension afterward.

    phpenmod -s fpm excimer
vimeo/psalm

v5.9.0

Compare Source

What's Changed

Features
Fixes
Docs
Internal changes

New Contributors

Full Changelog: vimeo/psalm@5.8.0...5.9.0


Configuration

📅 Schedule: Branch creation - "on sunday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) March 19, 2023 01:34
@renovate renovate bot changed the title chore(deps): update dependency sentry/sentry to v3.16.0 chore(deps): update dependency sentry/sentry to v3.17.0 Mar 27, 2023
@renovate renovate bot force-pushed the renovate/php-minors branch 2 times, most recently from 7527633 to fb8e17a Compare March 27, 2023 19:02
@renovate renovate bot changed the title chore(deps): update dependency sentry/sentry to v3.17.0 chore(deps): update php minors Mar 30, 2023
@paulmillette-equisoft
Copy link

paulmillette-equisoft commented Apr 3, 2023

vérifications effectuées
psalm ne montre aucune erreur
./vendor/bin/psalm --no-diff --no-cache --threads=1
les tests sont vert (certains tests utilisent des objets sentry)
./vendor/bin/phpunit

@renovate renovate bot merged commit 86ebc3b into master Apr 3, 2023
@renovate renovate bot deleted the renovate/php-minors branch April 3, 2023 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant