Releases: DataDog/dd-trace-dotnet
Releases · DataDog/dd-trace-dotnet
1.29.0
Changes
- [AppSec] Send ip addresses headers to the backend (#1764)
- CI Visibility Mode v1 (#1795)
- Add PInvoke Map rewriting in all platforms to support native library renaming (#1809)
- Ensure exceptions are added during ASP.NET Web API 2 message handler exceptions (CallSite instrumentation) (#1817)
- [CIVisibility] Add Test Framework version to test spans (#1828)
- Add lookup for
LocalRootSpanId
property and tests forSpanId
andLocalRootSpanId
. (#1839) - Add LifetimeManager for handling shutdown events (#1841)
- Report attack when response has ended (#1847)
- [CIVisibility] Update CI namespace types (#1864)
- Add tags for App Sec (#1869)
- Cleanup startup logs (#1890)
- Reduce the number of times we call the WAF (#1901)
Fixes
- Fix serialization issue with log4net when logs injection is enabled (#1710)
- Skip WriteTrace call when no there's no spans and improve filtering (#1843)
- Fix bug logging response even if successful (#1874)
- [AppSec] Fix appsec event tag value (#1898)
Build / Test
- Generate Dependabot File for Integrations (#1754)
- Scan integration test logs for errors (#1776)
- Post benchmark result comparison as a comment to the PR (#1811)
- Small build improvements (#1813)
- Dont test all integration package versions on every PR (#1818)
- Parallelise Windows integration tests by framework (#1819)
- Change more timeouts in MassTransit (#1829)
- Add a sleep to CallTargetNativeTests to minimize risks of segfaults on 2.1 (#1830)
- Fix path in gitlab.bat after repository move (#1832)
- Enable static analysis for ConfigureAwait (#1833)
- Update Gitlab build image to use 5.0.401 SDK (#1834)
- Skip segmentation faults in .NET Core 2.1 tests (#1835)
- Fix transient error in aspnetcore tests (#1836)
- Use temporary folder for NServiceBus storage (#1840)
- Add a separate performance pipeline for running Performance tests (#1842)
- Additional updates to launchSettings.json for test applications (#1848)
- Fix performance pipeline (#1851)
- Use Xunit.SkippableFact for inconclusive tests (#1858)
- Update test package versions (#1862)
- Add more information to aerospike tags (#1865)
- Kill the old Samples.Shared project (#1867)
- Delete performance pipeline, and manually update GitHub statuses (#1868)
- Initialize LocalDB ahead of time in the CI (#1873)
- Handle the expected segfault in smoke tests (#1878)
- Fix errors in the CI when the startup log thread gets aborted (#1879)
- Test the tracer works with F# web framework 'Giraffe' (#1888)
- Add sanity check for _OR_GREATER compiler directives (#1895)
- Skip Pipeline for Dependabot Lures (#1905)
1.28.8
Changes
- Adds automatic instrumentation for GraphQL 3 and 4 (#1751)
- Adds automatic instrumentation for Elasticsearch 7 (#1760, #1821)
- Adds initial beta Azure Functions automatic instrumentation (#1613)
- Remove CallTarget Integrations from json file. Integrations are now loaded directly from the dll. (#1693, #1780, #1771)
- Add exceptions to active span during ASP.NET Web API 2 message handler exception (#1734 #1772)
- Refactor ILogger integration (#1740, #1798, #1770)
- Refactor repository folder locations (#1748, #1762, #1762, #1806, #1759, #1810)
- Updates to the shared native loader (#1755, #1825, #1826, #1815, #1729)
- AppSec updates (#1757, #1758, #1768, #1777, #1778, #1796)
- Improve DuckType generic methods support (#1733)
- Rename ADO.NET providers integration names (cosmetic change) (#1781)
- Enable shared logger for managed log file (#1788)
- Remove unused ISpan/IScope (#1746, #1749)
Fixes
- Restore Tracer.ActiveScope in ASP.NET when request switches to a different thread (#1783)
- Fix duplicating integrations due to multiple Initialize calls from different AppDomains. (#1794)
- Fix reference to mscorlib causing failures with reflection (#1797)
- Propagate sampling priority to all spans during partial flush (#1803)
- JITInline callback refactor to fix race condition. (#1823)
Build / Test
- Update .NET SDK to 5.0.401 (#1782)
- Improvements to build process and automations (#1812, #1704, #1773, #1792, #1793, #1799, #1801, #1808, #1814)
- Disable memory dumps in CI (#1822)
- Fix compilation directive for NET5.0 (#1731)
- Restore the original env-var value before asserting. (#1816)
- Catch object disposed exception in Samples.HttpMessageHandler (#1774)
- Add minimal test applications that use service bus libraries (#1690)
- Synchronously wait for tasks in HttpClient sample (#1703)
- Update test spans from Crank runs (#1592)
- Update code owners (#1750, #1785)
- Exclude liblog from code coverage by filepath (#1753)
- Move tracer snapshots to /tracer/test/snapshots directory (#1766)
- Increase timeout in MassTransit smoke tests (#1779)
- Fix CIEnvironmentVariable test (#1765)
1.28.7
1.28.6
Changes
- Add automatic instrumentation support for
Aerospike.Client
(#1717) - Add automatic instrumentation for Begin/EndGetResponse to WebRequest (#1658)
- Add logs injection support for
Microsoft.Extensions.Logging
(ILogger
) (#1663) - Produce new
Datadog.Monitoring.Distribution
NuGet package (#1661, #1720, #1728) - Reduce native memory consumption (#1723)
- Remove usage of non-builtin types in Attribute named arguments (#1601)
- Add tracer metrics setting to startup logs (#1689)
- Merge auto-instrumentation code into Datadog.Trace.dll (#1443)
- Adds Datadog.AutoInstrumentation.NativeLoader (#1577)
- Adds the v0 version of App Sec (#1647, #1732, #1742, #1686, #1692, #1695, #1744)
- Read performance counter values from environment variables in AAS (#1651)
- Improve error handling for performance counters (#1652)
- Cache native AssemblyReference instances (#1665)
- Use link shortener for IIS permissions (#1666)
- Native profiler Initialize callback optimization (#1672)
- Update CI Visibility specification (#1682)
Fixes
- Fixes native regex usage on non windows platforms. (#1662)
Build / Test
- Updates to code coverage (#1699)
- Adding appsec crank scenarios (#1684, #1739)
- Fixes for various flaky tests (#1713, #1715, #1718, #1719, #1722
- Package windows native symbols in a separate archive (#1727)
- Updates to shared loader build (#1694, #1697, #1724, #1725, #1735, #1736)
- Don't trigger Tracer-specific CI for changes to shared assets not used by the Tracer (#1701)
- Add end-to-end integration tests for logs injection (#1637)
- Adds Execution time benchmarks (#1687)
- Add fix for Samples.MultiDomainHost.App.NuGetHttpWithRedirects test application (#1691)
- Reduce snapshot file path length (#1696, #1657)
Build / Test
- Replace "minimal" solution with a solution filter (#1631)
- Add support for a temporary NGEN pipeline (#1642)
- Small build improvements (#1646, #1653, #1655)
- Update GitHub action release workflows (#1659)
- Fixes crank pipeline on PR merge commits. (#1669)
- Disable CallSite scenario from Throughput tests. (#1674, #1679)
- Add a custom test framework to monitor execution of unit tests in ducktyping library (#1680)
- Add tests for changes to Datadog.Trace's Public API (#1681)
1.28.5-prerelease
Changes
- Remove usage of non-builtin types in Attribute named arguments (#1601)
- Add Microsoft.Extensions.Logging.ILogger instrumentation (#1663)
- Adding appsec crank scenarios (#1684)
- Proxy calls to dl (#1686)
- Add tracer metrics to startup logs (#1689)
- New version of the WAF (#1692)
- Merging repos: 'dd-shared-components-dotnet' into 'dd-trace-dotnet'. (#1694)
- Sending more relevant data to backend (#1695)
- Prepare the
/shared
folder for consumption by the Profiler. (#1697) - Don't cache the
Process
instance for runtime metrics (#1698) - Use
AppDomain.CurrentDomain.BaseDirectory
instead ofEnvironment.CurrentDirectory
when searching for configuration file (#1700) - Don't trigger Tracer-specific CI for changes to shared assets not used by the Tracer (#1701)
Fixes
- Fix possible deadlock by preserving the synchronization context where needed (#1702)
Build / Test
1.28.4
Changes
- Improve error-handling when reading Performance Counters (#1652)
- Don't cache the
Process
instance for runtime metrics (#1698)
Fixes
- Fix possible deadlock by preserving the synchronization context where needed (#1702)
- Fix missing runtime metrics in Azure App Services by reading Performance Counters from environment variables (#1651)
- Use
AppDomain.CurrentDomain.BaseDirectory
instead ofEnvironment.CurrentDirectory
when searching for configuration file (#1700) - Fix native regex usage on non-Windows platforms (#1662)
- Revert change that writes error messages to
stderr
to avoid breaking changes (#1677)
Build / Test
- Reduce length of snapshot paths (#1657)
1.28.3-prerelease
Changes
- Merge auto-instrumentation code into Datadog.Trace.dll (#1443)
- Adds Datadog.AutoInstrumentation.NativeLoader (#1577)
- The v0 version of App Sec (#1647)
- Read performance counter values from environment variables in AAS (#1651)
- Improve error handling for performance counters (#1652)
- Add instrumentation for Begin/EndGetResponse to WebRequest (#1658)
- Cache native AssemblyReference instances (#1665)
- Use link shortener for IIS permissions (#1666)
- Native profiler Initialize callback optimization (#1672)
- Update CI Visibility specification (#1682)
Fixes
- Fixes native regex usage on non windows platforms. (#1662)
Build / Test
- replace "minimal" solution with a solution filter (#1631)
- Add support for a temporary NGEN pipeline (#1642)
- Small build improvements (#1646)
- Filter now applied to the samples when compiling (#1653)
- Crank native profiler fix (#1655)
- Reduce length of snapshot paths (#1657)
- Update GitHub action release workflows (#1659)
- Fixes crank pipeline on PR merge commits. (#1669)
- Disable CallSite scenario from Throughput tests. (#1674)
- Removes code for Callsite scenario from the throughput tests (#1679)
- Add a custom test framework to monitor execution of unit tests in ducktyping library (#1680)
- Add tests for changes to Datadog.Trace's Public API (#1681)
1.28.2
⛔ Due to a possible deadlock when synchronously waiting on async tasks, we recommend upgrading to 1.28.4 which fixes the issue.
Changes
- Add additional logs injection fallback for NLog 1.x (#1614)
- Remove version from the
test.framework
tag in CIApp (#1622) - Fix ReJIT and Shutdown log levels (#1624)
- Logger API refactoring (#1625, #1635)
- Add experimental NGEN support (#1628)
- Clear metadata when an appdomain unloads (#1630)
- Don't add the sampling priority header if empty (#1644, #1649)
- Add a public ForceFlushAsync API on the Tracer (#1599)
- CIApp: Update Bitrise spec (#1593)
Fixes
- Fix memory leak in native code (#1564, #1600)
- Fix CIApp in latest version of MSTest (#1604)
- Add fallback for logs injection for NLog versions < 4.1.0 (#1607)
- Fix PInvokes to the native lib on non windows os. (#1612)
- Add fix for log injection with log4net.Ext.Json versions < 2.0.9.1 (#1615)
- Fix CIApp Feature Tracking (#1616)
- Fixes the dd-trace exit code always returning 0 (#1621)
- Preserve the task cancelled state when using calltarget instrumentation (#1634)
- Add better error handling for the Header Tags feature accessing System.Web.HttpResponse.Headers (#1641)
Build / Test
- Switch to Nuke consolidated pipeline (#1595, #1587, #1598, #1605)
- Add a custom test framework to monitor execution of unit tests (#1572)
- Add analyzer project + ThreadAbortAnlayzer to detect inifinte loops on ThreadAbortException (#1325, #1619)
- Add ASP.NET Core on IIS Express tests (#1582)
- Split Windows regression tests and integration tests to save drive space (#1586)
- CIApp - Add support to add custom env-vars from dd-trace wrapper (#1594)
- Make the benchmark step optional (#1608)
- Add GitHub workflows for automating Release creation (#1611)
- Fix ARM64 Integration tests (#1629)
- Exclude more vendored files from code coverage (#1632)
- Add additional scrubbing for stacktraces in snapshots (#1633)
- Fix throughput tests (#1650, #1618, #1617)
1.28.1-prerelease
1.28.0
Changes
- Enable calltarget instrumentation by default on .NET 4.6+ runtimes (#1542)
- Add automatic instrumentation for Microsoft.Data.SqlClient 3.* only for calltarget instrumentation (#1579)
- Add automatic instrumentation for Cosmos Db only for calltarget instrumentation (#1473)
- Add automatic instrumentation for AWS SQS only for calltarget instrumentation (#1471)
- Improvements to the ducktyping library for the future ILogger integration (#1555, #1557, #1561)
- Reduce overhead of log injection when using older versions of Serilog (#1560)
- Upgrade spdlog to 1.4 (#1507)
- Add net5.0 support to dd-trace (#1516)
- Avoid the trace copy when flushing spans (#1502)
- Improvements to CIApp (#1503, #1533, #1554)
Fixes
- Fix a deadlock when enabling runtime metrics in a Windows service (#1564)
- Properly match runtime metrics to spans when running in a container (#1548)
- Fix log injection with Serilog when log4net is loaded (#1578)
- Fixes environment values in the logs on non windows platforms (#1581)
- Stability fixes for calltarget instrumentation when running with older runtimes (#1517)
- Fix possible race conditions when flushing spans during process exit (#1501, #1514, #1535)
- Remove unnecessary mscorlib reference (#1522)
- CIApp: Correctness and stability fixes. (#1504)
Build / Test
- Remove callsite benchmarks and set iteration time back to 2 seconds (#1511)
- Add a consolidated build pipeline based on Nuke (#1476, #1508, #1512, #1515, #1521, #1523, #1524, #1531, #1563, #1567, #1570, #1576, #1589)
- Fix flaky tests (#1526, #1566, #1573, #1585)
- Hide warnings for EOL .NET Core targets (#1569)
- Reduce dependencies between build tools and helper projects (#1568)
- Fix "PrepareRelease msi" command (#1583)
- Small ASP.NET Snapshot refactoring (#1580)
- Change clang-format to custom style (#1553, #1544)
- Add small CI fix and docker optimization (#1551)
- Upgrade non windows native builds to C++17 (#1543)
- Fix Enable32Bit flag for IIS container (#1536)
- Add an OWIN test application to the integration-tests pipeline (#1525)
- Downgrade the version of cmake used for MacOs builds (#1529)
- Delete project NugetProfilerVersionMismatch (#1520)
- Crank sample app profiler detector (#1518)
- Fix race condition in runner pipeline (#1510)
- Cleanup project files (#1499)