Understanding Breaking Changes in the Wild
Dhanushka Jayasuriya, Valerio Terragni, Jens Dietrich, Samuel Ou, Kelly Blincoe
摘要
Libraries assist in accelerating the development of software applications by providing reusable functionalities. Libraries and applications that declare these libraries as dependencies become their clients. However, as libraries evolve, maintaining the dependencies in client projects can be challenging if the new version contains breaking changes. Yet, limited research focuses on analyzing the impact of breaking changes on client projects when updating dependencies in the wild. Hence, we conduct an empirical analysis using Java projects built using Maven to investigate the impact of breaking changes introduced between two library versions. Our dataset included 18,415 Maven artifacts, declaring 142,355 direct dependencies, out of which 71.60% were not up-to-date. We automatically updated these dependencies and discovered that 11.58% of the dependency updates resulted in breaking changes that affected the client, and almost half of them were introduced during a non-major update. We analyzed the changes in the libraries that contributed towards these breaking changes, and our results indicate that changes in transitive dependencies were a significant factor in introducing breaking changes. We further investigated if it was common for clients to use functionalities of transitive dependencies directly without declaring them. This showed that over half of the clients use transitive functionality. Therefore, we analyzed actions suggested to resolve these breaking changes introduced by transitive dependencies under the discussions on open-source platforms, and the frequently suggested action was to exclude the transitive dependency from the project configuration.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Minimizing Breaking Changes and Redundancy in Mitigating Technical Lag for Java Projects 引用了 Understanding the Impact of APIs Behavioral Breaking Changes on Client Applications
- Minimizing Breaking Changes and Redundancy in Mitigating Technical Lag for Java Projects 引用了 UPCY: Safely Updating Outdated Dependencies
- Minimizing Breaking Changes and Redundancy in Mitigating Technical Lag for Java Projects 引用了 Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic Differencing
- Minimizing Breaking Changes and Redundancy in Mitigating Technical Lag for Java Projects 引用了 Balancing the Quality and Cost of Updating Dependencies
- Understanding the Impact of APIs Behavioral Breaking Changes on Client Applications 引用了 Detecting locations in JavaScript programs affected by breaking library changes
- Understanding the Impact of APIs Behavioral Breaking Changes on Client Applications 引用了 A large-scale empirical study on Java library migrations: prevalence, trends, and rationales
- Understanding the Impact of APIs Behavioral Breaking Changes on Client Applications 引用了 Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic Differencing
- Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks 引用了 A large-scale empirical study on Java library migrations: prevalence, trends, and rationales
- Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain Attacks 引用了 Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic Differencing
- Balancing the Quality and Cost of Updating Dependencies 引用了 UPCY: Safely Updating Outdated Dependencies
- Balancing the Quality and Cost of Updating Dependencies 引用了 Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic Differencing
引用它的顶会 Paper8
- Understanding the Impact of APIs Behavioral Breaking Changes on Client ApplicationsDhanushka Jayasuriya, Valerio Terragni, Jens Dietrich, Kelly BlincoeFSE 2024 · 8 次引用
- It's a Complete Haystack: Understanding Dependency Management Needs in Computer-Aided DesignKathy Cheng, Alison Olechowski, Shurui ZhouCSCW 2025 · 4 次引用
- Pinning Is Futile: You Need More Than Local Dependency Versioning to Defend against Supply Chain AttacksHao He, Bogdan Vasilescu, Christian KästnerFSE 2025 · 3 次引用
- Balancing the Quality and Cost of Updating DependenciesDamien Jaime, Pascal Poizat, Joyce El Haddad, Thomas DegueuleASE 2024 · 2 次引用
- Minimizing Breaking Changes and Redundancy in Mitigating Technical Lag for Java ProjectsRui Lu, Lyuye Zhang, Kaixuan Li, Min Zhang 等ICSE 2026 · 1 次引用
它引用的 Paper6
- An Empirical Study on Software Bill of Materials: Where We Stand and the Road AheadBoming Xia, Tingting Bi, Zhenchang Xing, Qinghua Lu 等ICSE 2023 · 82 次引用
- A large-scale empirical study on Java library migrations: prevalence, trends, and rationalesHao He, Runzhi He, Haiqiao Gu, Minghui ZhouFSE 2021 · 47 次引用
- Detecting locations in JavaScript programs affected by breaking library changesAnders Møller, Benjamin Barslev Nielsen, Martin Toldam TorpOOPSLA 2020 · 32 次引用
- Has My Release Disobeyed Semantic Versioning? Static Detection Based on Semantic DifferencingLyuye Zhang, Chengwei Liu, Zhengzi Xu, Sen Chen 等ASE 2022 · 30 次引用
- UPCY: Safely Updating Outdated DependenciesAndreas Dann, Ben Hermann, Eric BoddenICSE 2023 · 11 次引用
相关 Paper
- A longitudinal analysis of bloated Java dependenciesCésar Soto-Valero, Thomas Durieux, Benoit BaudryFSE 2021 · 47 次引用
- A Large-Scale Empirical Study on Semantic Versioning in Golang EcosystemWenke Li, Feng Wu, Cai Fu, Fan ZhouASE 2023 · 7 次引用
- Break to Adapt: Knowledge-Based Updates of Breaking Dependencies in JavaScriptYifan Xia, Chengwei Liu, Zifan Xie, Lyuye Zhang 等FSE 2026
- Interactive, effort-aware library version harmonizationKaifeng Huang, Bihuan Chen, Bowen Shi, Ying Wang 等FSE 2020 · 32 次引用
- REPFINDER: Finding Replacements for Missing APIs in Library UpdateKaifeng Huang, Bihuan Chen, Linghao Pan, Shuai Wu 等ASE 2021 · 14 次引用
