Start following semantic versioning

未关闭
#56,916 20 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
领域
release

调研方向

该 issue 没有指定任何文件、测试或入口点。请先阅读现有讨论以及项目的 release/versioning 流程;要完成这项工作,需要先就采用 Semantic Versioning 达成一致的计划,而不是进行局部代码更改。

由索引模型根据 Issue 内容生成。

描述

Discussion
🔍 Search Terms

semantic versioning

✅ Viability Checklist
⭐ Suggestion

Start following semantic versioning from now on.

I know TypeScript currently doesn't follow semantic versining, and push breaking changes for every minor version. I could not find any mention as to why it is the case.

There is no reason TypeScript cannot follow semantic versioning. There is simply no other major library that doesn't follow semantic versioning in NPM ecosystem. There is also no problem with pushing major version every other months. It just means the version will be incrementing a lot quicker. It means it follows the ecosystem's standard and more predictable for a lot of people.

📃 Motivating Example
  • Version update is more predictable and follows standard of the Node.js/npm ecosystem.
  • You no longer have to change ^x.y.z to ~x.y.z every time you run npm i -D typescript
💻 Use Cases
  1. What do you want to use this for?
    • More predictable and standard versioning when installing TypeScript
  2. What shortcomings exist with current approaches?
    • Non-standard versioning in the ecosystem
  3. What workarounds are you using in the meantime?
    • Change ^ to ~ in the version specifier
主要语言
Go
星标
111k
派生
14.4k
平均合并
1 天 19 小时
30 天内合并 PR
117

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

microsoft/TypeScript 的其他 Issue

查看 microsoft/TypeScript 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。