Repository navigation
docs(release): finalize the 2026.7.27.0 notes - #411
Merged
Merged
Conversation
Version identity is the date alone; `x.y.z` is retired rather than kept alongside as a machine-readable form. The note now carries the verification instead of the earlier worry: `version_key_greater` compares components numerically, so [2026,7,27,0] beats [0,4,68] on the first one and every released client sees the upgrade. A unit test pins it against the real comparator. It also records the reason leading zeros are forbidden, which only surfaced while writing that test: when every component ties the comparator falls back to a lexicographic tiebreak to keep the order total, so the two spellings are two distinct keys rather than one -- and `latest` between them would be decided by string bytes. Adds `type = "files"` to the user-visible list.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
纯文档。把发布说明对齐到最终的日期式版本标识。
版本标识
x.y.z停用,改为2026.7.27.0(年.月.日.当日序号,月日不补零)。早先的文档版本保留了 semver 作为"机器可读版本"、日期仅作标签,理由是担心老客户端无法比较。查证后该顾虑不成立,已改为日期即版本:
单元测试
XvmDateVersioning对真实比较器断言,覆盖 0.4.68 / 0.4.69 / 0.4.70 / 1.2.3。不补零的真正理由(写测试时才发现)
比较器在各段数值全等时会退到字符串 tiebreak 以保持全序(
sort要求)。所以:比原先文档里"观感一致"的理由硬得多。测试钉住了这一点。
另外
用户可见变化表加上
type = "files"资产声明。