diff --git a/CHANGELOG.md b/CHANGELOG.md index dd7acc2..3a9a4f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,18 +11,14 @@ - Honor `InAppInclude` / `InAppExclude` options when classifying PowerShell stack frames. Entries are matched against the PowerShell module name (the directory under a `$env:PSModulePath` entry) with prefix-then-dot semantics, mirroring how the .NET SDK matches namespaces. Regex variants (`AddInAppIncludeRegex` / `AddInAppExcludeRegex`) are also supported. The existing default — module frames are not in-app, script frames are — is preserved for modules not matched by any rule. ([#135](https://github.com/getsentry/sentry-powershell/pull/135)) - Add `Add-SentryAttachment` cmdlet that infers a content type from the file extension (including PowerShell-specific extensions like `.ps1`, `.psm1`, `.psd1`) so the Sentry UI can preview attachments as text/JSON instead of falling back to `application/octet-stream` ([#134](https://github.com/getsentry/sentry-powershell/pull/134)) - Add support for .NET 10 / PowerShell 7.6 ([#133](https://github.com/getsentry/sentry-powershell/pull/133)) -- Add `Write-SentryLog` cmdlet, a native PowerShell API for sending structured logs (Sentry Logs) ([#131](https://github.com/getsentry/sentry-powershell/pull/131)) +- Add `Write-SentryLog` cmdlet, a native PowerShell API for sending structured logs (Sentry Logs) ([#131](https://github.com/getsentry/sentry-powershell/pull/131), [#133](https://github.com/getsentry/sentry-powershell/pull/133), [#137](https://github.com/getsentry/sentry-powershell/pull/137)) - Add `Add-SentryEventProcessor` cmdlet for registering a global event processor from a PowerShell script block ([#130](https://github.com/getsentry/sentry-powershell/pull/130)) -### Breaking changes - -- Sentry Logs (`Write-SentryLog`) options have moved off `Experimental`: use `$_.EnableLogs` and `$_.SetBeforeSendLog(...)` instead of `$_.Experimental.EnableLogs` / `$_.Experimental.SetBeforeSendLog(...)` ([#133](https://github.com/getsentry/sentry-powershell/pull/133)) - ### Dependencies -- Bump Dotnet SDK from v5.16.1 to v6.5.0 ([#133](https://github.com/getsentry/sentry-powershell/pull/133)) - - [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#650) - - [diff](https://github.com/getsentry/sentry-dotnet/compare/5.16.1...6.5.0) +- Bump Dotnet SDK from v5.16.1 to v6.10.0 ([#133](https://github.com/getsentry/sentry-powershell/pull/133), [#137](https://github.com/getsentry/sentry-powershell/pull/137)) + - [changelog](https://github.com/getsentry/sentry-dotnet/blob/main/CHANGELOG.md#6100) + - [diff](https://github.com/getsentry/sentry-dotnet/compare/5.16.1...6.10.0) ## 0.4.0 diff --git a/dependencies/Sentry.properties b/dependencies/Sentry.properties index c1d5165..67dd21e 100644 --- a/dependencies/Sentry.properties +++ b/dependencies/Sentry.properties @@ -1,3 +1,3 @@ -version = 6.5.0 +version = 6.10.0 repo = https://github.com/getsentry/sentry-dotnet license = MIT diff --git a/samples/send-logs.ps1 b/samples/send-logs.ps1 index 05af45a..faeacd0 100644 --- a/samples/send-logs.ps1 +++ b/samples/send-logs.ps1 @@ -14,11 +14,10 @@ # Import the Sentry module. In your code, you would just use `Import-Module Sentry`. Import-Module $PSScriptRoot/../modules/Sentry/Sentry.psd1 -# Start the Sentry client. Set EnableLogs = $true to opt in to Logs. +# Start the Sentry client. Start-Sentry { $_.Dsn = 'https://997874440feaba4ecc65c1e25df7912b@o447951.ingest.us.sentry.io/4508073336176640' $_.Debug = $true - $_.EnableLogs = $true } try {