Skip to content

chore: publish an up-to-date go library #1271

@nicobao

Description

@nicobao

Background

I tried go-waku by adding it to my go project with go get github.com/waku-org/go-waku , but it loads v0.9.0 which dates back to 2023, while the latest commit is 3 days ago.

Besides, this old version contains an old version of quic-go that was not compatible with the latest version of go (1.23.2):

± |main {3} U:7 ?:2 ✗| → go run main.go 

# github.com/quic-go/quic-go/internal/qtls
../../../../go/pkg/mod/github.com/quic-go/[email protected]/internal/qtls/go121.go:5:13: cannot use "The version of quic-go you're using can't be built on Go 1.21 yet. For more details, please see https://github.com/quic-go/quic-go/wiki/quic-go-and-Go-versions." (untyped string constant "The version of quic-go you're using can't be built on Go 1.21 yet. F...) as int value in variable declaration

Details

Could you publish the latest version or at least explain how I can do so? Currently the documentation does not reflect that the library is out of date: https://github.com/waku-org/go-waku/blob/master/docs/api/lightpush.md

Acceptance criteria

go get github.com/waku-org/go-waku should import the latest version of the source code, not a version from more than a year ago.
The documentation on library usage should be in sync with the status of the codebase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions