Closed andig closed 2 months ago
Great point @andig
Sorry for the trouble. Here's what we changed in response:
nhooyr.io/websocket now points to https://github.com/nhooyr/websocket-old/releases/tag/v1.8.16 which is marked as deprecated at the package level & all exported symbols so that people know to transition off it.
There will be no further updates or breakage on nhooyr.io/websocket
github.com/coder/websocket is an entirely separate module now.
Thanks for opening the issue.
Thank you. Did a quick go get -u
:
go: upgraded nhooyr.io/websocket v1.8.11 => v1.8.17
This seems great, especially since https://nhooyr.io/websocket points to Coder now. Thank you for changing this so quickly and making developer's life a bit easier!
Thanks for handling this so quickly @nhooyr and @andig I'm glad this works more conveniently now. Closing, but feel free to re-open if there are still any issues remaining.
From https://github.com/coder/websocket/pull/462:
They are easily resolvable only by adding replace directives afaikt, at least if downstream modules depend on it. As a result, this will break everybody's go.mod and will make everybody wait for downstream updates. There is no obvious reason for pulling of the "band aid".
It would imho have been much better to not update the module name. Given it is a vanity name anyway there's absolutely no need for doing so. If a rename is needed it should be for a new start instead of breaking the vanity import.
I'd suggest to retract this version and decide either way. The current solution is the worst possible. At least the vanity import should continue forwarding to the old repo.