Example Analysis of composer dependent version symbol ~, ^
The purpose of this article is to share with you the content of the example analysis of the composer dependent version symbol ~, ^. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Version format: major version number. The second edition number. Revision number, version number increment rules are as follows:
Major version number: when you make incompatible API changes
Minor version number: when you have made downward compatible functional additions
Revision number: when you make a downward compatible problem fix.
The previous version number and version compilation metadata can be added to the major version number. minor version number. after the revision number, as an extension.
Semantic version 2.0.0 https://semver.org/lang/zh-CN/
~ indicates that the version number can only be changed at the end of the segment (y at the end of ~ x.y and z at the end of ~ x.y.z)
~ 1.2.3 represents 1.2.3