当前位置:网站首页>Version number naming convention
Version number naming convention
2022-06-21 12:13:00 【Summer foam and light rain】
Write it at the front :
The purpose of this article is to summarize backup 、 For future reference , Because it's a personal summary , If there is any wrong , Welcome to correct ; in addition , Most of the content comes from the Internet 、 Books 、 And all kinds of manuals , In case of infringement, please inform , Immediately delete the post and apologize .
original text :http://wsfdl.com/devops/2016/09/27/%E7%89%88%E6%9C%AC%E5%8F%B7.html#
First look at the version numbers of some common software :
- Linux Kernel: 0.0.1,1.0.0,2.6.32,3.0.18…, If use X.Y.Z Express , Then even number Y Stable version , Odd number Y Represents the development version .
- Windows:windows 98,windows 2000,windows xp,windows 7…, The biggest feature is disorder , No rules .
- SSH Client:0.9.8.
- OpenStack:2014.1.3,2015.1.1.dev8.
And you can see that , Different software version numbers have different styles , As the scale of the system grows , The more software you rely on , If the software doesn't follow a standard naming style , Easy to cause Dependency Hell. So when we release the version , The naming of the version number needs to follow some rules , among Semantic Versioning 2.0.0 A set of simple rules and conditions are defined to restrict the configuration and growth of version number . This article is based on Semantic Versionning 2.0.0 and Semantic Versioning 3.0.0 The selective arrangement publishes this number naming rule guide .
Version number naming rules guide
The format of the version number is X.Y.Z( also called Major.Minor.Patch), The rule of increment is :
- X Indicates the major version number , When API When the compatibility of ,X Need to increase .
- Y Indicates the minor version number , When adding features ( No effect API The compatibility of ),Y Need to increase .
- Z Indicates revision number , treat as Bug When repairing ( No effect API The compatibility of ),Z Need to increase .
The detailed rules are as follows :
- X, Y, Z Must be a non negative integer , And must not contain leading zeros , It has to be incremented by a number , Such as 1.9.0 -> 1.10.0 -> 1.11.0
- 0.Y.Z The version number of indicates that the software is in the initial development stage , signify API It could be unstable ;1.0.0 Indicates that the version has a stable API.
- When API When the compatibility of ,X Must be incremented ,Y and Z Also set to 0; When new features are added ( No effect API The compatibility of ) perhaps API Marked as
Deprecated when ,Y Must be incremented , meanwhile Z Set to 0; When doing bug fix when ,Z Must be incremented . - Advance version number (Pre-release) It means that the version is unstable , There may be compatibility issues , The format for :X.Y.Z.[a-c][ Positive integer ], Such as 1.0.0.a1,1.0.0.b99,1.0.0.c1000.
- The development version number is often used for CI-CD, The format is X.Y.Z.dev[ Positive integer ], Such as 1.0.1.dev4.
- Version numbers are sorted by comparing major version numbers in turn 、 Values of minor version number and revision number , Such as 1.0.0 < 1.0.1 < 1.1.1 < 2.0.0; For antecedent version number and development version number , Yes :1.0.0.a100 < 1.0.0,2.1.0.dev3 < 2.1.0; When there are letters , With ASCII To compare , Such as 1.0.0.a1 < 1.0.0.b1.
- Be careful : Once the version is released , Its contents shall not be modified , Any changes must be released in a new version !
Some of the embellishments
- alpha: Internal version
- beta: The beta
- demo: Demo version
- enhance: Enhanced version
- free: Free Edition
- full version: Full version , The official version
- lts: Long term maintenance version
- release: Distribution version
- rc: It's going to be released as an official version
- standard: The standard version
- ultimate: Flagship Edition
- upgrade: Upgraded version
边栏推荐
- 方法的繼承和重寫
- PCB电路板设计都有哪些注意事项?
- One's deceased father grind politics English average cent furnace! What is your current level?
- 浅论OCA\UV-OCA LOCA\SLOCA 四种全贴合工艺
- 南京大学 静态软件分析(static program analyzes)-- Intermediate Representation 学习笔记
- Apache shardingsphere 5.1.2 release | new driving API + cloud native deployment to create a high-performance data gateway
- 方法的继承和重写
- 知识点:PCB电路板的几种特殊布线方法
- 动手学数据分析 数据重构
- How does Huawei build a project centered project management system from 0 to 1?
猜你喜欢

WPF 使用 MAUI 的自绘制逻辑

1108. IP address invalidation

Adapter power supply automatic test equipment | introduction to charger ATE test system nsat-8000
![[Harbin Institute of technology] information sharing for the first and second examinations of postgraduate entrance examination](/img/06/df5a64441814c9ecfa2f039318496e.jpg)
[Harbin Institute of technology] information sharing for the first and second examinations of postgraduate entrance examination

Simulated 100 questions of 2022 safety officer-a certificate examination and online simulated examination

typora免费版,无需破解,安装直接使用

Chapter VIII web project testing

看懂UML类图和时序图

Snow Ice City (blackened)

2-zabbix automatically add hosts using autodiscover
随机推荐
理解RESTful架构
SSD [target detection]
1108. IP 地址无效化
These three young men are more ruthless than Ma Huateng and Zhang Yiming
Guangdong issues product testing coupons, and consumers also share
『忘了再学』Shell流程控制 — 36、for循环介绍
RPC(远程过程调用协议)
动手学数据分析 数据重构
1108. IP address invalidation
南京大学 静态软件分析(static program analyzes)-- Intermediate Representation 学习笔记
异质化社群量化研究4丨RATE OF CHANGE WITH BANDS
PCB电路板设计都有哪些注意事项?
External attention tensorflow (under update)
Apache shardingsphere 5.1.2 release | new driving API + cloud native deployment to create a high-performance data gateway
Record the errors encountered in the pytorch training model once
Typera free version, without cracking, can be installed and used directly
Rectangular coverage area
Clear the switch configuration, configure the image port and Wireshark packet capturing (take Huawei s5720 as an example)
A recovery solution of system paralysis caused by upgrading glibc of VMware virtual machine
知识点:PCB电路板的几种特殊布线方法