1Changes by Version 2================== 3 4 51.2.0 (2020-07-01) 6------------------- 7 8* Restore the ability to reset the current span in context to nil (#231) -- Yuri Shkuro 9* Use error.object per OpenTracing Semantic Conventions (#179) -- Rahman Syed 10* Convert nil pointer log field value to string "nil" (#230) -- Cyril Tovena 11* Add Go module support (#215) -- Zaba505 12* Make SetTag helper types in ext public (#229) -- Blake Edwards 13* Add log/fields helpers for keys from specification (#226) -- Dmitry Monakhov 14* Improve noop impementation (#223) -- chanxuehong 15* Add an extension to Tracer interface for custom go context creation (#220) -- Krzesimir Nowak 16* Fix typo in comments (#222) -- meteorlxy 17* Improve documentation for log.Object() to emphasize the requirement to pass immutable arguments (#219) -- 疯狂的小企鹅 18* [mock] Return ErrInvalidSpanContext if span context is not MockSpanContext (#216) -- Milad Irannejad 19 20 211.1.0 (2019-03-23) 22------------------- 23 24Notable changes: 25- The library is now released under Apache 2.0 license 26- Use Set() instead of Add() in HTTPHeadersCarrier is functionally a breaking change (fixes issue [#159](https://github.com/opentracing/opentracing-go/issues/159)) 27- 'golang.org/x/net/context' is replaced with 'context' from the standard library 28 29List of all changes: 30 31- Export StartSpanFromContextWithTracer (#214) <Aaron Delaney> 32- Add IsGlobalTracerRegistered() to indicate if a tracer has been registered (#201) <Mike Goldsmith> 33- Use Set() instead of Add() in HTTPHeadersCarrier (#191) <jeremyxu2010> 34- Update license to Apache 2.0 (#181) <Andrea Kao> 35- Replace 'golang.org/x/net/context' with 'context' (#176) <Tony Ghita> 36- Port of Python opentracing/harness/api_check.py to Go (#146) <chris erway> 37- Fix race condition in MockSpan.Context() (#170) <Brad> 38- Add PeerHostIPv4.SetString() (#155) <NeoCN> 39- Add a Noop log field type to log to allow for optional fields (#150) <Matt Ho> 40 41 421.0.2 (2017-04-26) 43------------------- 44 45- Add more semantic tags (#139) <Rustam Zagirov> 46 47 481.0.1 (2017-02-06) 49------------------- 50 51- Correct spelling in comments <Ben Sigelman> 52- Address race in nextMockID() (#123) <bill fumerola> 53- log: avoid panic marshaling nil error (#131) <Anthony Voutas> 54- Deprecate InitGlobalTracer in favor of SetGlobalTracer (#128) <Yuri Shkuro> 55- Drop Go 1.5 that fails in Travis (#129) <Yuri Shkuro> 56- Add convenience methods Key() and Value() to log.Field <Ben Sigelman> 57- Add convenience methods to log.Field (2 years, 6 months ago) <Radu Berinde> 58 591.0.0 (2016-09-26) 60------------------- 61 62- This release implements OpenTracing Specification 1.0 (https://opentracing.io/spec) 63 64