-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: regression in 'ipfs dns' #10212
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there zero tests which can catch this ?
I'm having a hard time we let something like that slide.
ipfs.dns is deprecated, and broken in Kubo 0.24: ipfs/kubo#10212
ipfs.dns is deprecated, and broken in Kubo 0.24: ipfs/kubo#10212
this command used to work with domain without `/ipns/` prefix. we've switched it to the same backend as `resolve` command, which requires the prefix, so we add it if it is missing
2effc26
to
067b3e3
Compare
It seems so. This command has been deprecated for over 1 year and a half. The fact that no one complained or we didn't see things failing also shows that it's likely not used. Wouldn't be surprised if we end up removing it in some months. This command is also very hard to test! It uses DNS resolver directly and you can't override resolution via environment variables. |
ipfs.dns is deprecated, and broken in Kubo 0.24: ipfs/kubo#10212
Seems we've introduced regression to the deprecated
dns
command, it now requires/ipns/
path, which breaks every software which used it for DNSLink lookups.It was already deprecated, so no need for patch release, but let's fix it and improve helptext that is displayed at https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dns when the next release ships.
before
expected behavior (this fix)