File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ ## 2.14.1
6
+
7
+ - Fix not setting the correct SDK ID and version when running the ` sentry:test ` command (#582 )
8
+
5
9
## 2.14.0
6
10
7
11
- Fix not listening to queue events because ` QueueManager ` is registered as ` queue ` in the container and not by it's class name (#568 )
Original file line number Diff line number Diff line change 7
7
use Illuminate \Support \Str ;
8
8
use Psr \Log \AbstractLogger ;
9
9
use Sentry \ClientBuilder ;
10
+ use Sentry \Laravel \Version ;
10
11
use Sentry \State \Hub ;
11
12
use Sentry \State \HubInterface ;
12
13
use Sentry \Tracing \SpanContext ;
@@ -99,6 +100,10 @@ public function handle(): int
99
100
return 1 ;
100
101
}
101
102
103
+ // Set the Laravel SDK identifier and version
104
+ $ clientBuilder ->setSdkIdentifier (Version::SDK_IDENTIFIER );
105
+ $ clientBuilder ->setSdkVersion (Version::SDK_VERSION );
106
+
102
107
// We set a logger so we can surface errors thrown internally by the SDK
103
108
$ clientBuilder ->setLogger (new class ($ this ) extends AbstractLogger {
104
109
private $ command ;
Original file line number Diff line number Diff line change 5
5
final class Version
6
6
{
7
7
public const SDK_IDENTIFIER = 'sentry.php.laravel ' ;
8
- public const SDK_VERSION = '2.14.0 ' ;
8
+ public const SDK_VERSION = '2.14.1 ' ;
9
9
}
You can’t perform that action at this time.
0 commit comments