{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T19:12:32Z","timestamp":1782846752634,"version":"3.54.5"},"reference-count":63,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100001809","name":"NSFC","doi-asserted-by":"crossref","award":["No. U2441239, 62302443 and U24A20336"],"award-info":[{"award-number":["No. U2441239, 62302443 and U24A20336"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]},{"DOI":"10.13039\/501100002858","name":"the China Postdoctoral Science Foundation","doi-asserted-by":"crossref","award":["No. 2024M762829, 2025M781523 and 2025M781522"],"award-info":[{"award-number":["No. 2024M762829, 2025M781523 and 2025M781522"]}],"id":[{"id":"10.13039\/501100002858","id-type":"DOI","asserted-by":"crossref"}]},{"name":"Zhejiang Key Laboratory of Decision Intelligence","award":["No. 2025E10006"],"award-info":[{"award-number":["No. 2025E10006"]}]},{"name":"Zhejiang Provincial Natural Science Foundation Exploration of China","award":["No. LMS26F020003"],"award-info":[{"award-number":["No. LMS26F020003"]}]},{"name":"State Key Laboratory of Cryptography and Digital Economy Security","award":["No. KFYB2504"],"award-info":[{"award-number":["No. KFYB2504"]}]},{"name":"the Zhejiang Provincial Natural Science Foundation","award":["No. LD24F020002"],"award-info":[{"award-number":["No. LD24F020002"]}]},{"name":"the Fundamental Research Funds for the Central Universities","award":["+2025ZFJH02"],"award-info":[{"award-number":["+2025ZFJH02"]}]},{"name":"the Pioneer and Leading Goose R\\\\&D Program of Zhejiang","award":["No. 2025C02033 and 2025C01082"],"award-info":[{"award-number":["No. 2025C02033 and 2025C01082"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Modern software libraries continually evolve to maintain activeness, improve performance, and enhance  \nsecurity. This evolution frequently introduces major version updates that include incompatible modifications (breaking changes), which often cause downstream projects to fail and significantly increase the effort required for maintenance. To reduce this burden on developers, recent studies propose automated approaches that leverage API characterization techniques and compilation error reports to guide LLM-based updates. However, these methods rely on static typing and compilation feedback, which are not available in dynamic languages such as JavaScript. As a result, when applied to JavaScript, they degrade to a knowledge-free setting and cannot effectively support automated dependency updates. In this paper, we propose a knowledge-based approach that mines explicit update knowledge, referred to as breaking change records, from library repositories to support automated dependency updates in the presence of breaking changes (i.e., breaking dependency updates). We first conduct an empirical investigation of how breaking change records are maintained in top-ranked  \nJavaScript libraries. Our study reveals that 83.8% of libraries maintain such records within their repositories, often spread across multiple locations. However, the quality of these records varies considerably, with issues such as implicit references to changed objects and vague adaptation instructions. To address this issue, we systematically characterize breaking change records by identifying recurring patterns in both their locations and the types of information they convey. Building on these insights, we develop BDUpdater, an agent based framework that aggregates repository sources and refines raw records into structured breaking change lists,  \nthereby mitigating the absence of API differencing tools. Leveraging this mined knowledge, BDUpdater  \npinpoints changed objects and statically identifies the affected client code, while supplying fine-grained change information to LLMs to guide accurate client code migration in the absence of compilation error messages. Our evaluation on 13 popular JavaScript libraries and 84 clients shows that BDUpdater recovers 90.5% of the breaking dependency updates with high semantic equivalence to developer-authored adaptations, while incurring an average cost of only $0.05 per client.<\/jats:p>","DOI":"10.1145\/3808116","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"2442-2464","source":"Crossref","is-referenced-by-count":0,"title":["Break to Adapt: Knowledge-Based Updates of Breaking Dependencies in JavaScript"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0005-7986-8519","authenticated-orcid":false,"given":"Yifan","family":"Xia","sequence":"first","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-1175-2753","authenticated-orcid":false,"given":"Chengwei","family":"Liu","sequence":"additional","affiliation":[{"name":"Nankai University, Tianjin, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-3264-1684","authenticated-orcid":false,"given":"Zifan","family":"Xie","sequence":"additional","affiliation":[{"name":"Chongqing University, Chongqing, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3087-9645","authenticated-orcid":false,"given":"Lyuye","family":"Zhang","sequence":"additional","affiliation":[{"name":"Nanyang Technological University, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7793-7633","authenticated-orcid":false,"given":"Peiyu","family":"Liu","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4763-7354","authenticated-orcid":false,"given":"Kangjie","family":"Lu","sequence":"additional","affiliation":[{"name":"University of Minnesota, Minneapolis, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7300-9215","authenticated-orcid":false,"given":"Yang","family":"Liu","sequence":"additional","affiliation":[{"name":"Nanyang Technological University, Singapore, Singapore"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1936-2840","authenticated-orcid":false,"given":"Wenhai","family":"Wang","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4268-372X","authenticated-orcid":false,"given":"Shouling","family":"Ji","sequence":"additional","affiliation":[{"name":"Zhejiang University, Hangzhou, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Alibaba Cloud. 2026. Qwen. https:\/\/qwen.ai\/home."},{"key":"e_1_2_1_2_1","unstructured":"Anthropic. 2026. Anthropic. https:\/\/www.anthropic.com\/."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1145\/2950290.2950325"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/3447245"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-019-09756-z"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2018.8330249"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2018.8330214"},{"key":"e_1_2_1_8_1","unstructured":"caolan contributors. 2018. Async: 'breaking: remove during make test functions in until\/whilst async.'. https: \/\/github.com\/caolan\/async\/pull\/1557."},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-021-09951-x"},{"key":"e_1_2_1_10_1","volume-title":"Conventional Commits. https:\/\/www.conventionalcommits.org\/.","author":"Conventional Commits","year":"2026","unstructured":"Conventional Commits contributors. 2026. Conventional Commits. https:\/\/www.conventionalcommits.org\/."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/ESEM.2011.36"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2000799.2000805"},{"key":"e_1_2_1_13_1","volume-title":"2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE). IEEE, 233-244","author":"Dann Andreas","year":"2023","unstructured":"Andreas Dann, Ben Hermann, and Eric Bodden. 2023. UPCY: Safely updating outdated dependencies. In 2023 IEEE\/ACM 45th International Conference on Software Engineering (ICSE). IEEE, 233-244."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2019.2918315"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1109\/SANER.2017.7884604"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9589-y"},{"key":"e_1_2_1_17_1","unstructured":"DeepSeek. 2026. Deepseek. Into the unknown. https:\/\/www.deepseek.com\/en."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1109\/MSR.2019.00061"},{"key":"e_1_2_1_19_1","first-page":"2","article-title":"How do APIs evolve? A story of refactoring","volume":"18","author":"Dig Danny","year":"2006","unstructured":"Danny Dig and Ralph Johnson. 2006. How do APIs evolve? A story of refactoring: Research Articles. J. Softw. Maint. Evol. 18, 2 (March 2006), 83-107.","journal-title":"Research Articles. J. Softw. Maint. Evol."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/3729366"},{"key":"e_1_2_1_21_1","unstructured":"GitHub. 2026. Dependabot. https:\/\/docs.github.com\/en\/code-security\/dependabot."},{"key":"e_1_2_1_22_1","unstructured":"GitHub. 2026. GitHub Advisory Database. https:\/\/github.com\/advisories."},{"key":"e_1_2_1_23_1","volume-title":"Can We Trust Tests To Automate Dependency Updates? A Case Study of Java Projects. CoRR abs\/2109.11921","author":"Hejderup Joseph","year":"2021","unstructured":"Joseph Hejderup and Georgios Gousios. 2021. Can We Trust Tests To Automate Dependency Updates? A Case Study of Java Projects. CoRR abs\/2109.11921 (2021). arXiv:2109.11921 https:\/\/arxiv.org\/abs\/2109.11921"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563768.3565548"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/2597073.2597074"},{"key":"e_1_2_1_26_1","first-page":"22","volume-title":"33rd European Conference on Object-Oriented Programming (ECOOP","volume":"134","author":"Kang Hong Jin","year":"2019","unstructured":"Hong Jin Kang, Ferdian Thung, Julia L Lawall, Gilles Muller, Lingxiao Jiang, and David Lo. 2019. Semantic patches for java program transformation. In 33rd European Conference on Object-Oriented Programming (ECOOP 2019), Vol. 134. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 22-1."},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1145\/3702991"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/3728980"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-017-9521-5"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3470133"},{"key":"e_1_2_1_31_1","volume-title":"A4: Automatically assisting Android API migrations using code examples. CoRR","author":"Lamothe Maxime","year":"2018","unstructured":"Maxime Lamothe, Weiyi Shang, and Tse-Hsun Chen. 2018. A4: Automatically assisting Android API migrations using code examples. CoRR (2018)."},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the 28th ACM joint meeting on european software engineering conference and symposium on the foundations of software engineering. 245-256","author":"Vargas Enrique Larios","year":"2020","unstructured":"Enrique Larios Vargas, Maur\u00edcio Aniche, Christoph Treude, Magiel Bruntink, and Georgios Gousios. 2020. Selecting third-party libraries: The practitioners' perspective. In Proceedings of the 28th ACM joint meeting on european software engineering conference and symposium on the foundations of software engineering. 245-256."},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3213846.3213857"},{"key":"e_1_2_1_34_1","unstructured":"Libraries.io. 2026. Libraries.io -security & maintenance data for open source. https:\/\/libraries.io\/."},{"key":"e_1_2_1_35_1","unstructured":"Lodash contributors. 2026. Lodash. A modern JavaScript utility library delivering modularity performance & extras. https:\/\/lodash.com\/."},{"key":"e_1_2_1_36_1","unstructured":"Mend. 2026. Renovate. https:\/\/www.mend.io\/renovate."},{"key":"e_1_2_1_37_1","volume-title":"European Conference on Object-Oriented Programming. https:\/\/api.semanticscholar.org\/CorpusID: 51610698","author":"Mezzetti Gianluca","year":"2018","unstructured":"Gianluca Mezzetti, Anders M\u00f8ller, and Martin Toldam Torp. 2018. Type Regression Testing to Detect Breaking Changes in Node.js Libraries. In European Conference on Object-Oriented Programming. https:\/\/api.semanticscholar.org\/CorpusID: 51610698"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3428255"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/3338906.3338940"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/3379597.3387476"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE43902.2021.00020"},{"key":"e_1_2_1_42_1","unstructured":"npm Inc. 2026. npm. Node Package Manager. https:\/\/www.npmjs.com\/."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10664-021-10052-y"},{"key":"e_1_2_1_44_1","unstructured":"OpenAI. 2026. OpenAI GPT-4.1. https:\/\/platform.openai.com\/docs\/models\/gpt-4.1."},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/1215995.1216005"},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.entcs.2006.07.022"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3652134"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.48550\/arXiv.2505.07522"},{"key":"e_1_2_1_49_1","doi-asserted-by":"publisher","DOI":"10.1145\/1806596.1806598"},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/3196321.3196341"},{"key":"e_1_2_1_51_1","doi-asserted-by":"publisher","DOI":"10.1145\/3460319.3464821"},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510205"},{"key":"e_1_2_1_53_1","unstructured":"Tom Preston-Werner. 2013. Semantic Versioning 2.0.0. https:\/\/semver.org\/."},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3576037"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2023.3243262"},{"key":"e_1_2_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/3715718"},{"key":"e_1_2_1_57_1","volume-title":"2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER). IEEE, 392-396","author":"Xavier Laerte","year":"2017","unstructured":"Laerte Xavier, Andre Hora, and Marco Tulio Valente. 2017. Why do we break APIs? first answers from developers. In 2017 IEEE 24th International Conference on Software Analysis, Evolution and Reengineering (SANER). IEEE, 392-396."},{"key":"e_1_2_1_58_1","unstructured":"Yifan Xia Chengwei Liu Zifan Xie Lyuye Zhang Peiyu Liu Kangjie Lu Yang Liu Wenhai Wang and Shouling Ji. 2026. Online appendix. https:\/\/github.com\/EvanXiaa\/BDUpdater."},{"key":"e_1_2_1_59_1","unstructured":"Yuan-An Xiao Pengfei Gao Chao Peng and Yingfei Xiong. 2025. Improving the Efficiency of LLM Agent Systems through Trajectory Reduction. arXiv:2509.23586 [cs.SE] https:\/\/arxiv.org\/abs\/2509.23586"},{"key":"e_1_2_1_60_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2007.70747"},{"key":"e_1_2_1_61_1","doi-asserted-by":"publisher","DOI":"10.1145\/3576915.3623188"},{"key":"e_1_2_1_62_1","doi-asserted-by":"publisher","DOI":"10.1145\/3551349.3556956"},{"key":"e_1_2_1_63_1","first-page":"81","article-title":"How do python framework apis evolve? an exploratory study. In 2020 ieee 27th international conference on software analysis, evolution and reengineering (saner)","author":"Zhang Zhaoxu","year":"2020","unstructured":"Zhaoxu Zhang, Hengcheng Zhu, Ming Wen, Yida Tao, Yepang Liu, and Yingfei Xiong. 2020. How do python framework apis evolve? an exploratory study. In 2020 ieee 27th international conference on software analysis, evolution and reengineering (saner). IEEE, 81-92.","journal-title":"IEEE"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808116","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:41:28Z","timestamp":1782844888000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808116"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":63,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3808116"],"URL":"https:\/\/doi.org\/10.1145\/3808116","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}