File tree Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Expand file tree Collapse file tree 3 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ ## 🛑 Breaking changes 🛑
6
+
7
+ - Remove deprecated function ` IsValid ` from trace/span ID (#2522 )
8
+
5
9
## v0.20.0 Beta
6
10
7
11
## 🛑 Breaking changes 🛑
Original file line number Diff line number Diff line change @@ -39,12 +39,6 @@ func (t SpanID) HexString() string {
39
39
return data .SpanID (t ).HexString ()
40
40
}
41
41
42
- // IsValid returns true if id contains at leas one non-zero byte.
43
- // Deprecated: use !IsEmpty() instead.
44
- func (t SpanID ) IsValid () bool {
45
- return ! data .SpanID (t ).IsEmpty ()
46
- }
47
-
48
42
// IsEmpty returns true if id doesn't contain at least one non-zero byte.
49
43
func (t SpanID ) IsEmpty () bool {
50
44
return data .SpanID (t ).IsEmpty ()
Original file line number Diff line number Diff line change @@ -39,12 +39,6 @@ func (t TraceID) HexString() string {
39
39
return data .TraceID (t ).HexString ()
40
40
}
41
41
42
- // IsValid returns true if id contains at leas one non-zero byte.
43
- // Deprecated: use !IsEmpty() instead.
44
- func (t TraceID ) IsValid () bool {
45
- return ! data .TraceID (t ).IsEmpty ()
46
- }
47
-
48
42
// IsEmpty returns true if id doesn't contain at least one non-zero byte.
49
43
func (t TraceID ) IsEmpty () bool {
50
44
return data .TraceID (t ).IsEmpty ()
You can’t perform that action at this time.
0 commit comments