Releases: DataDog/dd-trace-rb
1.5.1
Changed
Fixed
- Fix URI::InvalidURIError(#2310, #2318) (@yujideveloper)
- Handle URLs with invalid characters (#2311, #2319)
- Fix missing appsec.event tag (#2306)
- Fix missing Rack and Rails request body parsing for AppSec analysis (#2306)
- Fix unneeded AppSec call in a Rack context when AppSec is disabled (#2306)
- Fix spurious AppSec instrumentation (#2306)
Read the full changeset and the release [milestone](https://github.com/DataDog/dd-trace-rb/milestone/112?closed=1
1.5.0
Deprecation notice
- c.tracing.instrument :rack, { quantize: { base: ... } }will change its default from- :excludeto- :showin a future version. Voluntarily moving to- :showis recommended.
- c.tracing.instrument :rack, { quantize: { query: { show: ... } }will change its default to- :allin a future version, together with- quantize.query.obfuscatechanging to- :internal. Voluntarily moving to these future values is recommended.
See the Rack integration documentation for more details.
Added
- Feature: Single Span Sampling (#2128)
- Add query string automatic redaction (#2283)
- Use full URL in http.urltag (#2265)
- Add http.useragenttag (#2252)
- Add http.client_iptag for Rack-based frameworks (#2248)
- Ci-app: CI: Fetch committer and author in Bitrise (#2258)
Changed
- Bump allowed version of debase-ruby_core_source to include v0.10.17 (#2267)
Fixed
- Bug: Fix service_namtypo toservice_name(#2296)
- Bug: Check AppSec Rails for railties instead of rails meta gem (#2293) (@seuros)
- Ci-app: Correctly extract commit message from AppVeyor (#2257)
Read the full changeset and the release milestone.
1.4.2
Fixed
OpenTracing context propagation (#2191, #2289)
Read the full changeset and the release milestone.
1.4.1
1.4.0
1.3.0
Added
- Top-level span being tagged to avoid duplicate computation (#2138)
Changed
- ActiveSupport: Optionally disable tracing with Rails (@marcotc)
- Rack: Resource overwritten by nested application (#2180)
- Rake: Explicit task instrumentation to prevent memory bloat (#2174)
- Sidekiq and DelayedJob: Add spans to improve tracing (#2170)
- Drop Profiling support for Ruby 2.1 (#2140)
- Migrate libddprofdependency tolibdatadog(#2061)
Fixed
- Fix OpenTracing propagation with TraceDigest (#2201)
- Fix SpanFilter dropping descendant spans (#2074)
- Redis: Fix Empty pipelined span being dropped (#757) (@sponomarev)
- Fix profiler not restarting on Process.daemon(#2150)
- Fix setting service from Rails configuration (#2118) (@agrobbin)
- Some document and development improvement (@marocchino) (@yukimurasawa)
Read the full changeset and the release milestone.
1.2.0
Added
- Add Postgres (pggem) instrumentation (#2054) (@jennchenn)
- Add env var for debugging profiling native extension compilation issues (#2069)
- Teach Rest Client integration the :split_by_domainoption (#2079) (@agrobbin)
- Allow passing request_queuing option to Rack through Rails tracer (#2082) (@KieranP)
- Add Utility to Collect Platform Information (#2097) (@jennchenn)
- Add convenient interface for getting and setting tags using []and[]=respectively (#2076) (@ioquatix)
- Add b3 metadata in grpc (#2110) (@henrich-m)
Changed
- Profiler now reports profiling data using the libddprof gem (#2059)
- Rename Kernel#at_fork_blocksmonkey patch toKernel#ddtrace_at_fork_blocks(#2070)
- Improved error message for enabling profiling when pkg-configsystem tool is not installed (#2134)
Fixed
- Prevent errors in action_controllerintegration when tracing is disabled (#2027) (@ahorner)
- Fix profiler not building on ruby-head (3.2) due to VM refactoring (#2066)
- Span and trace IDs should not be zero (#2113) (@albertvaka)
- Fix object_id usage as thread local key (#2096)
- Fix profiling not working on Heroku and AWS Elastic Beanstalk due to linking issues (#2125)
Read the full changeset and the release milestone.
1.1.0
Application Security Monitoring for Ruby has reached General Availability.
Information on how to enable security monitoring in your Ruby application can be found here. Further configuration is available here.
Added
- Application Security Monitoring
- Elasticsearch: v8.0 support (#1985)
- Sidekiq: Quantize args (#1972) (@dudo)
- Profiling: Add libddprof dependency to power the new Ruby profiler (#2028)
- Helper to easily enable core dumps (#2010)
Changed
- Support spaces in environment variable DD_TAGS (#2011)
Fixed
1.0.0
Upgrading
If you are using automatic instrumentation and mostly default configurations, you only need to update the version of ddtrace.
If you use custom instrumentation, additional configuration options, or have advanced usages, check out the upgrade guide for all upgrading details.
Highlights
This release brings semantic versioning to ddtrace.
There are countless improvements since v0.54.2. Many defaults that have been updated to facilitate the onboarding experience and clean up your configuration file.
For a comprehensive guide when upgrading from 0.x to 1.0, see: https://github.com/DataDog/dd-trace-rb/blob/master/docs/UpgradeGuide.md
A special thank you goes to our 136 contributors, most of them not members of Datadog! 🙇
Changes since v1.0.0.beta2
Added
- GraphQL 2.0 support (#1982)
Changed
- AppSec: Update libddwaf to 1.3.0 (#1981)
Fixed
- Rails log correlation (#1989) (@cwoodcox)
- Resource not inherited from lazily annotated spans (#1983)
- AppSec: Query address for libddwaf (#1990)
Refactored
- Docs: Add undocumented Rake option (#1980) (@ecdemis123)
- Improvements to test suite & CI (#1970, #1974, #1991)
- Improvements to documentation (#1984)
Read the full changeset and the release milestone.
1.0.0.beta2
For upgrading from 0.x to 1.0, see our upgrade guide: https://github.com/DataDog/dd-trace-rb/blob/master/docs/UpgradeGuide.md
Added
Changed
- Access to configuration settings is namespaced (#1922)
- AWS provides metrics by default (#1976) (@dudo)
- Update debase-ruby_core_sourceversion (#1964)
- Profiling: Hide symbols/functions in native extension (#1968)
- Profiling: Renamed code_provenance.json to code-provenance.json (#1919)
- AppSec: Update libddwaf to v1.2.1 (#1942)
- AppSec: Update rulesets to v1.3.1 (#1965, #1961, #1937)
- AppSec: Avoid exception on missing ruleset file (#1948)
- AppSec: Env var consistency (#1938)
Fixed
- Rake instrumenting while disabled (#1940, #1945)
- Grape instrumenting while disabled (#1940, #1943)
- CI: require 'datadog/ci' not loading dependencies (#1911)
- CI: RSpec shared example file names (#1816) (@Drowze)
- General documentation improvements (#1958, #1933, #1927)
- Documentation fixes & improvements to 1.0 upgrade guide (#1956, #1973, #1939, #1914)
Removed
Refactored
Read the full changeset and the release milestone.