fix: correct slice length condition and bump version to v0.8.7
Some checks failed
Go / build (push) Has been cancelled
Go / release (push) Has been cancelled

- pkg/encoders/filter/filter.go
  - Updated loop condition to check slice length `> 0` instead of `>= 0`.

- pkg/version/version
  - Updated version from `v0.8.6` to `v0.8.7`.
This commit is contained in:
2025-08-18 17:17:45 +01:00
parent 4994d715f8
commit a928294234
2 changed files with 2 additions and 2 deletions

View File

@@ -259,7 +259,7 @@ func (f *F) Unmarshal(b []byte) (r []byte, err error) {
r = b[:]
var key []byte
var state int
for ; len(r) >= 0; r = r[1:] {
for ; len(r) > 0; r = r[1:] {
// log.I.ToSliceOfBytes("%c", rem[0])
switch state {
case beforeOpen:

View File

@@ -1 +1 @@
v0.8.6
v0.8.7