0.5.1
Bugfixes
- [sql] remove tlsConfigRegister in MySQL DSN parser (#93 -- thanks @DanielNi!)
- [redigo] pass along the options argument in
TracedDial
(#109) - [core] use a different
Buffer
between encoding and flushing to avoid race conditions (#112)
Breaking change
- [core] fix race condition while accessing
DebugLoggingEnabled
attribute (#110). The attribute is not exported anymore, so you need to use the API setter/getter:
import 'github.com/DataDog/dd-trace-go/tracer'
// Old API
// t := tracer.DefaultTracer
// t.DebugLoggingEnabled = true
// debugFlag := t.DebugLoggingEnabled
// New API
t := tracer.DefaultTracer
t.SetDebugLogging(true)
debugFlag := t.DebugLoggingEnabled()
Improvements
- [core] add metadata about language as payload headers (#98)
- [http] add
net/http
integration (#102 -- thanks @FreekingDean!)
Project refactoring
To simplify the usage and to make easy to write new and consistent contributions, we started a global refactoring of all contrib modules. This is not a breaking change:
- improve consistency between contributions (#104)
Read the full changeset.