Title :
Semantic Versioning versus Breaking Changes: A Study of the Maven Repository
Author :
Raemaekers, Steven ; Van Deursen, Arie ; Visser, Joost
Author_Institution :
Software Improvement Group, Amsterdam, Netherlands
Abstract :
For users of software libraries or public programming interfaces (APIs), backward compatibility is a desirable trait. Without compatibility, library users will face increased risk and cost when upgrading their dependencies. In this study, we investigate semantic versioning, a versioning scheme which provides strict rules on major versus minor and patch releases. We analyze seven years of library release history in Maven Central, and contrast version identifiers with actual incompatibilities. We find that around one third of all releases introduce at least one breaking change, and that this figure is the same for minor and major releases, indicating that version numbers do not provide developers with information in stability of interfaces. Additionally, we find that the adherence to semantic versioning principles has only marginally increased over time. We also investigate the use of deprecation tags and find out that methods get deleted without applying deprecated tags, and methods with deprecated tags are never deleted. We conclude the paper by arguing that the adherence to semantic versioning principles should increase because it provides users of an interface with a way to determine the amount of rework that is expected when upgrading to a new version.
Keywords :
configuration management; software libraries; Maven Repository; contrast version identifiers; deprecation tags; library release history; major patch releases; minor patch releases; semantic versioning principles; software libraries; version numbers; Distributed databases; Electronic mail; Java; Semantics; Software; Software libraries; Semantic versioning; Software libraries;
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2014 IEEE 14th International Working Conference on
Conference_Location :
Victoria, BC
DOI :
10.1109/SCAM.2014.30