gocqlx: 3.0.2 introduces a breaking change
Hey, I’m getting errors after updating 3.0.1 -> 3.0.2
../../go/pkg/mod/github.com/scylladb/gocqlx/v3@v3.0.2/batchx.go:26:10: b.Batch.SetHostID undefined (type *gocql.Batch has no field or method SetHostID)
../../go/pkg/mod/github.com/scylladb/gocqlx/v3@v3.0.2/queryx.go:155:10: q.Query.SetHostID undefined (type *gocql.Query has no field or method SetHostID)
Should this tag be deleted and released as v4, as it has a breaking change?
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 17
It worked just by the luck, it not supposed to be working, but since API was compatible it was working untll we have introduced and start using API that is not present in
gocql/gocql. I am closing it, there is nothing to discuss. Documentation will be updated at https://github.com/scylladb/gocqlx/issues/332Hi @max-melentyev , in 3.0.2 we bumped gocql version to 1.15.1 and it adds these new methods, are you sure you using the right gocql version?