Skip to content

1.19.2

Compare
Choose a tag to compare
@lucaspimentel lucaspimentel released this 31 Aug 21:28
· 3925 commits to master since this release
9732cb1

Upgrade Notes

  • This release fixes a known issue in .NET Tracer 1.18.0 - 1.19.1 that would cause .NET Framework 4.6+ applications hosted on IIS to crash with System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (#876)
  • If the provided Workaround was used, please use the provided Resolution to remove the workaround before upgrading

Changes

  • Remove external assembly dependencies from the .NET Tracer:
    • Microsoft.CSharp 4.5.0 NuGet package (#761)
    • Newtonsoft.Json 12.0.1 NuGet package (#838)
    • System.Collections.NonGeneric 4.3.0 NuGet package (#839)
    • .NET Framework changes:
      • System.Diagnostics.DiagnosticSource 4.4.1 NuGet package (#881)
      • System.Net.Http 4.0.0.0 assembly reference (#880)
      • System.Runtime.InteropServices.RuntimeInformation 4.3.0 NuGet package (#761)

Fixes

  • Fix System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (PR: #880, Issue: #876)
  • Fix System.InvalidProgramException: Common Language Runtime detected an invalid program (#875)
  • Fix CallVirtual expected a StackExchange.Redis.RedisBase; found StackExchange.Redis.RedisBase (#872)
  • Fix System.Runtime.Remoting.RemotingException: Object /<identifier1>/<identifier2>.rem has been disconnected or does not exist at the server. (#822, #855)
  • Fix trace agent connection issues in Azure App Services environment (#852)
  • Ensure ObjectExtensions.CallMethod can call the same target method with different expected return types (#863)
  • Use the default WebRequest for the http:// prefix to send traces to the agent (PR: #860, Issue: #858)
  • Reduce time spent performing DNS resolution when sending traces to the agent on localhost (#841, #864, #865)
  • Fix templates for tracer log messages (#847)
  • Fix error handling when sending traces to the agent (#850)
  • Add netstandard feature flag to the diagnostic log (#866)

Performance Improvements

  • Use a single cached buffer for trace serialization (#867)

Build / Test

Changes since 1.19.1