ITADN

[Bug]: Voyager server uses invalid semver version in nodeinfo

#6517OpenMV-GH 创建于 2026-05-24
bug
M
MV-GHcommented
### Requirements - [x] Is this a bug report? For questions or discussions use https://lemmy.ml/c/lemmy_support or the [matrix chat](https://matrix.to/#/#lemmy:matrix.org). - [x] Did you check to see if this issue already exists? - [x] Is this only a single bug? Do not put multiple bugs in one issue. - [x] Do you agree to follow the rules in our [Code of Conduct](https://join-lemmy.org/docs/code_of_conduct.html)? - [x] Is this a backend issue? Use the [lemmy-ui](https://github.com/LemmyNet/lemmy-ui) repo for UI / frontend issues. ### Summary Currently voyager.lemmy.ml returns `nightly-2026-05-23` as version. This isn't a valid semver. I need the version to be at least something like `1.0.0-nightly-2026-05-23` My lemmyApi uses this version to determine how to swap between clients. If i can't read the version, I don't know which client I can use to interpret the JSON. https://voyager.lemmy.ml/nodeinfo/2.1 ```json {"version":"2.1","software":{"name":"lemmy","version":"nightly-2026-05-23","repository":"https://github.com/LemmyNet/lemmy","homepage":"https://join-lemmy.org/"},"protocols":["activitypub"],"usage":{"users":{"total":49,"activeHalfyear":31,"activeMonth":31},"localPosts":41,"localComments":56},"openRegistrations":true,"services":{"inbound":[],"outbound":[]},"metadata":{}} ``` ### Steps to Reproduce 1. go to https://voyager.lemmy.ml/nodeinfo/2.1 ### Technical Details n/a ### Version 1.0.0 ### Lemmy Instance URL voyager.lemmy.ml
0 条评论