capnproto / go-capnp

Cap'n Proto library and code generator for Go
https://capnproto.org
Other
1.22k stars 110 forks source link

Tooling reports latest alpha version as outdated, v3.0.0-alpha-29 as current #558

Closed mologie closed 4 months ago

mologie commented 7 months ago

Due to #538, tooling such as Jetbrains GoLand, go-mod-update, etc. currently show v3.0.0-alpha-29 as latest version because it is lexicographical higher than v3.0.0-alpha.30.

Unfortunately it's not possible to retract the version either because of the following condition in go.mod:

To retract a version, a module author should add a retract directive to go.mod, then publish a new version containing that directive. The new version must be higher than other release or pre-release versions; that is, the latest version query should resolve to the new version before retractions are considered.

A future version will have to be published as v3.0.0-beta or v3.0.1-alpha to fix update checks in most go tooling.

cmackenzie1 commented 4 months ago

Hey @mologie, version v3.0.1-alpha.1 has been released and should reflect correctly in GoLand now!

https://github.com/capnproto/go-capnp/releases/tag/v3.0.1-alpha.1

mologie commented 4 months ago

It does, thank you for the heads-up!