Skip to content

Version tagged backwards #56

@agnivade

Description

@agnivade

I am trying to update the dependency of github.com/splitio/go-client/v6. We currently have 6.1.0.

But when we try to upgrade, we see this:

go get -u github.com/splitio/go-client/v6/...
# github.com/splitio/go-split-commons/v3/service/api/sse
../../go/pkg/mod/github.com/splitio/go-split-commons/v3@v3.1.0/service/api/sse/client.go:50:31: not enough arguments in call to sse.NewClient
        have (string, number, logging.LoggerInterface)
        want (string, int, int, logging.LoggerInterface)

Looking into it, it looks like the go-split-commons library was indeed updated to match the changes in toolkit. But the version tagged was backwards.

Comparison of 3.1.0 to latest: v3.1.0...sselogs/v3

Comparison of 3.0.1 to latest: v3.0.1...sselogs/v3

So the real changes are in 3.0.1. However the Go toolchain won't obviously go backward, and therefore we cannot bump the dependency.

Steps to reproduce:

  1. clone https://github.com/mattermost/mattermost-server
  2. go get -u github.com/splitio/go-client/v6/...

Observe the above failure.

Can we fix the release versions, or perhaps make another release of 3.1.1 pointing to 9ae876a?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions