Skip to content

Releases: getsentry/sentry-laravel

4.25.0

07 Apr 12:57

Choose a tag to compare

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

Features

  • Add support for the PHP SDK's OTLPIntegration. (#1122)
  • Add SentryTracesSampleRate job middleware to control trace sampling for individual jobs. (#1114)

Bug Fixes

  • Preserve scope tags and context configured in withExceptions(..) callbacks for unhandled console exceptions. (#1125)

4.24.0

24 Mar 10:38

Choose a tag to compare

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

Features

  • Add log_flush_threshold to automatically flush buffered logs after a configured number of log records. (#1116)

Misc

  • Bump the PHP SDK to version 4.23.0 (#1116)

4.23.0

19 Mar 13:24

Choose a tag to compare

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

Features

  • Add strict_trace_continuation support to only continue incoming traces when the upstream baggage org_id matches the SDK org ID. (#1106)

Bug Fixes

  • Cast authenticated user email attributes to strings when populating the Sentry user scope (#1101)

Misc

  • Bump the PHP SDK to version 4.22.0 (#1106)

4.22.0

12 Mar 15:48

Choose a tag to compare

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

Features

  • Add support for Laravel 13 (#1102)

Bug Fixes

  • Reset the transaction name between Octane requests (#1103)

4.21.1

03 Mar 14:32

Choose a tag to compare

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

Bug Fixes

  • Fix view engine decorator decorating itself (#1098)

4.21.0

26 Feb 16:30

Choose a tag to compare

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

Features

  • Use Laravel Context to pass check-in IDs between processes (#1084)

Bug Fixes

  • Explicitly escape sentry-trace and baggage headers (#1091)
  • Add preg_quote for environment variables (#1093)

Misc

  • Bump the PHP SDK to version 4.21.0 (#1095)

4.20.1

07 Jan 09:04

Choose a tag to compare

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

Misc

  • Allow newer versions of symfony/psr-http-message-bridge dependency (#1076)

4.20.0

02 Dec 10:40

Choose a tag to compare

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

Features

  • Add support for Sentry metrics. (#1072)
// Counter metric
\Sentry\trace_metrics()->count('test-counter', 10, ['my-attribute' => 'foo']);

// Gauge metric
\Sentry\trace_metrics()->gauge('test-gauge', 50.0, ['my-attribute' => 'foo'], \Sentry\Unit::millisecond());

// Distribution metric
\Sentry\trace_metrics()->distribution('test-distribution', 20.0, ['my-attribute' => 'foo'], \Sentry\Unit::kilobyte());

Misc

4.19.0

11 Nov 09:04

Choose a tag to compare

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

Features

  • Add Laravel Pennant feature flags (#1061)

    The SDK will now automatically capture feature flags resolved using Laravel Pennant and attach them to events and spans.

Bug Fixes

  • Do not try to detect the session key on the CLI (#1058)

4.18.0

20 Oct 13:01

Choose a tag to compare

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

Bug Fixes

  • Ensure we flush logs when the application unexpectedly terminates (#1052)

Misc

  • Use SENTRY_LOG_LEVEL environment variable instead of SENTRY_LOGS_LEVEL to be more consistent (SENTRY_LOGS_LEVEL will keep working as an alias for backward compatibility). (#1051)
  • Bump the PHP SDK to version 4.16.0 (#1053)