Skip to content

0.5.0

Latest

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 09 Sep 15:54

Fixes

  • Warn instead of silently ignoring InAppInclude / InAppExclude when a sentry-dotnet bump moves the internal members they are read through (#144)
  • Remove the SdkComposer fallback transport in SynchronousWorker, which has thrown since the sentry-dotnet 5.1.1 bump. The SDK's own default worker and transport are used instead (#143)
  • Silence CS1701/CS1702 warnings emitted by Add-Type when importing the module on PowerShell hosts whose runtime System.Runtime version differs from the one Sentry.dll was compiled against (#129)

Features

  • 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)
  • 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)
  • Add support for .NET 10 / PowerShell 7.6 (#133)
  • Add Write-SentryLog cmdlet, a native PowerShell API for sending structured logs (Sentry Logs) (#131, #133, #137)
  • Add Add-SentryEventProcessor cmdlet for registering a global event processor from a PowerShell script block (#130)

Dependencies