What Do Package Dependencies Tell Us About Semantic Versioning?

Autor: Tom Mens, Alexandre Decan
Rok vydání: 2021
Předmět:
Zdroj: IEEE Transactions on Software Engineering. 47:1226-1240
ISSN: 2326-3881
0098-5589
Popis: The semantic versioning ( $\sf{semver}$ semver ) policy is commonly accepted by open source package management systems to inform whether new releases of software packages introduce possibly backward incompatible changes. Maintainers depending on such packages can use this information to avoid or reduce the risk of breaking changes in their own packages by specifying version constraints on their dependencies. Depending on the amount of control a package maintainer desires to have over her package dependencies, these constraints can range from very permissive to very restrictive. This article empirically compares $\sf{ semver}$ semver compliance of four software packaging ecosystems (Cargo, npm, Packagist and Rubygems), and studies how this compliance evolves over time. We explore to what extent ecosystem-specific characteristics or policies influence the degree of compliance. We also propose an evaluation based on the “wisdom of the crowds” principle to help package maintainers decide which type of version constraints they should impose on their dependencies.
Databáze: OpenAIRE