TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Semantic Versioning 2.0 (2013)

42 点作者 gorenb超过 1 年前

11 条评论

OJFord超过 1 年前
It&#x27;s really unclear from the submission here (no date in TFA either!) but v2 was &#x27;released&#x27; 10y ago fwiw.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;semver&#x2F;semver&#x2F;commit&#x2F;9eca13516c58f0e9456cb2accce266fce330aaa6">https:&#x2F;&#x2F;github.com&#x2F;semver&#x2F;semver&#x2F;commit&#x2F;9eca13516c58f0e9456c...</a>
评论 #37759417 未加载
评论 #37759451 未加载
steveklabnik超过 1 年前
Hey folks! Don&#x27;t know why this is here. Hasn&#x27;t been many changes to semver lately. I would like to get some going, but been pretty burned out after Rust. I&#x27;d love to bring the spec in line with the implementations, so it&#x27;s gonna be a change in theory but not in practice.<p>Happy to answer any questions but won&#x27;t be around the thread for a bit.
评论 #37765907 未加载
评论 #37759808 未加载
评论 #37760352 未加载
评论 #37759792 未加载
xjia超过 1 年前
Diff between 1.0.0 and 2.0.0<p><a href="https:&#x2F;&#x2F;github.com&#x2F;semver&#x2F;semver&#x2F;compare&#x2F;v1.0.0...v2.0.0">https:&#x2F;&#x2F;github.com&#x2F;semver&#x2F;semver&#x2F;compare&#x2F;v1.0.0...v2.0.0</a>
评论 #37760106 未加载
andrewguy9超过 1 年前
<a href="https:&#x2F;&#x2F;youtu.be&#x2F;oyLBGkS5ICk?si=F7R2thY7vkNbbo3a&amp;t=1800" rel="nofollow noreferrer">https:&#x2F;&#x2F;youtu.be&#x2F;oyLBGkS5ICk?si=F7R2thY7vkNbbo3a&amp;t=1800</a><p>The semantics of semantic versioning: you might be screwed
评论 #37760135 未加载
评论 #37761622 未加载
jonmayer超过 1 年前
It&#x27;s 2023 and I&#x27;m still losing the battle in the workplace to build semantic versioning into each of our APIs.<p>them: &quot;Don&#x27;t worry, we compile the git commit hash in. Sometimes.&quot; me: <i>silent sobbing</i>
koriym超过 1 年前
2.0.0... Which means they are breaking backward compatibility too.
评论 #37759965 未加载
评论 #37759484 未加载
评论 #37759569 未加载
ljm超过 1 年前
Outside of dependencies, application code is basically<p><pre><code> 1.{infinitely_incrementing_integer} </code></pre> How many application APIs expose v2, v3, v4? You just append to v1 and add proxies to map old APIs to new ones.
评论 #37759462 未加载
评论 #37759463 未加载
RakutenSatori超过 1 年前
The main difference appears to be about deprecation.<p>From<p>&gt; Minor version Y (x.Y.z | x &gt; 0) MUST be incremented if new, backwards compatible functionality is introduced to the public API. It MAY be incremented..<p>To<p>&gt; It MUST be incremented if any public API functionality is marked as deprecated.<p>Plus a new section on how to handle deprecating functionality.
aidenn0超过 1 年前
I just wish so many libraries didn&#x27;t get compliance with SemVer by never releasing a 1.0.0
tekla超过 1 年前
The worst apart about SemVer is that people expect that anything that LOOKS like SemVer follows the SemVer spec, however mediocre it may be. SemVer doesn&#x27;t count as an Engineering spec, its a bunch of arbitrary shit that you can or not follow, and has absolutely no meaning or enforcement.
评论 #37760858 未加载
avodonosov超过 1 年前
The main problem remains not solved: <a href="https:&#x2F;&#x2F;github.com&#x2F;semver&#x2F;semver&#x2F;issues&#x2F;771">https:&#x2F;&#x2F;github.com&#x2F;semver&#x2F;semver&#x2F;issues&#x2F;771</a>
评论 #37759441 未加载
评论 #37759436 未加载
评论 #37759497 未加载